Home
last modified time | relevance | path

Searched refs:missCount (Results 1 – 13 of 13) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheStats.java65 private final long missCount; field in CacheStats
77 public CacheStats(long hitCount, long missCount, long loadSuccessCount, in CacheStats() argument
80 checkArgument(missCount >= 0); in CacheStats()
87 this.missCount = missCount; in CacheStats()
99 return hitCount + missCount; in requestCount()
125 public long missCount() { in missCount() method in CacheStats
126 return missCount; in missCount()
140 return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; in missRate()
222 Math.max(0, missCount - other.missCount), in minus()
238 missCount + other.missCount, in plus()
[all …]
DAbstractCache.java207 private final LongAddable missCount = LongAddables.create(); field in AbstractCache.SimpleStatsCounter
231 missCount.add(count); in recordMisses()
255 missCount.sum(), in snapshot()
268 missCount.add(otherStats.missCount()); in incrementBy()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java107 assertEquals(0, stats.missCount()); in testLoad()
115 assertEquals(1, stats.missCount()); in testLoad()
123 assertEquals(2, stats.missCount()); in testLoad()
132 assertEquals(2, stats.missCount()); in testLoad()
139 assertEquals(2, stats.missCount()); in testLoad()
148 assertEquals(2, stats.missCount()); in testLoad()
156 assertEquals(3, stats.missCount()); in testLoad()
180 assertEquals(0, stats.missCount()); in testReload()
187 assertEquals(1, stats.missCount()); in testReload()
195 assertEquals(1, stats.missCount()); in testReload()
[all …]
DCacheManualTest.java32 assertEquals(0, stats.missCount()); in testGetIfPresent()
42 assertEquals(1, stats.missCount()); in testGetIfPresent()
52 assertEquals(2, stats.missCount()); in testGetIfPresent()
64 assertEquals(2, stats.missCount()); in testGetIfPresent()
74 assertEquals(3, stats.missCount()); in testGetIfPresent()
86 assertEquals(3, stats.missCount()); in testGetIfPresent()
96 assertEquals(3, stats.missCount()); in testGetIfPresent()
108 assertEquals(0, stats.missCount()); in testGetAllPresent()
115 assertEquals(0, stats.missCount()); in testGetAllPresent()
122 assertEquals(3, stats.missCount()); in testGetAllPresent()
[all …]
DAbstractCacheTest.java77 assertEquals(0, stats.missCount()); in testEmptySimpleStats()
109 int missCount = 23; in testSingleSimpleStats() local
110 assertEquals(missCount, stats.missCount()); in testSingleSimpleStats()
111 assertEquals(((double) missCount) / requestCount, stats.missRate()); in testSingleSimpleStats()
DCacheStatsTest.java33 assertEquals(0, stats.missCount()); in testEmpty()
49 assertEquals(13, stats.missCount()); in testSingle()
68 assertEquals(34, diff.missCount()); in testMinus()
89 assertEquals(60, sum.missCount()); in testPlus()
DLocalLoadingCacheTest.java90 assertEquals(1, stats.missCount()); in testStats()
103 assertEquals(1, stats.missCount()); in testStats()
114 assertEquals(2, stats.missCount()); in testStats()
128 assertEquals(3, stats.missCount()); in testStats()
210 assertEquals(0, cache.stats().missCount()); in testRecordStats()
215 assertEquals(1, cache.stats().missCount()); in testRecordStats()
219 assertEquals(1, cache.stats().missCount()); in testRecordStats()
224 assertEquals(2, cache.stats().missCount()); in testRecordStats()
229 assertEquals(3, cache.stats().missCount()); in testRecordStats()
DPopulatedCachesTest.java78 assertEquals(WARMUP_SIZE, cache.stats().missCount()); in testContainsKey_found()
101 assertEquals(WARMUP_SIZE, cache.stats().missCount()); in testPut_populated()
122 assertEquals(WARMUP_SIZE, cache.stats().missCount()); in testPutIfAbsent_populated()
136 assertEquals(WARMUP_SIZE, cache.stats().missCount()); in testPutAll_populated()
157 assertEquals(WARMUP_SIZE, cache.stats().missCount()); in testReplace_populated()
/external/skia/src/core/
DSkGlyphCache.cpp538 int missCount = 0; in Dump() local
544 missCount += cache->fHashMissCount; in Dump()
549 SkDebugf("Hash hit percent:%2d\n", 100 * hitCount / (hitCount + missCount)); in Dump()
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...