Home
last modified time | relevance | path

Searched refs:averageLoadPenalty (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheStatsTest.java40 assertEquals(0.0, stats.averageLoadPenalty()); in testEmpty()
56 assertEquals(23.0/(17 + 19), stats.averageLoadPenalty()); in testSingle()
75 assertEquals(14.0/(26 + 22), diff.averageLoadPenalty()); in testMinus()
96 assertEquals(48.0/(56 + 52), sum.averageLoadPenalty()); in testPlus()
DAbstractCacheTest.java112 assertEquals(0.0, stats.averageLoadPenalty()); in testEmptySimpleStats()
145 assertEquals(214.0 / (13 + 17), stats.averageLoadPenalty()); in testSingleSimpleStats()
DLocalLoadingCacheTest.java95 assertTrue(stats.averageLoadPenalty() >= 0.0); in testStats()
119 assertTrue(stats.averageLoadPenalty() >= 0.0); in testStats()
133 assertTrue(stats.averageLoadPenalty() >= 0.0); in testStats()
/external/guava/guava/src/com/google/common/cache/
DCacheStats.java200 public double averageLoadPenalty() { in averageLoadPenalty() method in CacheStats