math/rand.lockedSource.src (field)
8 uses
math/rand (current package)
rand.go#L293: var globalRand = New(&lockedSource{src: NewSource(1).(*rngSource)})
rand.go#L296: var _ *rngSource = globalRand.src.(*lockedSource).src
rand.go#L384: src *rngSource
rand.go#L389: n = r.src.Int63()
rand.go#L396: n = r.src.Uint64()
rand.go#L403: r.src.Seed(seed)
rand.go#L410: r.src.Seed(seed)
rand.go#L418: n, err = read(p, r.src, readVal, readPos)
![]() |
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. |