- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for noAddOverflow (0.11 sec)
-
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
return LongMath.binomial(n, k); } @Override public boolean noAddOverflow(int a, int b) { try { int unused = IntMath.checkedAdd(a, b); return true; } catch (ArithmeticException e) { return false; } } @Override public boolean noAddOverflow(long a, long b) { try { long unused = LongMath.checkedAdd(a, b);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 6.9K bytes - Viewed (0)