Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for longEqualUnsafe (0.23 sec)

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

      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastJava(int reps) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastJava(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
Back to top