Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for branchFreeLtInt (0.07 sec)

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

          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + ((x - y) >>> (Integer.SIZE - 1));
        }
        return tmp;
      }
    
      @Benchmark
      int branchFreeLtInt(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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
Back to top