math/rand.Rand.src (field)
8 uses
math/rand (current package)
rand.go#L52: src Source
rand.go#L69: return &Rand{src: src, s64: s64}
rand.go#L75: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L80: r.src.Seed(seed)
rand.go#L85: func (r *Rand) Int63() int64 { return r.src.Int63() }
rand.go#L261: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L264: return read(p, r.src, &r.readVal, &r.readPos)
rand.go#L296: var _ *rngSource = 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. |