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 time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
export_test.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
export_windows_test.go time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
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 time: genzabbrs.go skips Feb when checking months 2016-06-09 15:31:08 +00:00
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 all: single space after period. 2016-03-02 00:13:47 +00:00
tick_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
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 time: always use $GOROOT/lib/time/zoneinfo.zip with genzabbrs.go 2016-08-28 02:51:07 +00:00
zoneinfo_android.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
zoneinfo_android_test.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
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 time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
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 time: handle localized time zone names 2015-08-26 04:40:59 +00:00