- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 459 for Cache (0.01 seconds)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
* the License. */ package com.google.common.cache; import static com.google.common.cache.CacheTesting.checkEmpty; import static com.google.common.cache.TestingCacheLoaders.constantLoader; import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; import static com.google.common.truth.Truth.assertThat;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
* the License. */ package com.google.common.cache; import static com.google.common.cache.CacheTesting.checkEmpty; import static com.google.common.cache.TestingCacheLoaders.constantLoader; import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; import static com.google.common.truth.Truth.assertThat;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java
public interface ModelCache { /** * Puts the specified data into the cache. * * @param groupId The group id of the cache record, must not be {@code null}. * @param artifactId The artifact id of the cache record, must not be {@code null}. * @param version The version of the cache record, must not be {@code null}. * @param tag The tag of the cache record, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
assertThat(cache.get(34, loader)).isEqualTo(2); cache.invalidate(0); assertThat(cache.get(0, loader)).isEqualTo(3); cache.put(0, 10); cache.invalidateAll(); assertThat(cache.get(0, loader)).isEqualTo(4); } @Test public void sizeConstraint() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder().maximumSize(4).build(); cache.put(1, 10); cache.put(2, 20);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
* the License. */ package com.google.common.cache; import static com.google.common.cache.TestingCacheLoaders.identityLoader; import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; import static com.google.common.cache.TestingWeighers.constantWeigher; import static com.google.common.cache.TestingWeighers.intKeyWeigher; import static com.google.common.cache.TestingWeighers.intValueWeigher;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
val headers = Headers.headersOf( "cache-control", "no-store", "Cache-Control", "no-cache", ) val headerMap = headers.toMultimap() assertThat(headerMap["cache-control"]!!.size).isEqualTo(2) assertThat(headerMap["Cache-Control"]!!.size).isEqualTo(2) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
getAll(cache, asList(6, 8)); CacheTesting.drainRecencyQueues(cache); ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(1, 3, 6, 8); // get fails to save 1, put saves 3 cache.asMap().put(3, -3); getAll(cache, asList(1)); CacheTesting.drainRecencyQueues(cache); ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(6, 8, 3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 19.2K bytes - Click Count (0) -
cmd/storage-rest-common_gen.go
case "c": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Cache") return } z.Cache = nil } else { if z.Cache == nil { z.Cache = new(dataUsageCache) } err = z.Cache.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Cache") return } } default: err = dc.Skip() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
for (LoadingCache<Key, String> cache : caches()) { Key key = new Key(1); String value = key.toString(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value); assertThat(cache.asMap().isEmpty()).isFalse(); cache.invalidateAll(); assertThat(cache.size()).isEqualTo(0); assertThat(cache.asMap().isEmpty()).isTrue(); assertThat(cache.asMap().containsKey(key)).isFalse();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/features/caching.md
- ConnectionReleased - CallEnd ## Cache directory The cache directory must be exclusively owned by a single instance. Deleting the cache when it is no longer needed can be done. However this may delete the purpose of the cache which is designed to persist between app restarts. ```kotlin cache.delete() ``` ## Pruning the Cache Pruning the entire Cache to clear space temporarily can be done using evictAll.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.1K bytes - Click Count (1)