- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExpFloat64 (0.71 sec)
-
cmd/dynamic-timeouts_test.go
timeout := newDynamicTimeout(time.Minute, time.Second) rand.Seed(0) initial := timeout.Timeout() for try := 0; try < 10; try++ { testDynamicTimeoutAdjust(t, timeout, rand.ExpFloat64) } adjusted := timeout.Timeout() if initial <= adjusted { t.Errorf("Failure to decrease timeout, expected %v to be less than %v", adjusted, initial) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 5.4K bytes - Viewed (0)