Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 888 for cached (0.49 sec)

  1. 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)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

      }
    
      public void testComputeIfPresent_error() {
        Cache<String, String> cache = CacheBuilder.newBuilder().build();
        cache.put(key, "1");
        assertThrows(
            Error.class,
            () ->
                cache
                    .asMap()
                    .computeIfPresent(
                        key,
                        (k, v) -> {
                          throw new Error();
                        }));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        assertThat(cache.getUnchecked(0)).isEqualTo(1);
        assertThat(cache.getUnchecked(1)).isEqualTo(-1);
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);
        assertThat(loader.getReloadCount()).isEqualTo(expectedReloads);
    
        // refresh 2
        ticker.advance(1, MILLISECONDS);
        assertThat(cache.getUnchecked(0)).isEqualTo(1);
        assertThat(cache.getUnchecked(1)).isEqualTo(-1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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)
  6. .idea/gradle.xml

                <option value="$PROJECT_DIR$/platforms/core-execution/build-cache-base" />
                <option value="$PROJECT_DIR$/platforms/core-execution/build-cache-example-client" />
                <option value="$PROJECT_DIR$/platforms/core-execution/build-cache-http" />
                <option value="$PROJECT_DIR$/platforms/core-execution/build-cache-local" />
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 18:02:10 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    
    class DefaultProjectArtifactsCacheTest {
    
        private ProjectArtifactsCache cache;
    
        @BeforeEach
        void setUp() throws Exception {
            cache = new DefaultProjectArtifactsCache();
        }
    
        @Test
        void testProjectDependencyOrder() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. .teamcity/test-buckets.json

              "base-diagnostics",
              "base-services",
              "build-cache",
              "build-cache-http",
              "build-cache-local",
              "build-cache-spi",
              "build-configuration",
              "build-events",
              "build-profile",
              "code-quality",
              "composite-builds",
              "configuration-cache",
              "core-api",
              "declarative-dsl-core",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 01 00:23:04 UTC 2025
    - 119.4K bytes
    - Viewed (0)
  10. cmd/metacache.go

    }
    
    // worthKeeping indicates if the cache by itself is worth keeping.
    func (m *metacache) worthKeeping() bool {
    	if m == nil {
    		return false
    	}
    	cache := m
    	switch {
    	case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge:
    		// Not finished and update for metacacheMaxRunningAge, discard it.
    		return false
    	case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top