- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 670 for cacheop (0.07 seconds)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
} /** * Gets the maximum age for cached directory data before requiring refresh * @return the maximum cache age in milliseconds */ public long getMaxCacheAge() { return maxCacheAge; } /** * Sets the maximum age for cached directory data * @param maxCacheAge the maximum cache age in milliseconds */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
// Should not throw any exception. assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral)); } @Test void testCache_ValidPath() { // Scenario: A valid referral is cached. DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
/** * Gets a buffer from the cache or creates a new one if the cache is empty. * * Performance: O(1) operation using concurrent queue * * @return a byte buffer for SMB operations * @throws IllegalStateException if buffer size exceeds maximum allowed */ static public byte[] getBuffer() { // Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
* </p> * * <pre> * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class); * </pre> * <p> * {@link BeanDesc} is cached. To clear the cache, call {@link DisposableUtil#dispose()}. * </p> * * @author higa * @see BeanDesc * @see DisposableUtil */ public abstract class BeanDescFactory { /** * Do not instantiate.
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
README.md
- **Collections** (`org.codelibs.core.collection`) - Enhanced collection utilities, array operations, and specialized map/set implementations including LRU caches and case-insensitive collections - **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
entry.breaking = true; entry.updateState(newState); // Flush any cached data if losing write cache if (!entry.hasWriteCache()) { flushCachedWrites(entry.path); } // Invalidate cached data if losing read cache if (!entry.hasReadCache()) { invalidateReadCache(entry.path); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } } @Test
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it."); } @Test void testOpenConnection_CachedHandler_ReusesExistingHandler() throws Exception { // This test verifies that once a handler is cached, subsequent calls reuse it. setupMockProtocolHandlers(); URL url1 = new URL("http://example.com/resource1");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
} @Override public CacheRecord get(Key key) { return cache.get(key); } @Override public CacheRecord get(Key key, PluginRealmSupplier supplier) throws PluginResolutionException, PluginContainerException { try { return cache.computeIfAbsent(key, k -> { try { return supplier.load();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.5K bytes - Click Count (0)