/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 57 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 …]
|
D | AbstractCache.java | 205 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/ |
D | CacheLoadingTest.java | 106 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 …]
|
D | CacheManualTest.java | 35 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 …]
|
D | CacheStatsTest.java | 31 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()
|
D | AbstractCacheTest.java | 87 assertEquals(0, stats.hitCount()); in testEmptySimpleStats() 119 assertEquals(11, stats.hitCount()); in testSingleSimpleStats()
|
D | LocalLoadingCacheTest.java | 93 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/ |
D | acondit.pbxuser | 1317 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/ |
D | CPUProfileModel.js | 33 var result = node.hitCount; 45 node.selfTime = node.hitCount * samplingInterval; 46 var totalHitCount = node.hitCount;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | PresentationAttributeStyle.cpp | 102 unsigned hitCount = m_hitCount; in cleanCache() local 104 if (hitCount > minimumPresentationAttributeCacheHitCountPerMinute) in cleanCache()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | HttpResponseCache.java | 136 private int hitCount; field in HttpResponseCache 311 hitCount++; in trackResponse() 321 hitCount++; in trackConditionalCacheHit() 329 return hitCount; in getHitCount()
|
/external/icu/icu4c/source/i18n/ |
D | csrsbcs.cpp | 28 ngramCount = hitCount = 0; in NGramParser() 79 hitCount += 1; in lookup() 125 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
|
D | csrsbcs.h | 26 int32_t hitCount; variable
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | csrsbcs.cpp | 26 ngramCount = hitCount = 0; in NGramParser() 77 hitCount += 1; in lookup() 118 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
|
D | csrsbcs.h | 29 int32_t hitCount; variable
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | CollisionSystem.java | 479 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/ |
D | v8-raytrace.js | 519 hitCount: 0, property in Flog.RayTracer.IntersectionInfo 691 best.hitCount = hits;
|
/external/chromium_org/v8/benchmarks/ |
D | raytrace.js | 524 hitCount: 0, property in Flog.RayTracer.IntersectionInfo 696 best.hitCount = hits;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
D | v8-raytrace.js | 550 hitCount: 0, property in Flog.RayTracer.IntersectionInfo 722 best.hitCount = hits;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
D | v8-raytrace.js | 550 hitCount: 0, property in Flog.RayTracer.IntersectionInfo 722 best.hitCount = hits;
|