Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 584 for cacheop (0.17 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Step 3: Verify can cache directory listing
            assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Step 4: Initially no cached listing
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Step 5: Simulate directory enumeration and update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @see Function
         * @see Optional
         * @see HashMap#computeIfAbsent(Object, Function)
         */
        static UnaryOperator<String> memoize(UnaryOperator<String> callback) {
            Map<String, Optional<String>> cache = new HashMap<>();
            return s -> cache.computeIfAbsent(s, v -> Optional.ofNullable(callback.apply(v)))
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/BaseContextTest.java

            DfsResolver dfs2 = context.getDfs();
            BufferCache cache1 = context.getBufferCache();
            BufferCache cache2 = context.getBufferCache();
    
            // Then - should be same instances
            assertSame(config1, config2, "Configuration should be consistent");
            assertSame(dfs1, dfs2, "DFS resolver should be consistent");
            assertSame(cache1, cache2, "Buffer cache should be consistent");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/orig/view/cache.hbs

    Shinsuke Sugaya <******@****.***> 1462510149 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri May 06 04:49:09 UTC 2016
    - 324 bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/cache.hbs

    Shinsuke Sugaya <******@****.***> 1462510149 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri May 06 04:49:09 UTC 2016
    - 324 bytes
    - Viewed (0)
  7. cmd/metacache-bucket.go

    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.bucket != b.bucket {
    			logger.Info("cache bucket mismatch %s != %s", b.bucket, cache.bucket)
    			remove[id] = struct{}{}
    			continue
    		}
    	}
    
    	// If above limit, remove the caches with the oldest handout time.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          cache.invalidate("a");
          cache.invalidate("b");
          cache.invalidate(0);
          checkEmpty(cache);
        }
      }
    
      public void testInvalidateAll_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked("a");
          cache.getUnchecked("b");
          cache.getUnchecked("c");
          cache.invalidateAll();
          checkEmpty(cache);
        }
      }
    
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. docs/recipes.md

    it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt the response cache, and possibly crash your program.
    
    Response caching uses HTTP headers for all configuration. You can add request headers like `Cache-Control: max-stale=3600` and OkHttp's cache will honor them. Your webserver configures how long responses are cached with its own response headers, like `Cache-Control: max-age=9600`. There are cache headers to force...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    s.acctName = "userX";
                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top