Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cluster2 (0.15 sec)

  1. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

          counter1.recordEviction();
        }
    
        SimpleStatsCounter counter2 = new SimpleStatsCounter();
        for (int i = 0; i < 27; i++) {
          counter2.recordHits(1);
        }
        for (int i = 0; i < 31; i++) {
          counter2.recordLoadSuccess(i);
          totalLoadTime += i;
        }
        for (int i = 0; i < 37; i++) {
          counter2.recordLoadException(i);
          totalLoadTime += i;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

          counter1.recordEviction();
        }
    
        SimpleStatsCounter counter2 = new SimpleStatsCounter();
        for (int i = 0; i < 27; i++) {
          counter2.recordHits(1);
        }
        for (int i = 0; i < 31; i++) {
          counter2.recordLoadSuccess(i);
          totalLoadTime += i;
        }
        for (int i = 0; i < 37; i++) {
          counter2.recordLoadException(i);
          totalLoadTime += i;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        }
        try {
          closingFuture.transformAsync(
              new AsyncClosingFunction<String, String>() {
                @Override
                public ClosingFuture<String> apply(DeferredCloser closer2, String v) throws Exception {
                  return ClosingFuture.from(immediateFuture("value3"));
                }
              },
              executor);
          fail();
        } catch (IllegalStateException expected4) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
Back to top