Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMemoryBasedCacheWithLargeData (1.78 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                assertNotNull(stream);
                assertEquals(-1, stream.read()); // Should indicate end of stream
            }
        }
    
        @Test
        public void testMemoryBasedCacheWithLargeData() throws IOException {
            // Create a large byte array (1MB)
            byte[] data = new byte[1024 * 1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top