- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for hitCount (0.07 sec)
-
android/guava/src/com/google/common/cache/CacheStats.java
public long hitCount() { return hitCount; } /** * 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
public long hitCount() { return hitCount; } /** * 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) -
src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java
this.clientIp = value; } public Long getHitCount() { checkSpecifiedProperty("hitCount"); return hitCount; } public void setHitCount(Long value) { registerModifiedProperty("hitCount"); this.hitCount = value; } public String getHitCountRelation() { checkSpecifiedProperty("hitCountRelation");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertEquals(0, cache.stats().hitCount()); assertEquals(0, cache.stats().missCount()); Object one = new Object(); cache.getUnchecked(one); assertEquals(0, cache.stats().hitCount()); assertEquals(1, cache.stats().missCount()); cache.getUnchecked(one); assertEquals(1, cache.stats().hitCount()); assertEquals(1, cache.stats().missCount());
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(0, cache.stats().hitCount()); assertEquals(0, cache.stats().missCount()); Object one = new Object(); cache.getUnchecked(one); assertEquals(0, cache.stats().hitCount()); assertEquals(1, cache.stats().missCount()); cache.getUnchecked(one); assertEquals(1, cache.stats().hitCount()); assertEquals(1, cache.stats().missCount());
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-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); Object key = new Object(); assertSame(key, cache.get(key)); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(1, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); key = new Object(); assertSame(key, cache.getUnchecked(key));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/cbean/ca/bs/BsSearchLogCA.java
} public void setHitCount_Avg(ConditionOptionCall<AvgAggregationBuilder> opLambda) { setHitCount_Avg("hitCount", opLambda); } public void setHitCount_Avg(String name, ConditionOptionCall<AvgAggregationBuilder> opLambda) { AvgAggregationBuilder builder = regAvgA(name, "hitCount"); if (opLambda != null) { opLambda.callback(builder); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 115.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
} } assertThat(response.body.string()).isEqualTo("ABC.1") // cached assertThat(cache.requestCount()).isEqualTo(2) assertThat(cache.networkCount()).isEqualTo(1) assertThat(cache.hitCount()).isEqualTo(1) assertThat(response.handshake!!.cipherSuite.javaName).startsWith("SLT_") } @Test fun truncatedMetadataEntry() { val response = testCorruptingCache {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.java
} public void setHitCount_Equal(Long hitCount) { setHitCount_Term(hitCount, null); } public void setHitCount_Equal(Long hitCount, ConditionOptionCall<TermQueryBuilder> opLambda) { setHitCount_Term(hitCount, opLambda); } public void setHitCount_Term(Long hitCount) { setHitCount_Term(hitCount, null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 145.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheStatsTest.java
*/ public class CacheStatsTest extends TestCase { public void testEmpty() { CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); 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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 4.8K bytes - Viewed (0)