Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 468 for cacher (0.04 sec)

  1. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /** Configuration key for crawler clients used in parameter maps */
        protected static final String CRAWLER_CLIENTS = "crawlerClients";
    
        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
         * The key is the rule string, and the value is a pair containing the client name and compiled pattern.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

    import org.codelibs.fess.Constants;
    import org.dbflute.helper.jprop.ObjectiveProperties;
    import org.lastaflute.core.direction.PropertyFilter;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    public class FessConfigImpl extends FessConfig.SimpleImpl {
    
        private static final long serialVersionUID = 1L;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

        }
    
        @Test
        public void testContentCache() {
            CurlResponse response = new CurlResponse();
            byte[] data = "test content".getBytes();
            ContentCache cache = new ContentCache(data);
    
            response.setContentCache(cache);
    
            // ContentCache is not directly accessible, but we can test through content methods
            assertNotNull(response);
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(
                CacheBuilder.newBuilder().concurrencyLevel(1).initialCapacity(capacity), null);
        checkState(cache.segments.length == 1);
        segment = cache.segments[0];
        checkState(segment.table.length() == capacity);
        for (int i = 0; i < segment.threshold; i++) {
          cache.put(new Object(), new Object());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
         */
        @Test
        public void testBufferAllocationWhenCacheFull() {
            // Given - Allocate many buffers to potentially fill the cache
            List<byte[]> buffers = new ArrayList<>();
    
            // Allocate more buffers than cache can hold
            for (int i = 0; i < 20; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top