Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeConstruct (0.1 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
    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