Home
last modified time | relevance | path

Searched refs:hitRate (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DCollectionBenchmarkSampleData.java34 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/
DCollectionBenchmarkSampleData.java34 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/
DCacheStatsTest.java32 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()
DLocalLoadingCacheTest.java84 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()
DAbstractCacheTest.java105 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/
DCacheStatsTest.java32 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()
DLocalLoadingCacheTest.java84 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()
DAbstractCacheTest.java105 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/
DSetContainsBenchmark.java39 private double hitRate; field in SetContainsBenchmark
58 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
DMultipleSetContainsBenchmark.java35 double hitRate; field in MultipleSetContainsBenchmark
62 if (rng.nextDouble() < hitRate) { in setUp()
DMapBenchmark.java164 private double hitRate; field in MapBenchmark
185 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DSetContainsBenchmark.java39 private double hitRate; field in SetContainsBenchmark
58 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
DMultipleSetContainsBenchmark.java35 double hitRate; field in MultipleSetContainsBenchmark
62 if (rng.nextDouble() < hitRate) { in setUp()
DMapBenchmark.java164 private double hitRate; field in MapBenchmark
185 new CollectionBenchmarkSampleData(isUserTypeFast, random, hitRate, size); in setUp()
/external/guava/guava/src/com/google/common/cache/
DCacheStats.java122 public double hitRate() { in hitRate() method in CacheStats
/external/guava/android/guava/src/com/google/common/cache/
DCacheStats.java122 public double hitRate() { in hitRate() method in CacheStats
/external/guava/guava-tests/benchmark/com/google/common/base/
DEnumsBenchmark.java33 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/
DEnumsBenchmark.java33 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/
DContextVk.cpp2128 size_t hitRate = static_cast<size_t>(hitRateFloat * 100.0f); in updateOverlayOnPresent() local
2129 shaderBufferHitRate->add(hitRate); in updateOverlayOnPresent()