- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAdjustTimers (0.63 sec)
-
src/time/sleep_test.go
} } if fail > 0 { t.Errorf("%d failures", fail) } } // Test that rapidly moving timers earlier and later doesn't cause // some of the sleep times to be lost. // Issue 47762 func TestAdjustTimers(t *testing.T) { var rnd = rand.New(rand.NewSource(Now().UnixNano())) timers := make([]*Timer, 100) states := make([]int, len(timers)) indices := rnd.Perm(len(timers)) for len(indices) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0)