Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 430 for cacher (0.03 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        private static final int HTTP_STATUS_NOT_FOUND = 404;
    
        /** HTTP status code for OK */
        private static final int HTTP_STATUS_OK = 200;
    
        /**
         * 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

    import org.codelibs.fess.taglib.FessFunctions;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper class for managing crawler statistics and performance metrics.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

    import org.opensearch.action.DocWriteRequest.OpType;
    import org.opensearch.index.query.QueryBuilders;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * OpenSearchUrlFilterService is an implementation of {@link UrlFilterService} for OpenSearch.
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.util.LaRequestUtil;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    import com.microsoft.aad.msal4j.AuthorizationCodeParameters;
    import com.microsoft.aad.msal4j.ConfidentialClientApplication;
    import com.microsoft.aad.msal4j.IAuthenticationResult;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        assertThat(cache.getIfPresent(new Object())).isSameInstanceAs(newValue);
      }
    
      public void testGetAllPresent_empty() {
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return null;
              }
            };
    
        assertThat(cache.getAllPresent(ImmutableList.of(new Object()))).isEmpty();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. android/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)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/BufferCacheImpl.java

            Arrays.fill(buf, (byte) 0);
            synchronized (this.cache) {
                if (this.freeBuffers < this.cache.length) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] == null) {
                            this.cache[i] = buf;
                            this.freeBuffers++;
                            return;
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top