-
Dmitri Popov authored
Do not throw away the rest of Int63 value used for generation random bytes. Save it in Rand struct and re-use during the next Read call. Fixes #16124 Change-Id: Ic70bd80c3c3a6590e60ac615e8b3c2324589bea3 Reviewed-on: https://go-review.googlesource.com/24251Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
8d966bad
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
example_test.go | ||
exp.go | ||
normal.go | ||
rand.go | ||
rand_test.go | ||
regress_test.go | ||
rng.go | ||
zipf.go |