- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 157 for uncached (0.09 sec)
-
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
} } @Test public void testPutNewValue() { assertThat(mapCache.put("key", "value")).isNull(); assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached assertThat(mapCache.put("key", "new value")).isEqualTo("value"); assertThat(mapCache.get("key")).isEqualTo("new value"); } @Test public void testRemoveEqualKeyWithDifferentReference() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 16:23:26 UTC 2021 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
// this here, possibly indefinitely. // public interface RepositoryCache { /** * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is * responsible for creating a copy of the original data and store the copy in the cache. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* argument. These are matched by position - the first {@code %s} gets {@code * errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in * square braces. Unmatched placeholders will be left as-is. * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
docs/features/caching.md
urlIterator.remove() } } ``` ### Troubleshooting 1. Valid cacheable responses are not being cached Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached. ### Overriding normal cache behaviour
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() { val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
* * @author mike nonemacher */ public class PopulatedCachesTest extends TestCase { // we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135; static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN; public void testSize_populated() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
internal/rest/client_test.go
want: true, }, { name: "net.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, want: true, }, { name: "net.Error-unmatched", err: errors.New("something"), want: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Wrap error n := &NetworkError{ Err: tt.err, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 1.9K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
CLIClientsForContexts(contexts []string) ([]kube.CLIClient, error) } type instance struct { // clients are cached clients for each revision clients map[string]kube.CLIClient // remoteClients are cached clients for each context with empty revision. remoteClients map[string]kube.CLIClient RootFlags }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.8.md
* vSphere cloud provider: vSphere Storage policy Support...
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 312.2K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
t := time.Now().Unix() e.init.Do(func() { e.cached.Store(&AccElem{}) atomic.StoreInt64(&e.cachedSec, t) }) acc := e.cached.Load() if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t { // Check if lastT was changed by someone else. if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) { // Now we swap in a new. newAcc := &AccElem{} old := e.cached.Swap(newAcc) var a AccElem
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:56:26 UTC 2024 - 34.5K bytes - Viewed (0)