math/rand.Rand.Int31 (method)
5 uses
math/rand (current package)
rand.go#L99: func (r *Rand) Int31() int32 { return int32(r.Int63() >> 32) }
rand.go#L131: return r.Int31() & (n - 1)
rand.go#L134: v := r.Int31()
rand.go#L136: v = r.Int31()
rand.go#L319: func Int31() int32 { return globalRand.Int31() }
![]() |
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. |