- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testOverflows (0.12 sec)
-
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
* version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e. */ public void testNulls() {} public void testOverflows() { LongAdder longAdder = new LongAdder(); longAdder.add(Long.MAX_VALUE); assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE); longAdder.add(1); // silently overflows; is this a bug?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 04:11:29 UTC 2019 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LongAdderTest.java
* version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e. */ public void testNulls() {} public void testOverflows() { LongAdder longAdder = new LongAdder(); longAdder.add(Long.MAX_VALUE); assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE); longAdder.add(1); // silently overflows; is this a bug?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 04:11:29 UTC 2019 - 1.4K bytes - Viewed (0)