go/src/time
Russ Cox 719c7b03ba testing/quick: generate all possible int64, uint64 values
When generating a random int8, uint8, int16, uint16, int32, uint32,
quick.Value chooses among all possible values.

But when generating a random int64 or uint64, it only chooses
values in the range [-2⁶², 2⁶²) (even for uint64).
It should, like for all the other integers, use the full range.

If it had, this would have caught #19807 earlier.
Instead it let us discover the presence of #19809.

While we are here, also make the default source of
randomness not completely deterministic.

Fixes #19808.

Change-Id: I070f852531c92b3670bd76523326c9132bfc9416
Reviewed-on: https://go-review.googlesource.com/39152
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2017-04-03 14:01:25 +00:00
..
example_test.go time: improve Truncate and Round documentation 2016-09-12 22:07:17 +00:00
export_android_test.go
export_test.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
export_windows_test.go
format.go time: format negative monotonic times correctly in Time.String 2017-02-09 02:41:15 +00:00
format_test.go testing/quick: generate all possible int64, uint64 values 2017-04-03 14:01:25 +00:00
genzabbrs.go
internal_test.go
mono_test.go time: strip monotonic time in t.Round, t.Truncate 2017-03-02 13:52:08 +00:00
sleep.go time: update Timer.Stop doc to account for AfterFunc 2016-11-11 19:25:24 +00:00
sleep_test.go
sys_plan9.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
sys_unix.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
sys_windows.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
tick.go
tick_test.go
time.go time: test and fix Time.Round, Duration.Round for d > 2⁶² 2017-03-31 20:39:58 +00:00
time_test.go time: test and fix Time.Round, Duration.Round for d > 2⁶² 2017-03-31 20:39:58 +00:00
zoneinfo.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android.go
zoneinfo_android_test.go
zoneinfo_ios.go
zoneinfo_plan9.go time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
zoneinfo_read.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
zoneinfo_test.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
zoneinfo_unix.go
zoneinfo_windows.go time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
zoneinfo_windows_test.go