golang.org/x/exp/rand.Rand.Uint64n (method)
5 uses
golang.org/x/exp/rand (current package)
rand.go#L91: func (r *Rand) Uint64n(n uint64) uint64 {
rand.go#L117: return int64(r.Uint64n(uint64(n)))
rand.go#L127: return int32(r.Uint64n(uint64(n)))
rand.go#L137: return int(r.Uint64n(uint64(n)))
rand.go#L153: f := float64(r.Uint64n(1<<53)) / (1 << 53)
![]() |
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. |