Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 612 for coche (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * 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.
         *
         * @param <REQ> The request type
         * @param <REP> The response type
         * @param req The request object used as the cache key
         * @param supplier The function to execute and cache the result
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. cmd/erasure.go

    					return
    				default:
    				}
    
    				// Load cache for bucket
    				cacheName := pathJoin(bucket.Name, dataUsageCacheName)
    				cache := dataUsageCache{}
    				scannerLogIf(ctx, cache.load(ctx, er, cacheName))
    				if cache.Info.Name == "" {
    					cache.Info.Name = bucket.Name
    				}
    				cache.Info.SkipHealing = healing
    				cache.Info.NextCycle = wantCycle
    				if cache.Info.Name != bucket.Name {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

        cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem)
        client =
          clientTestRule
            .newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        if (this::cache.isInitialized) {
          cache.delete()
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile2.lastAccess()).thenReturn(900L);
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
            // Verify cache entry was updated (test the cache content directly)
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. .github/workflows/build-docs.yml

            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install docs extras
            run: uv pip install -r requirements-docs.txt
          - name: Update Languages
            run: python ./scripts/docs.py update-languages
          - uses: actions/cache@v4
            with:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. internal/lru/lru.go

    // casting it as uint8 explicitly requires type conversions in multiple places
    const numBuckets = 100
    
    // NewLRU returns a new thread-safe cache with expirable entries.
    //
    // Size parameter set to 0 makes cache of unlimited size, e.g. turns LRU mechanism off.
    //
    // Providing 0 TTL turns expiring off.
    //
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

     * by the garbage collector. Entries with reclaimed keys or values may be removed from the cache on
     * each cache modification, on occasional cache accesses, or on calls to {@link Cache#cleanUp}; such
     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    /** Serves requests from the cache and writes responses to the cache. */
    class CacheInterceptor(
      internal val call: RealCall,
      internal val cache: Cache?,
    ) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/CacheStats.java

    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
     *   <li>When a cache lookup first encounters a missing cache entry, a new entry is loaded.
     *       <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top