Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isPrime (0.05 sec)

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

          tmp += LongMath.binomial(binomialArguments[j][0], binomialArguments[j][1]);
        }
        return tmp;
      }
    
      @Benchmark
      int isPrime(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (LongMath.isPrime(positive[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

          tmp += LongMath.binomial(binomialArguments[j][0], binomialArguments[j][1]);
        }
        return tmp;
      }
    
      @Benchmark
      int isPrime(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (LongMath.isPrime(positive[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  3. 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;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
Back to top