Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 499 for Caching (0.07 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import java.nio.file.Files;
    
    import org.codelibs.curl.Curl;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
        }
    
        @Test
        @DisplayName("Test getBatchLimit with custom implementation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        // not caching hash code since it could change if map values are mutable
        // in a way that modifies their hash codes
        return entrySet().hashCode();
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            dataStoreFactory.add("store", dataStore2);
            assertSame(dataStore2, dataStoreFactory.getDataStore("store"));
        }
    
        // Test getDataStoreNames with caching
        public void test_getDataStoreNames_caching() {
            // Mock the loadDataStoreNameList to control behavior
            final int[] loadCount = { 0 };
            DataStoreFactory testFactory = new DataStoreFactory() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

     *
     * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2).
     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. README.md

    ### Performance Optimizations
    - **Caching** - Bean descriptors and reflection metadata are cached for improved performance
    - **Lazy initialization** - Resources and expensive operations are initialized only when needed  
    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

     *  Fix: Buffer outgoing HTTP/2 frames to limit how many outgoing frames are
        created.
     *  Fix: Avoid crashing when cache writing fails due to a full disk.
     *  Fix: Improve caching of private responses.
     *  Fix: Update cache-by-default response codes.
     *  Fix: Reused `Request.Builder` instances no longer hold stale URL fields.
     *  New: ConnectionSpec can now be configured to use the SSL socket's default
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
       * <p>Among the further improvements that {@code LoadingCache} can provide but this method cannot:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        fun isCacheable(
          response: Response,
          request: Request,
        ): Boolean {
          // Always go to network for uncacheable response codes (RFC 7231 section 6.1), This
          // implementation doesn't support caching partial content.
          when (response.code) {
            HTTP_OK,
            HTTP_NOT_AUTHORITATIVE,
            HTTP_NO_CONTENT,
            HTTP_MULT_CHOICE,
            HTTP_MOVED_PERM,
            HTTP_NOT_FOUND,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         */
        open fun <T> tag(
          type: Class<in T>,
          tag: T?,
        ) = tag(type.kotlin, tag)
    
        /**
         * Override the [Request.url] for caching, if it is either polluted with
         * transient query params, or has a canonical URL possibly for a CDN.
         *
         * Note that POST requests will not be sent to the server if this URL is set
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
Back to top