- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 477 for Cached (0.07 seconds)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
.url(url) .post(true) .build(), ) runBatch(badProviders, names) println("cached first run\n****************\n") names = listOf("google.com", "graph.facebook.com") bootstrapClient = bootstrapClient .newBuilder() .cache(dnsCache) .build() dnsProviders = providers( client = bootstrapClient, http2Only = true,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
*/ public static final int DIRECTORY_FULL = Smb2LeaseState.SMB2_LEASE_FULL; /** * Check if directory can cache enumeration results * @param state lease state * @return true if directory enumeration can be cached */ public static boolean canCacheEnumeration(int state) { return Smb2LeaseState.hasReadCaching(state); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.5K bytes - Click Count (0) -
.github/workflows/vulncheck.yml
steps: - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with: go-version: 1.24.x cached: false - name: Get official govulncheck run: go install golang.org/x/vuln/cmd/govulncheck@latest shell: bash - name: Run govulncheck run: govulncheck -show verbose ./...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 24 23:34:11 GMT 2025 - 682 bytes - Click Count (0) -
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) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
""" fileSystem.createDirectory(cache.directoryPath) writeFile(cache.directoryPath, "$urlKey.0", entryMetadata) writeFile(cache.directoryPath, "$urlKey.1", entryBody) writeFile(cache.directoryPath, "journal", journalBody) cache = Cache(fileSystem, cache.directory.path.toPath(), Int.MAX_VALUE.toLong()) client = client .newBuilder() .cache(cache) .build()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 116.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
entry.updateState(newState); // Flush any cached data if losing write cache if (Smb2LeaseState.hasWriteCaching(oldState) && !Smb2LeaseState.hasWriteCaching(newState)) { flushCachedWrites(entry.getPath()); } // Invalidate cached data if losing read cache
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
String directoryPath = smbFile.getPath(); // Check if we can use cached directory listing if (dirManager.canCacheDirectoryListing(directoryPath)) { List<SmbFile> cachedFiles = dirManager.getCachedDirectoryListing(directoryPath); if (cachedFiles != null) { log.debug("Using cached directory listing for: {}", directoryPath);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
} } @Test public void testPutNewValue() { assertThat(mapCache.put("key", "value")).isNull(); assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached assertThat(mapCache.put("key", "new value")).isEqualTo("value"); assertThat(mapCache.get("key")).isEqualTo("new value"); } @Test public void testRemoveEqualKeyWithDifferentReference() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed List<Entry<Object, Object>> unused = warmUp(cache); assertThat(cache.size()).isEqualTo(WARMUP_SIZE); assertMapSize(cache.asMap(), WARMUP_SIZE); checkValidState(cache); } } public void testContainsKey_found() { for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
cmd/metacache-manager.go
if err != nil { return err } cache := *c if cache.status == scanStateNone || cache.fileNotFound { return errFileNotFound } if cache.status == scanStateSuccess || cache.status == scanStateStarted { if time.Since(cache.lastUpdate) > metacacheMaxRunningAge { // We got a stale entry, mark error on handling server. err := fmt.Errorf("timeout: list %s not updated", cache.id) cache.error = err.Error()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 5.2K bytes - Click Count (0)