Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ternaryLtIntAddInsideTernary (0.34 sec)

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

          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + ((x < y) ? 1 : 0);
        }
        return tmp;
      }
    
      @Benchmark
      int ternaryLtIntAddInsideTernary(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
Back to top