Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 552 for Marche (0.17 sec)

  1. 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);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // The rebuild is retried on cache hits and on cache edits.
        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
        assertThat(cache["c"]).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

    Pavlo Shevchenko <******@****.***> 1712149508 +0200
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. 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;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheTesting.java

        return Math.max(accessQueueSize(cache), writeQueueSize(cache));
      }
    
      static void processPendingNotifications(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          LocalCache<?, ?> cchm = toLocalCache(cache);
          cchm.processPendingNotifications();
        }
      }
    
      interface Receiver<T> {
        void accept(@Nullable T object);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          checkEmpty(cache);
        }
      }
    
    
      public void testInvalidate_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked("a");
          cache.getUnchecked("b");
          cache.invalidate("a");
          cache.invalidate("b");
          cache.invalidate(0);
          checkEmpty(cache);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.TestingCacheLoaders.bulkLoader;
    import static com.google.common.cache.TestingCacheLoaders.constantLoader;
    import static com.google.common.cache.TestingCacheLoaders.errorLoader;
    import static com.google.common.cache.TestingCacheLoaders.exceptionLoader;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LoadingCache.java

       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
       * <p>If the cache loader associated with this cache is known not to throw checked exceptions,
       * then prefer {@link #getUnchecked} over this method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  9. 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);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    			b.debugf("cache %s not worth keeping", id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.bucket != b.bucket {
    			logger.Info("cache bucket mismatch %s != %s", b.bucket, cache.bucket)
    			remove[id] = struct{}{}
    			continue
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top