Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 481 for Cached (0.03 sec)

  1. internal/cachevalue/cache.go

    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference");
    
                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
                assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject");
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * for this session, the result will be cached and subsequent identical requests will return the cached
         * value without re-executing the supplier.
         * <p>
         * The caching behavior is determined by the cache retention specified in the request's metadata.
         * If an error occurs during execution, it will be cached and re-thrown for subsequent identical requests.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         * @return the maximum cache age in milliseconds
         */
        public long getMaxAge() {
            return maxAge;
        }
    
        /**
         * Sets the maximum age for cached data
         * @param maxAge the maximum cache age in milliseconds
         */
        public void setMaxAge(long maxAge) {
            this.maxAge = maxAge;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

                
                // Check if we have cached directory info
                DirectoryCacheEntry cache = leaseManager.getCacheEntry(parentPath);
                if (cache != null && cache.isComplete()) {
                    // Use cached data for all children
                    for (String childName : childNames) {
                        boolean exists = cache.hasChild(childName);
                        if (exists) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    		return selected, true
    	}
    
    	// If cached is nil we shall skip the entry.
    	if selected.cached == nil {
    		return nil, false
    	}
    
    	// Merge if we have disagreement.
    	// Create a new merged result.
    	selected = &metaCacheEntry{
    		name:     selected.name,
    		reusable: true,
    		cached:   &xlMetaV2{metaV: selected.cached.metaV},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    import okhttp3.internal.toNonNegativeInt
    
    /**
     * Given a request and cached response, this figures out whether to use the network, the cache, or
     * both.
     *
     * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header
     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      }
    
      companion object {
        /**
         * Cache control request directives that require network validation of responses. Note that such
         * requests may be assisted by the cache via conditional GET requests.
         */
        @JvmField
        val FORCE_NETWORK = commonForceNetwork()
    
        /**
         * Cache control request directives that uses the cache only, even if the cached response is
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        /** The property name for maximum cached content size. */
        public static final String MAX_CACHED_CONTENT_SIZE = "maxCachedContentSize";
    
        /** The crawler container. */
        @Resource
        protected CrawlerContainer crawlerContainer;
    
        /** The initialization parameter map. */
        protected Map<String, Object> initParamMap;
    
        /** The maximum cached content size in bytes. Default is 1MB. */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                return null;
            }
            VersionRange cached = CACHE_VERSION.get(version);
            if (cached == null) {
                List<Restriction> restrictions = Collections.emptyList();
                cached = new VersionRange(new DefaultArtifactVersion(version), restrictions);
                CACHE_VERSION.put(version, cached);
            }
            return cached;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top