Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for noMulOverflow (0.19 sec)

  1. 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
Back to top