math/rand.Rand.Int31 (method)
5 uses
math/rand (current package)
rand.go#L110: func (r *Rand) Int31() int32 { return int32(r.Int63() >> 32) }
rand.go#L142: return r.Int31() & (n - 1)
rand.go#L145: v := r.Int31()
rand.go#L147: v = r.Int31()
rand.go#L435: func Int31() int32 { return globalRand().Int31() }
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. |