- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGetAndAccumulateWithMax (0.56 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertBitEquals(x + y, a.get()); } } } /** getAndAccumulate with max stores max of given value to current, and returns previous value */ public void testGetAndAccumulateWithMax() { for (double x : VALUES) { for (double y : VALUES) { AtomicDouble a = new AtomicDouble(x); double z = a.getAndAccumulate(y, Double::max); double expectedMax = max(x, y);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertBitEquals(x + y, aa.get(i)); } } } } /** getAndAccumulate with max stores max of given value to current, and returns previous value */ public void testGetAndAccumulateWithMax() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { for (double x : VALUES) { for (double y : VALUES) { aa.set(i, x);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0)