Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for __cache (0.39 sec)

  1. 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.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  2. 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;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // The rebuild is retried on cache hits and on cache edits.
        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
        assertThat(cache["c"]).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. 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;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		newCache.buildUserGroupMemberships()
    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. okhttp/api/okhttp.api

    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    	public static final field Companion Lokhttp3/Cache$Companion;
    	public final fun -deprecated_directory ()Ljava/io/File;
    	public fun <init> (Ljava/io/File;J)V
    	public fun <init> (Lokio/FileSystem;Lokio/Path;J)V
    	public fun close ()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  7. .teamcity/test-buckets.json

    					"launcher",
    					"plugins-java",
    					"antlr",
    					"base-services",
    					"build-cache",
    					"build-cache-http",
    					"build-cache-local",
    					"build-cache-spi",
    					"build-configuration",
    					"build-events",
    					"build-init",
    					"build-profile",
    					"composite-builds",
    					"configuration-cache",
    					"core",
    					"core-api",
    					"declarative-dsl-core",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
        /** Sets the response cache to be used to read and write cached responses. */
        fun cache(cache: Cache?) =
          apply {
            this.cache = cache
          }
    
        internal fun taskRunner(taskRunner: TaskRunner) =
          apply {
            this.taskRunner = taskRunner
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(cache.requestCount()).isEqualTo(1)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(0)
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      private fun enableCache(): Cache? {
        cache = makeCache()
        client = client.newBuilder().cache(cache).build()
        return cache
      }
    
      private fun makeCache(): Cache {
        val cacheDir = File.createTempFile("cache-", ".dir")
        cacheDir.delete()
        return Cache(cacheDir, (1024 * 1024).toLong())
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top