- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for evictionCount (0.22 seconds)
-
guava/src/com/google/common/cache/AbstractCache.java
loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime()); evictionCount.add(otherStats.evictionCount()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
FakeTicker ticker = new FakeTicker(); AtomicInteger evictionCount = new AtomicInteger(); AtomicInteger applyCount = new AtomicInteger(); AtomicInteger totalSum = new AtomicInteger(); RemovalListener<Integer, AtomicInteger> removalListener = notification -> { if (notification.wasEvicted()) { evictionCount.incrementAndGet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0); cache.getUnchecked(one); stats = cache.stats(); assertThat(stats.requestCount()).isEqualTo(2); assertThat(stats.hitCount()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(stats.loadCount()).isEqualTo(1); long totalLoadTime = stats.totalLoadTime(); assertThat(totalLoadTime).isAtLeast(0); assertThat(stats.averageLoadPenalty()).isAtLeast(0.0); assertThat(stats.evictionCount()).isEqualTo(0); cache.getUnchecked(one); stats = cache.stats(); assertThat(stats.requestCount()).isEqualTo(2); assertThat(stats.hitCount()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertWithMessage("Invalid removal notification") .that(notification.getValue()) .isEqualTo(notification.getKey()); } CacheStats stats = cache.stats(); assertThat(stats.evictionCount()).isEqualTo(removalListener.size()); assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get()); assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertWithMessage("Invalid removal notification") .that(notification.getValue()) .isEqualTo(notification.getKey()); } CacheStats stats = cache.stats(); assertThat(stats.evictionCount()).isEqualTo(removalListener.size()); assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get()); assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0)