/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 65 private final long hitCount; field in CacheStats 78 public CacheStats(long hitCount, long missCount, long loadSuccessCount, in CacheStats() argument 80 checkArgument(hitCount >= 0); in CacheStats() 87 this.hitCount = hitCount; in CacheStats() 100 return hitCount + missCount; in requestCount() 106 public long hitCount() { in hitCount() method in CacheStats 107 return hitCount; in hitCount() 117 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate() 222 Math.max(0, hitCount - other.hitCount), in minus() 238 hitCount + other.hitCount, in plus() [all …]
|
D | AbstractCache.java | 209 private final LongAddable hitCount = LongAddables.create(); field in AbstractCache.SimpleStatsCounter 226 hitCount.add(count); in recordHits() 257 hitCount.sum(), in snapshot() 270 hitCount.add(otherStats.hitCount()); in incrementBy()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheLoadingTest.java | 110 assertEquals(0, stats.hitCount()); in testLoad() 118 assertEquals(0, stats.hitCount()); in testLoad() 126 assertEquals(0, stats.hitCount()); in testLoad() 135 assertEquals(0, stats.hitCount()); in testLoad() 142 assertEquals(1, stats.hitCount()); in testLoad() 151 assertEquals(2, stats.hitCount()); in testLoad() 159 assertEquals(2, stats.hitCount()); in testLoad() 183 assertEquals(0, stats.hitCount()); in testReload() 190 assertEquals(0, stats.hitCount()); in testReload() 198 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 | LocalLoadingCacheTest.java | 88 assertEquals(0, stats.hitCount()); in testStats() 101 assertEquals(1, stats.hitCount()); in testStats() 112 assertEquals(1, stats.hitCount()); in testStats() 126 assertEquals(1, stats.hitCount()); in testStats() 209 assertEquals(0, cache.stats().hitCount()); in testRecordStats() 214 assertEquals(0, cache.stats().hitCount()); in testRecordStats() 218 assertEquals(1, cache.stats().hitCount()); in testRecordStats() 223 assertEquals(1, cache.stats().hitCount()); in testRecordStats() 228 assertEquals(1, cache.stats().hitCount()); in testRecordStats()
|
D | AbstractCacheTest.java | 104 assertEquals(0, stats.hitCount()); in testEmptySimpleStats() 136 assertEquals(11, stats.hitCount()); in testSingleSimpleStats()
|
/external/slf4j/ |
D | version.pl | 23 my $hitCount=0; 25 if($hitCount == 0 && /<version>.*<\/version>/) { 27 $hitCount++;
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/ |
D | Abbreviator.java | 72 int hitCount = 0; in computeNextIndex() local 77 if (hitCount == 0) { in computeNextIndex() 83 hitCount++; in computeNextIndex()
|
/external/antlr/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowHttpResponseCache.java | 28 private int hitCount = 0; field in ShadowHttpResponseCache 75 return hitCount; in getHitCount()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_sbcs.java | 37 private int hitCount; field in CharsetRecog_sbcs.NGramParser 48 ngramCount = hitCount = 0; in NGramParser() 98 hitCount += 1; in lookup() 152 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_sbcs.java | 38 private int hitCount; field in CharsetRecog_sbcs.NGramParser 49 ngramCount = hitCount = 0; in NGramParser() 99 hitCount += 1; in lookup() 153 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 165 private int hitCount; field in Cache 404 hitCount++; in trackResponse() 409 hitCount++; in trackConditionalCacheHit() 417 return hitCount; in getHitCount()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Cache.java | 167 private int hitCount; field in Cache 406 hitCount++; in trackResponse() 411 hitCount++; in trackConditionalCacheHit() 419 return hitCount; in getHitCount()
|
/external/icu/icu4c/source/i18n/ |
D | csrsbcs.cpp | 29 ngramCount = hitCount = 0; in NGramParser() 84 hitCount += 1; in lookup() 130 double rawPercent = (double) hitCount / (double) ngramCount; in parse()
|
D | csrsbcs.h | 28 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/skqp/src/gpu/ccpr/ |
D | GrCCPathCache.h | 212 int hitCount() const { return fHitCount; } in hitCount() function
|
D | GrCCDrawPathsOp.cpp | 270 if (fCacheEntry->hitCount() <= 1) { in shouldCachePathMask()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPathCache.h | 212 int hitCount() const { return fHitCount; } in hitCount() function
|
D | GrCCDrawPathsOp.cpp | 273 if (fCacheEntry->hitCount() <= 1) { in shouldCachePathMask()
|
/external/v8/benchmarks/ |
D | raytrace.js | 524 hitCount: 0, property in Flog.RayTracer.IntersectionInfo 696 best.hitCount = hits;
|
/external/v8/src/inspector/ |
D | js_protocol.pdl | 668 optional integer hitCount
|