- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for missRate (0.05 sec)
-
guava-tests/test/com/google/common/cache/CacheStatsTest.java
assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertThat(stats.hitRate()).isEqualTo(1.0); assertEquals(0, stats.missCount()); assertThat(stats.missRate()).isEqualTo(0.0); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertThat(stats.loadExceptionRate()).isEqualTo(0.0); assertEquals(0, stats.loadCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertEquals(1, stats.requestCount()); assertEquals(0, stats.hitCount()); assertThat(stats.hitRate()).isEqualTo(0.0); assertEquals(1, stats.missCount()); assertThat(stats.missRate()).isEqualTo(1.0); assertEquals(1, stats.loadCount()); long totalLoadTime = stats.totalLoadTime(); assertTrue(totalLoadTime >= 0); assertTrue(stats.averageLoadPenalty() >= 0.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertEquals(1, stats.requestCount()); assertEquals(0, stats.hitCount()); assertThat(stats.hitRate()).isEqualTo(0.0); assertEquals(1, stats.missCount()); assertThat(stats.missRate()).isEqualTo(1.0); assertEquals(1, stats.loadCount()); long totalLoadTime = stats.totalLoadTime(); assertTrue(totalLoadTime >= 0); assertTrue(stats.averageLoadPenalty() >= 0.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
} /** * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount / * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate + * missRate =~ 1.0}. */ public double hitRate() { long requestCount = requestCount(); return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
} /** * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount / * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate + * missRate =~ 1.0}. */ public double hitRate() { long requestCount = requestCount(); return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0)