Searched refs:evictionCount (Results 1 – 11 of 11) sorted by relevance
/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 69 private final long evictionCount; field in CacheStats 78 long loadExceptionCount, long totalLoadTime, long evictionCount) { in CacheStats() argument 84 checkArgument(evictionCount >= 0); in CacheStats() 91 this.evictionCount = evictionCount; in CacheStats() 210 public long evictionCount() { in evictionCount() method in CacheStats 211 return evictionCount; in evictionCount() 226 Math.max(0, evictionCount - other.evictionCount)); in minus() 242 evictionCount + other.evictionCount); in plus() 248 totalLoadTime, evictionCount); in hashCode() 260 && evictionCount == other.evictionCount; in equals() [all …]
|
D | AbstractCache.java | 211 private final LongAddable evictionCount = LongAddables.create(); field in AbstractCache.SimpleStatsCounter 248 evictionCount.increment(); in recordEviction() 259 evictionCount.sum()); in snapshot() 272 evictionCount.add(otherStats.evictionCount()); in incrementBy()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheStatsTest.java | 41 assertEquals(0, stats.evictionCount()); in testEmpty() 57 assertEquals(27, stats.evictionCount()); in testSingle() 76 assertEquals(4, diff.evictionCount()); in testMinus() 97 assertEquals(44, sum.evictionCount()); in testPlus()
|
D | AbstractCacheTest.java | 84 assertEquals(0, stats.evictionCount()); in testEmptySimpleStats() 117 assertEquals(27, stats.evictionCount()); in testSingleSimpleStats()
|
D | LocalLoadingCacheTest.java | 96 assertEquals(0, stats.evictionCount()); in testStats() 106 assertEquals(0, stats.evictionCount()); in testStats() 120 assertEquals(0, stats.evictionCount()); in testStats() 134 assertEquals(1, stats.evictionCount()); in testStats()
|
D | CacheExpirationTest.java | 173 final AtomicInteger evictionCount = new AtomicInteger(); in testRemovalListener_expireAfterWrite() local 182 evictionCount.incrementAndGet(); in testRemovalListener_expireAfterWrite() 207 assertEquals(evictionCount.get() + 1, applyCount.get()); in testRemovalListener_expireAfterWrite()
|
D | CacheBuilderTest.java | 591 assertEquals(removalListener.size(), stats.evictionCount()); in testRemovalNotification_get_basher()
|
/external/robolectric/lib/main/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |