-
- Downloads
math/rand: make calls to Seed no-op
Makes calls to the global Seed a no-op. The GODEBUG=randseednop=0 setting can be used to revert this behavior. Fixes #67273 Change-Id: I79c1b2b23f3bc472fbd6190cb916a9d7583250f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/606055 Auto-Submit: Cherry Mui <cherryyz@google.com> Reviewed-by:Cherry Mui <cherryyz@google.com> Reviewed-by:
Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Showing
- doc/godebug.md 7 additions, 0 deletionsdoc/godebug.md
- doc/next/6-stdlib/99-minor/math/rand/67273.md 3 additions, 0 deletionsdoc/next/6-stdlib/99-minor/math/rand/67273.md
- src/internal/godebugs/table.go 1 addition, 0 deletionssrc/internal/godebugs/table.go
- src/math/rand/rand.go 11 additions, 0 deletionssrc/math/rand/rand.go
- src/math/rand/rand_test.go 36 additions, 0 deletionssrc/math/rand/rand_test.go
- src/runtime/metrics/doc.go 4 additions, 0 deletionssrc/runtime/metrics/doc.go
Please register or sign in to comment