golang.org/x/exp/rand.Rand.src (field)
9 uses
golang.org/x/exp/rand (current package)
rand.go#L38: src Source
rand.go#L53: return &Rand{src: src}
rand.go#L59: if lk, ok := r.src.(*LockedSource); ok {
rand.go#L64: r.src.Seed(seed)
rand.go#L69: func (r *Rand) Uint64() uint64 { return r.src.Uint64() }
rand.go#L72: func (r *Rand) Int63() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
rand.go#L217: if lk, ok := r.src.(*LockedSource); ok {
rand.go#L220: return read(p, r.src, &r.readVal, &r.readPos)
rand.go#L252: var _ *PCGSource = globalRand.src.(*LockedSource).src
![]() |
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. |