Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 477 for Cached (0.05 seconds)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
      // 5. unsuccessful response
      @Test
      fun usesCache() {
        val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
        val cachedClient = bootstrapClient.newBuilder().cache(cache).build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. docs/features/caching.md

     - ConnectionReleased
     - CallEnd
     
    ## Cache directory
    
    The cache directory must be exclusively owned by a single instance.
    
    Deleting the cache when it is no longer needed can be done.  However this may delete the purpose of the cache
    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
     
    ## Pruning the Cache
    
    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

        /** The request attribute key for storing cached user agent type */
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Step 3: Verify can cache directory listing
            assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Step 4: Initially no cached listing
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Step 5: Simulate directory enumeration and update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

      }
    
      @Test
      @Throws(Exception::class)
      fun parse() {
        val header = (
          "no-cache, no-store, max-age=1, s-maxage=2, private, public, must-revalidate, " +
            "max-stale=3, min-fresh=4, only-if-cached, no-transform"
        )
        val cacheControl =
          parse(
            Headers
              .Builder()
              .set("Cache-Control", header)
              .build(),
          )
        assertThat(cacheControl.noCache).isTrue()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

        when {
          name.equals("Cache-Control", ignoreCase = true) -> {
            if (headerValue != null) {
              // Multiple cache-control headers means we can't use the raw value.
              canUseHeaderValue = false
            } else {
              headerValue = value
            }
          }
          name.equals("Pragma", ignoreCase = true) -> {
            // Might specify additional cache-control params. We invalidate just in case.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. cmd/xl-storage-disk-id-check.go

    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    		// Check if lastT was changed by someone else.
    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    			// Now we swap in a new.
    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        /**
         * Sets the cached cipher.
         * @param cipher The cached cipher.
         */
        public void setCipher(final CachedCipher cipher) {
            this.cipher = cipher;
        }
    
        /**
         * Sets the value separator.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

    import javax.inject.Inject;
    import java.util.Arrays;
    
    /**
     * Serves the given directory with a simple HTTP server.
     */
    @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.")
    public abstract class ServeDocs extends DefaultTask {
        @InputFiles
        @PathSensitive(PathSensitivity.RELATIVE)
        protected abstract DirectoryProperty getDocsDirectory();
    
        @Input
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. .teamcity/scripts/update_wrapper_and_create_pr.sh

        fi
    
        ./gradlew wrapper --gradle-version=$WRAPPER_VERSION 
        ./gradlew wrapper
        git add gradle && git add gradlew && git add gradlew.bat
        
        if git diff --cached --quiet; then
            echo "No changes to commit"
            exit 0
        fi
        
        BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)"
        git switch -c $BRANCH_NAME
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top