math/rand.Rand.Intn (method)
3 uses
math/rand (current package)
rand.go#L178: func (r *Rand) Intn(n int) int {
rand.go#L237: j := r.Intn(i + 1)
rand.go#L453: func Intn(n int) int { return globalRand().Intn(n) }
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |