- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for missCount (0.29 sec)
-
android/guava/src/com/google/common/cache/CacheStats.java
* value can result in multiple misses, all returning the results of a single cache load * operation. */ public long missCount() { return missCount; } /** * Returns the ratio of cache requests which were misses. This is defined as {@code missCount / * requestCount}, or {@code 0.0} when {@code requestCount == 0}. Note that {@code hitRate +
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* value can result in multiple misses, all returning the results of a single cache load * operation. */ public long missCount() { return missCount; } /** * Returns the ratio of cache requests which were misses. This is defined as {@code missCount / * requestCount}, or {@code 0.0} when {@code requestCount == 0}. Note that {@code hitRate +
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey())); } assertEquals(WARMUP_SIZE, cache.stats().missCount()); checkValidState(cache); } } public void testPut_populated() { for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15K bytes - Viewed (0) -
pkg/cache/ttlCache.go
// forgets. c.entries.Range(func(key any, value any) bool { e := value.(*entry) if e.expiration <= n { c.entries.Delete(key) c.callback(key, value.(*entry).value) // Note: can miscount if the key was removed before it was evicted atomic.AddUint64(&c.stats.Evictions, 1) } return true }) } func (c *ttlCache) EvictExpired() { c.evictExpired(time.Now()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
r := mkcallstmt("selectsetpc", typecheck.NodAddr(ir.NewIndexExpr(base.Pos, pcs, ir.NewInt(base.Pos, int64(i))))) init = append(init, r) } } if nsends+nrecvs != ncas { base.Fatalf("walkSelectCases: miscount: %v + %v != %v", nsends, nrecvs, ncas) } // run the select base.Pos = sellineno chosen := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0)