Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noMulOverflow (0.14 sec)

  1. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

              return false;
            }
          }
    
          @Override
          public boolean noMulOverflow(int a, int b) {
            try {
              int unused = IntMath.checkedMultiply(a, b);
              return true;
            } catch (ArithmeticException e) {
              return false;
            }
          }
    
          @Override
          public boolean noMulOverflow(long a, long b) {
            try {
              long unused = LongMath.checkedMultiply(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)
Back to top