Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for diffLastUnsafe (0.35 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      void diffLastJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top