math/rand/v2.Rand.Shuffle (method)
3 uses
math/rand/v2 (current package)
rand.go#L226: r.Shuffle(len(p), func(i, j int) { p[i], p[j] = p[j], p[i] })
rand.go#L233: func (r *Rand) Shuffle(n int, swap func(i, j int)) {
rand.go#L350: func Shuffle(n int, swap func(i, j int)) { globalRand.Shuffle(n, swap) }
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |