/external/guava/guava-tests/test/com/google/common/collect/ |
D | CollectionBenchmarkSampleData.java | 34 private final double hitRate; field in CollectionBenchmarkSampleData 45 boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) { in CollectionBenchmarkSampleData() argument 48 this.hitRate = hitRate; in CollectionBenchmarkSampleData() 66 int numGoodQueries = (int) (numQueries * hitRate + 0.5); in createQueries()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | CollectionBenchmarkSampleData.java | 34 private final double hitRate; field in CollectionBenchmarkSampleData 45 boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) { in CollectionBenchmarkSampleData() argument 48 this.hitRate = hitRate; in CollectionBenchmarkSampleData() 66 int numGoodQueries = (int) (numQueries * hitRate + 0.5); in createQueries()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheStatsTest.java | 32 assertEquals(1.0, stats.hitRate()); in testEmpty() 48 assertEquals(11.0 / 24, stats.hitRate()); in testSingle() 67 assertEquals(42.0 / 76, diff.hitRate()); in testMinus() 88 assertEquals(64.0 / 124, sum.hitRate()); in testPlus() 116 assertEquals(1.0, sum.hitRate()); in testPlusLarge()
|
D | LocalLoadingCacheTest.java | 84 assertEquals(0.0, stats.hitRate()); in testStats() 97 assertEquals(1.0 / 2, stats.hitRate()); in testStats() 108 assertEquals(1.0 / 3, stats.hitRate()); in testStats() 122 assertEquals(1.0 / 4, stats.hitRate()); in testStats()
|
D | AbstractCacheTest.java | 105 assertEquals(1.0, stats.hitRate()); in testEmptySimpleStats() 137 assertEquals(11.0 / requestCount, stats.hitRate()); in testSingleSimpleStats()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheStatsTest.java | 32 assertEquals(1.0, stats.hitRate()); in testEmpty() 48 assertEquals(11.0 / 24, stats.hitRate()); in testSingle() 67 assertEquals(42.0 / 76, diff.hitRate()); in testMinus() 88 assertEquals(64.0 / 124, sum.hitRate()); in testPlus() 116 assertEquals(1.0, sum.hitRate()); in testPlusLarge()
|
D | LocalLoadingCacheTest.java | 84 assertEquals(0.0, stats.hitRate()); in testStats() 97 assertEquals(1.0 / 2, stats.hitRate()); in testStats() 108 assertEquals(1.0 / 3, stats.hitRate()); in testStats() 122 assertEquals(1.0 / 4, stats.hitRate()); in testStats()
|
D | AbstractCacheTest.java | 105 assertEquals(1.0, stats.hitRate()); in testEmptySimpleStats() 137 assertEquals(11.0 / requestCount, stats.hitRate()); in testSingleSimpleStats()
|
/external/guava/android/guava-tests/benchmark/com/google/common/collect/ |
D | SetContainsBenchmark.java | 39 private double hitRate; field in SetContainsBenchmark 58 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
|
D | MultipleSetContainsBenchmark.java | 35 double hitRate; field in MultipleSetContainsBenchmark 62 if (rng.nextDouble() < hitRate) { in setUp()
|
D | MapBenchmark.java | 164 private double hitRate; field in MapBenchmark 185 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | SetContainsBenchmark.java | 39 private double hitRate; field in SetContainsBenchmark 58 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
|
D | MultipleSetContainsBenchmark.java | 35 double hitRate; field in MultipleSetContainsBenchmark 62 if (rng.nextDouble() < hitRate) { in setUp()
|
D | MapBenchmark.java | 164 private double hitRate; field in MapBenchmark 185 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 122 public double hitRate() { in hitRate() method in CacheStats
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheStats.java | 122 public double hitRate() { in hitRate() method in CacheStats
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | EnumsBenchmark.java | 33 float hitRate; field in EnumsBenchmark 41 Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]"); in setUp() 49 for (int i = 0; i < hitRate * 256 / 3; ++i) { in setUp()
|
/external/guava/android/guava-tests/benchmark/com/google/common/base/ |
D | EnumsBenchmark.java | 33 float hitRate; field in EnumsBenchmark 41 Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]"); in setUp() 49 for (int i = 0; i < hitRate * 256 / 3; ++i) { in setUp()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | ContextVk.cpp | 2128 size_t hitRate = static_cast<size_t>(hitRateFloat * 100.0f); in updateOverlayOnPresent() local 2129 shaderBufferHitRate->add(hitRate); in updateOverlayOnPresent()
|