- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 163 for Marche (0.04 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testContentCache() { CurlResponse response = new CurlResponse(); byte[] data = "test content".getBytes(); ContentCache cache = new ContentCache(data); response.setContentCache(cache); // ContentCache is not directly accessible, but we can test through content methods assertNotNull(response); } @TestRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} /** * Test that buffer cache handles allocation when cache is full. */ @Test public void testBufferAllocationWhenCacheFull() { // Given - Allocate many buffers to potentially fill the cache List<byte[]> buffers = new ArrayList<>(); // Allocate more buffers than cache can hold for (int i = 0; i < 20; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
} // Tests for cache @Test void testCache_DfsDisabled() { // Scenario: DFS is disabled. when(mockConfig.isDfsDisabled()).thenReturn(true); DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class); // Should not throw any exception and simply return. assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/BufferCache.java
*/ public interface BufferCache { /** * Gets a buffer from the cache or creates a new one if the cache is empty. * * @return a buffer from the cache, or a new one */ byte[] getBuffer(); /** * Return a buffer to the cache * * @param buf the buffer to return to the cache for reuse */ void releaseBuffer(byte[] buf);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* byte[] data = "example data".getBytes(); * try (ContentCache cache = new ContentCache(data)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * * // File-based caching * File file = new File("example.txt"); * try (ContentCache cache = new ContentCache(file)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * } * </pre>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
protected static final String CONTENT_DISPOSITION = "Content-Disposition"; /** Cache key for highlighted cache content */ protected static final String HL_CACHE = "hl_cache"; /** Cache key for search queries */ protected static final String QUERIES = "queries"; /** Cache key for cache message */ protected static final String CACHE_MSG = "cache_msg";Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
String key = "key-" + i; entry.setKey(key); entry.setCacheMap(cache); entry.replaceCache(); } // Verify all entries assertEquals(10, cache.size()); for (int i = 0; i < 10; i++) { assertNotNull(cache.get("key-" + i)); } // Replace some entriesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (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();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0)