Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 415 for cache1 (0.03 sec)

  1. src/main/java/jcifs/DfsResolver.java

        /**
         * Add a referral to the cache
         *
         * @param path the DFS path for this referral
         * @param dr the DFS referral data to cache
         * @param tc the CIFS context containing configuration
         */
        void cache(CIFSContext tc, String path, DfsReferralData dr);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

            .url("https://square.com")
            .build()
        assertThat(request.headers("Cache-Control")).containsExactly("no-cache")
        assertThat(request.cacheControl.noCache).isTrue()
      }
    
      @Test
      fun emptyCacheControlClearsAllCacheControlHeaders() {
        val request =
          Request
            .Builder()
            .header("Cache-Control", "foo")
            .cacheControl(CacheControl.Builder().build())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DfsResolverTest.java

        }
    
        // Test for cache method
        @Test
        void testCache_DfsDisabled() {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            DfsReferralData mockReferralData = mock(DfsReferralData.class);
            assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "\\\\anyServer\\anyShare\\anyPath", mockReferralData));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/cache/CacheForm.java

     */
    package org.codelibs.fess.app.web.cache;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for cache-related operations.
     * Contains parameters for document caching and error page display.
     */
    public class CacheForm {
    
        /** Document ID for cache operations. */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import org.lastaflute.web.util.LaResponseUtil;
    import org.lastaflute.web.util.LaServletContextUtil;
    import org.opensearch.common.joda.Joda;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Utility class providing static functions for Fess JSP/JSTL expressions and tag libraries.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. guava-gwt/src/com/google/common/ForceGuavaCompilation.gwt.xml

    <module>
      <inherits name="com.google.common.annotations.Annotations" />
      <inherits name="com.google.common.base.Base" />
      <inherits name="com.google.common.cache.Cache" />
      <inherits name="com.google.common.collect.Collect" />
      <inherits name="com.google.common.escape.Escape" />
      <inherits name="com.google.common.html.Html" />
      <inherits name="com.google.common.io.Io" />
      <inherits name="com.google.common.math.Math" />
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Sep 27 15:04:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
          .Builder()
          .cache(Cache(FileSystem.SYSTEM, "build/okhttp_cache".toPath(), 100_000_000))
          .build()
    
      val sslLabsClients = SslLabsClient(client).clients()
      val ianaSuitesNew = fetchIanaSuites(client)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/MapCacheTest.java

        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
        assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached
        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x58) // == Literal indexed ==
        // Indexed name (idx = 24) -> cache-control
        bytesIn.writeByte(0x08) // Literal value (len = 8)
        bytesIn.writeUtf8("no-cache")
      }
    
      private fun checkReadSecondRequestWithoutHuffman() {
        assertThat(hpackReader!!.headerCount).isEqualTo(2)
    
        // [  1] (s =  53) cache-control: no-cache
        var entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 2]!!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
Back to top