Home
last modified time | relevance | path

Searched refs:hitCount (Results 1 – 20 of 20) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheStats.java57 private final long hitCount; field in CacheStats
70 public CacheStats(long hitCount, long missCount, long loadSuccessCount, in CacheStats() argument
72 checkArgument(hitCount >= 0); in CacheStats()
79 this.hitCount = hitCount; in CacheStats()
92 return hitCount + missCount; in requestCount()
98 public long hitCount() { in hitCount() method in CacheStats
99 return hitCount; in hitCount()
109 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate()
214 Math.max(0, hitCount - other.hitCount), in minus()
230 hitCount + other.hitCount, in plus()
[all …]
DAbstractCache.java205 private final AtomicLong hitCount = new AtomicLong(); field in AbstractCache.SimpleStatsCounter
217 hitCount.addAndGet(count); in recordHits()
248 hitCount.get(), in snapshot()
261 hitCount.addAndGet(otherStats.hitCount()); in incrementBy()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java106 assertEquals(0, stats.hitCount()); in testLoad()
114 assertEquals(0, stats.hitCount()); in testLoad()
122 assertEquals(0, stats.hitCount()); in testLoad()
131 assertEquals(0, stats.hitCount()); in testLoad()
138 assertEquals(1, stats.hitCount()); in testLoad()
147 assertEquals(2, stats.hitCount()); in testLoad()
155 assertEquals(2, stats.hitCount()); in testLoad()
179 assertEquals(0, stats.hitCount()); in testReload()
186 assertEquals(0, stats.hitCount()); in testReload()
194 assertEquals(0, stats.hitCount()); in testReload()
[all …]
DCacheManualTest.java35 assertEquals(0, stats.hitCount()); in testGetIfPresent()
45 assertEquals(0, stats.hitCount()); in testGetIfPresent()
55 assertEquals(0, stats.hitCount()); in testGetIfPresent()
67 assertEquals(1, stats.hitCount()); in testGetIfPresent()
77 assertEquals(1, stats.hitCount()); in testGetIfPresent()
89 assertEquals(2, stats.hitCount()); in testGetIfPresent()
99 assertEquals(3, stats.hitCount()); in testGetIfPresent()
111 assertEquals(0, stats.hitCount()); in testGetAllPresent()
118 assertEquals(0, stats.hitCount()); in testGetAllPresent()
125 assertEquals(0, stats.hitCount()); in testGetAllPresent()
[all …]
DCacheStatsTest.java31 assertEquals(0, stats.hitCount()); in testEmpty()
47 assertEquals(11, stats.hitCount()); in testSingle()
66 assertEquals(42, diff.hitCount()); in testMinus()
87 assertEquals(64, sum.hitCount()); in testPlus()
DAbstractCacheTest.java87 assertEquals(0, stats.hitCount()); in testEmptySimpleStats()
119 assertEquals(11, stats.hitCount()); in testSingleSimpleStats()
DLocalLoadingCacheTest.java93 assertEquals(0, stats.hitCount()); in testStats()
106 assertEquals(1, stats.hitCount()); in testStats()
117 assertEquals(1, stats.hitCount()); in testStats()
131 assertEquals(1, stats.hitCount()); in testStats()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ANTLR.xcodeproj/
Dacondit.pbxuser1317 hitCount = 1;
1335 hitCount = 1;
1353 hitCount = 1;
1371 hitCount = 0;
1413 hitCount = 0;
1430 hitCount = 0;
1447 hitCount = 0;
1464 hitCount = 0;
1481 hitCount = 0;
1498 hitCount = 0;
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DCPUProfileModel.js33 var result = node.hitCount;
45 node.selfTime = node.hitCount * samplingInterval;
46 var totalHitCount = node.hitCount;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPresentationAttributeStyle.cpp102 unsigned hitCount = m_hitCount; in cleanCache() local
104 if (hitCount > minimumPresentationAttributeCacheHitCountPerMinute) in cleanCache()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpResponseCache.java136 private int hitCount; field in HttpResponseCache
311 hitCount++; in trackResponse()
321 hitCount++; in trackConditionalCacheHit()
329 return hitCount; in getHitCount()
/external/icu/icu4c/source/i18n/
Dcsrsbcs.cpp28 ngramCount = hitCount = 0; in NGramParser()
79 hitCount += 1; in lookup()
125 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
Dcsrsbcs.h26 int32_t hitCount; variable
/external/chromium_org/third_party/icu/source/i18n/
Dcsrsbcs.cpp26 ngramCount = hitCount = 0; in NGramParser()
77 hitCount += 1; in lookup()
118 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
Dcsrsbcs.h29 int32_t hitCount; variable
/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java479 int hitCount = 0; in testBoxAgainstList() local
489 for (int x = 0; x < count && hitCount < maxSegments; x++) { in testBoxAgainstList()
512 hitCount++; in testBoxAgainstList()
518 return hitCount > 0; in testBoxAgainstList()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js519 hitCount: 0, property in Flog.RayTracer.IntersectionInfo
691 best.hitCount = hits;
/external/chromium_org/v8/benchmarks/
Draytrace.js524 hitCount: 0, property in Flog.RayTracer.IntersectionInfo
696 best.hitCount = hits;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js550 hitCount: 0, property in Flog.RayTracer.IntersectionInfo
722 best.hitCount = hits;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js550 hitCount: 0, property in Flog.RayTracer.IntersectionInfo
722 best.hitCount = hits;