- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for 1MB (0.02 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
*/ public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001; /** * Default maximum size for RDMA read/write operations (1MB) */ public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB /** * Default maximum number of receive credits */ public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
CLAUDE.md
- **`ContentCache`**: In-memory or file-based caching. Implements `Closeable` and auto-deletes file cache on close. - **`ContentOutputStream`**: Extends `DeferredFileOutputStream`. Writes to memory until threshold (default 1MB) exceeded, then spills to temp file. ## Technical Details - **Java Version**: 17+ - **Dependencies**: Apache Commons IO (runtime), JUnit 4 (test) - **Module Name**: `org.codelibs.curl4j`
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB) assertTrue(buffer.length > 0, "Buffer size should be positive"); assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB"); } /** * Test that releaseBuffer validates buffer before accepting it. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
cmd/object-api-putobject_test.go
} // BenchmarkPutObject1MbFS - Benchmark FS.PutObject() for object size of 1MB. func BenchmarkPutObject1MbFS(b *testing.B) { benchmarkPutObject(b, "FS", 1*humanize.MiByte) } // BenchmarkPutObject1MbErasure - Benchmark Erasure.PutObject() for object size of 1MB. func BenchmarkPutObject1MbErasure(b *testing.B) { benchmarkPutObject(b, "Erasure", 1*humanize.MiByte) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
/** The initialization parameter map. */ protected Map<String, Object> initParamMap; /** The maximum cached content size in bytes. Default is 1MB. */ protected long maxCachedContentSize = 1024L * 1024L; // 1MB /** The access timeout in seconds. Default is null (no timeout). */ protected Integer accessTimeout = null; // secondsCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 9.7K bytes - Click Count (10) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Test excessive maxTransactSize (> 16MB) SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB SMBUtil.writeInt4(1024 * 1024, buffer, 32); // 1MB read size - valid SMBUtil.writeInt4(1024 * 1024, buffer, 36); // 1MB write size - valid SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
// Typical server response after copying chunks byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written 1048576, // 1MB per chunk 16777216 // 16MB total ); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
// Utility class - not instantiable } private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16); private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum // Use concurrent queue for lock-free operations private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue = new java.util.concurrent.ConcurrentLinkedQueue<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/config/crypto_test.go
b.Fatal(err) } plaintext.Reset(data) } } b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) }) b.Run("512KB", func(b *testing.B) { benchmarkEncrypt(512*1024, b) }) b.Run("1MB", func(b *testing.B) { benchmarkEncrypt(1024*1024, b) }) b.Run("10MB", func(b *testing.B) { benchmarkEncrypt(10*1024*1024, b) })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
} private boolean isLargeTransfer(CommonServerMessageBlock message) { if (message instanceof Smb2ReadRequest) { return ((Smb2ReadRequest) message).getReadLength() > 1048576; // 1MB } if (message instanceof Smb2WriteRequest) { // Data length not accessible, assume large writes for now return true; } return false; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0)