- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 293 for miss (0.02 seconds)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now fun Project.isExpectedAsciidoctorCacheMiss() = // Expected cache-miss for asciidoctor task: // 1. CompileAll is the seed build for docs:distDocs // 2. BuildDistributions is the seed build for other asciidoctor tasks // 3. buildScanPerformance test, which doesn't depend on compileAll
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 4.8K bytes - Click Count (0) -
tests/lru_test.go
trace[i] = getRand(b) % 32768 } b.ResetTimer() var hit, miss int for i := 0; i < 2*b.N; i++ { if i%2 == 0 { l.Add(trace[i], trace[i]) } else { if _, ok := l.Get(trace[i]); ok { hit++ } else { miss++ } } } b.Logf("hit: %d miss: %d ratio: %f", hit, miss, float64(hit)/float64(hit+miss)) } func BenchmarkLRU_Freq_NoExpire(b *testing.B) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/features/caching.md
containing a query. - CallStart - **CacheHit** - CallEnd ### Cache Miss Under a cache miss the normal request events are seen but an additional event shows the presence of the cache. Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's lifetime based on Response cache headers. - CallStart
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.1K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(cache.asMap().containsKey(entry.getKey())).isTrue(); assertThat(cache.asMap().containsValue(entry.getValue())).isTrue(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue()); } assertThat(cache.stats().missCount()).isEqualTo(WARMUP_SIZE); checkValidState(cache); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
public Integer load(Integer from) { return (int) misses.incrementAndGet(); } }); // To start, fill up the cache. // Each miss both increments the counter and causes the map to grow by one, // so until evictions begin, the size of the map is the greatest return // value seen so far while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
@Nullable V getIfCached(@Nullable Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. if (entry != null && entry.getKey() == key) { return entry.getValue(); } return null; } void clearCache() { cacheEntry = null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.6K bytes - Click Count (0) -
build-logic/build.gradle.kts
plugins { id("gradlebuild.collect-failed-tasks") id("gradlebuild.cache-miss-monitor") id("gradlebuild.ci-reporting") } description = "Provides plugins that are used by Gradle subprojects" tasks.register("check") { dependsOn(subprojects.map { "${it.name}:check" }) } tasks.register("test") { dependsOn(subprojects.map { "${it.name}:test" }) } val clean by tasks.registering {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Feb 09 03:14:32 GMT 2026 - 1.3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
// If the CC is enabled for docs tests, use a static dummy timestamp (the Epoch) so that we get hits, // otherwise we'll use the current timestamp by default and miss val formatter = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") } return formatter.format(Date(0L)) }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
/* the implementation class to collect information from task execution result */ klass: Class<T>, /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */ taskFilter: (Task) -> Boolean, /* pass the collected information in build-logic and main build to Build Scan */Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
// in combination with immutable cache entries, will ensure a thread-safe cache. CacheEntry<K, V> entry; // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. entry = cacheEntry1; if (entry != null && entry.key == key) { return entry.value; } entry = cacheEntry2; if (entry != null && entry.key == key) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0)