Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 883 for cached (0.07 seconds)

  1. internal/lru/lru.go

    	return diff
    }
    
    // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close().
    // func (c *LRU[K, V]) Close() {
    //	c.mu.Lock()
    //	defer c.mu.Unlock()
    //	select {
    //	case <-c.done:
    //		return
    //	default:
    //	}
    //	close(c.done)
    // }
    
    // removeOldest removes the oldest item from the cache. Has to be called with lock!
    func (c *LRU[K, V]) removeOldest() {
    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)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val cacheSize = 1L * 1024 * 1024 // 1MB
        val cache = Cache(ctxt.cacheDir.resolve("testCache"), cacheSize)
    
        try {
          client =
            client
              .newBuilder()
              .cache(cache)
              .build()
    
          val request =
            Request
              .Builder()
              .url(server.url("/"))
              .build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/graph/MapIteratorCache.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/README.md

    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.3.0")
    ```
    
    ### Usage
    
    ```
      val appCache = Cache(File("cacheDir", "okhttpcache"), 10 * 1024 * 1024)
      val bootstrapClient = OkHttpClient.Builder().cache(appCache).build()
    
      val dns = DnsOverHttps.Builder().client(bootstrapClient)
        .url("https://dns.google/dns-query".toHttpUrl())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 739 bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * A model builder cache backed by the repository system cache.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    class DefaultModelCache implements ModelCache {
    
        private final RepositorySystemSession session;
    
        private final RepositoryCache cache;
    
        public static ModelCache newInstance(RepositorySystemSession session) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/RemovalListener.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * resources) are stored and retrieved. There are two primary types of repositories:<ul>
     *     <li><dfn>{@linkplain org.apache.maven.api.LocalRepository local repository}</dfn>: A directory on the developer's machine where Maven caches
     *     downloaded artifacts.</li>
     *     <li><dfn>{@linkplain org.apache.maven.api.RemoteRepository remote repository}</dfn>: A central or distributed location from which Maven can download artifacts
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.32.md

    - kubeadm: added "disable success" and "disable denial" as parameters of the "cache" plugin in the Corefile managed by kubeadm. This is to prevent conflicting responses during CoreDNS cache updates. ([#128359](https://github.com/kubernetes/kubernetes/pull/128359), [@matteriben](https://github.com/matteriben)) [SIG Cluster Lifecycle]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 16 18:27:41 GMT 2025
    - 448.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

     *
     * The main method will execute the JMH benchmarks with the configured parameters.
     *
     * IMPORTANT: Caches are only cleared between trials (10-second periods), not between individual
     * iterations, to properly test the cache benefits within each measurement period.
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MICROSECONDS)
    @Warmup(iterations = 3, time = 1)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.20.md

      - Regenerate list of EC2 instances
      - Fix pricing endpoint in AWS China Region
      
      ### Azure
      - Add optional jitter on initial VMSS VM cache refresh, keep the refreshes spread over time
      - Serve from cache for the whole period of ongoing throttling
      - Fix unwanted VMSS VMs cache invalidation
      - Enforce setting the number of retries if cloud provider backoff is enabled
      - Don't update capacity if VMSS provisioning state is updating
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
Back to Top