Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 430 for cacher (0.03 sec)

  1. .ci/jobs.t/defaults.yml

                JOB_BRANCH=%BRANCH%
                HOME=$JENKINS_HOME
                GRADLEW=./gradlew --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
                GRADLEW_BAT=./gradlew.bat --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
        publishers:
    # Disable Junit publisher for now since it's causing OOME on our Jenkins instance
    #      - junit:
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Sep 29 15:38:05 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.MoreObjects.firstNonNull;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.base.Equivalence;
    import com.google.common.base.Ticker;
    import com.google.common.cache.AbstractCache.StatsCounter;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

              }
            };
    
        UncheckedExecutionException expected =
            assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked(new Object()));
        assertThat(expected).hasCauseThat().isEqualTo(cause);
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertThat(cache.getUnchecked(new Object())).isSameInstanceAs(newValue);
      }
    
      public void testGetUnchecked_unchecked() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // 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) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
        /**
         * Cache only file attributes but not content
         */
        METADATA_ONLY,
    
        /**
         * Cache complete directory listing including all metadata
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. 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);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

    import java.io.File;
    import java.io.IOException;
    import okhttp3.Cache;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CacheResponse {
      private final OkHttpClient client;
    
      public CacheResponse(File cacheDirectory) throws Exception {
        int cacheSize = 10 * 1024 * 1024; // 10 MiB
        Cache cache = new Cache(cacheDirectory, cacheSize);
    
        client = new OkHttpClient.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

    import org.codelibs.fess.crawler.util.CrawlingParameterUtil;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    /**
     * HostIntervalController is an implementation of {@link org.codelibs.fess.crawler.interval.IntervalController}
     * that controls the interval between requests to the same host.
     * It uses a Guava Cache to store the last access time for each host.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/BufferCacheTest.java

                if (!cache.isEmpty()) {
                    return cache.remove(0);
                }
                return new byte[bufferSize];
            }
    
            @Override
            public synchronized void releaseBuffer(byte[] buf) {
                if (buf != null && cache.size() < maxBuffers) {
                    cache.add(buf);
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top