Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 768 for cacheIf (0.82 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

     * <ul>
     *   <li>Determining the storage path for locally installed artifacts</li>
     *   <li>Managing the layout and organization of cached remote artifacts</li>
     *   <li>Maintaining consistency in artifact storage patterns</li>
     * </ul>
     *
     * <p>This interface is part of Maven's repository management system and works in
     * conjunction with {@link RemoteRepository} and {@link LocalRepository} to provide
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/HandlerTest.java

            assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it.");
        }
    
        @Test
        void testOpenConnection_CachedHandler_ReusesExistingHandler() throws Exception {
            // This test verifies that once a handler is cached, subsequent calls reuse it.
            setupMockProtocolHandlers();
            URL url1 = new URL("http://example.com/resource1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

            .minFresh(3.seconds)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. cmd/storage-rest-client.go

    		return nil
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	if final == nil {
    		return cache, errors.New("no final cache")
    	}
    	return *final, nil
    }
    
    func (client *storageRESTClient) GetDiskID() (string, error) {
    	if !client.IsOnlineWS() {
    		// make sure to check if the disk is offline, since the underlying
    		// value is cached we should attempt to invalidate it if such calls
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            ContentCache cache = new ContentCache(data);
    
            // ## Act & Assert ##
            assertArrayEquals(cache.getContentAsBytes(), cache.getContentAsBytes());
            assertArrayEquals(cache.getContentAsBytes(), cache.getContentAsBytes());
        }
    
        @Test
        public void testIsInMemory_WithEmptyByteArray() {
            // ## Arrange ##
            ContentCache cache = new ContentCache(new byte[0]);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Helper class for rate limiting functionality.
     * Implements a sliding window algorithm for request counting
     * and manages IP-based blocking using Guava Cache for automatic expiration.
     */
    public class RateLimitHelper {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/extending-openapi.md

    {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[22:24] *}
    
    ### Cachear el esquema de OpenAPI { #cache-the-openapi-schema }
    
    Puedes usar la propiedad `.openapi_schema` como un "cache", para almacenar tu esquema generado.
    
    De esa forma, tu aplicación no tendrá que generar el esquema cada vez que un usuario abra la documentación de tu API.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.TestingCacheLoaders.bulkLoader;
    import static com.google.common.cache.TestingCacheLoaders.constantLoader;
    import static com.google.common.cache.TestingCacheLoaders.errorLoader;
    import static com.google.common.cache.TestingCacheLoaders.exceptionLoader;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            // Second evaluation of the same cached script should not see previous state
            final Map<String, Object> params2 = new HashMap<>();
            params2.put("x", 3);
            assertEquals(3, engine.evaluate(script, params2));
    
            engine.close();
        }
    
        // ===== Compilation Failure Tests =====
    
        /**
         * Test that syntax errors are not cached and can be retried
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
Back to Top