func flag.Int
7 uses
flag (current package)
flag.go#L675: func Int(name string, value int, usage string) *int {
golang.org/x/pkgsite/cmd/frontend
main.go#L34: workers = flag.Int("workers", 10, "number of concurrent requests to the fetch service, when running locally")
golang.org/x/pkgsite/cmd/worker
main.go#L39: workers = flag.Int("workers", 10, "number of concurrent requests to the fetch service, when running locally")
testing
testing.go#L290: memProfileRate = flag.Int("test.memprofilerate", 0, "set memory allocation profiling `rate` (see runtime.MemProfileRate)")
testing.go#L293: blockProfileRate = flag.Int("test.blockprofilerate", 1, "set blocking profile `rate` (see runtime.SetBlockProfileRate)")
testing.go#L295: mutexProfileFraction = flag.Int("test.mutexprofilefraction", 1, "if >= 0, calls runtime.SetMutexProfileFraction()")
testing.go#L300: parallel = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "run at most `n` tests in parallel")
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |