Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isPrime (0.04 seconds)

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

          int j = i & ARRAY_MASK;
          tmp += IntMath.binomial(factorial[j], binomial[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int isPrime(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (IntMath.isPrime(positive[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += IntMath.binomial(factorial[j], binomial[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int isPrime(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (IntMath.isPrime(positive[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top