Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMemoryBasedCacheWithLargeData (0.6 seconds)

  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);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top