12 lines · 322 B · Go
RawDownload
// Package debug contains functions for dealing with runtime/debug functions across go versionspackage debug import (	"runtime/debug") // SetGCPercent calls the runtime/debug.SetGCPercent function to set the garbage// collection percentage.func SetGCPercent(percent int) int {	return debug.SetGCPercent(percent)}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t