- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Empirically (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// being resumed. To avoid a flake in this scenario, calculate how long that thread actually // waited and assert based on that time. Empirically, the race where the thread ends up waiting // for 5.5 seconds happens about 2% of the time. boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
Ordering<Object> arbitrary = Ordering.arbitrary(); Object[] array = {1, "foo", new Object()}; // There's no way to tell what the order should be except empirically sort(array, arbitrary); testExhaustively(arbitrary, array); } /** * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs * version of min/max.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
Ordering<Object> arbitrary = Ordering.arbitrary(); Object[] array = {1, "foo", new Object()}; // There's no way to tell what the order should be except empirically sort(array, arbitrary); testExhaustively(arbitrary, array); } /** * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs * version of min/max.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
src/bytes/bytes.go
// larger chunks as the source of the write, as when the source // is too large we are basically just thrashing the CPU D-cache. // So if the result length is larger than an empirically-found // limit (8KB), we stop growing the source string once the limit // is reached and keep reusing the same source string - that // should therefore be always resident in the L1 cache - until we
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)