- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for 1MB (0.01 seconds)
-
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) -
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/test/java/org/codelibs/curl/io/ContentCacheTest.java
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); } ContentCache cache = new ContentCache(data);
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) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
// Create a file larger than MAX_BUF_SIZE (10MB) // Write 11MB of data try (FileOutputStream fos = new FileOutputStream(largeFile)) { final byte[] chunk = new byte[1024 * 1024]; // 1MB for (int i = 0; i < 11; i++) { // Write 11MB fos.write(chunk); } } try { FileUtil.readBytes(largeFile);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
// Configuration constants private static final int MIN_COMPRESSION_SIZE = 512; // 512 bytes minimum private static final int MAX_COMPRESSION_SIZE = 1024 * 1024; // 1MB maximum private static final int COMPRESSION_LEVEL = Deflater.DEFAULT_COMPRESSION; // Supported algorithmsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255; public static final int DEFAULT_SEND_CREDIT_TARGET = 32; public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192; public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576; // 1MB } ``` ### 3.2 RDMA Provider Interface ```javaCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* * ESSourceReader reader = new ESSourceReader(client, settings, indexName); * reader.setScrollSize(1000); // Set the scroll size * reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query * * Map<String, Object> document; * while ((document = reader.read()) != null) { * // Process the document
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
public void testValidMessageSize() throws Exception { validator.validateMessageSize(1024, false); validator.validateMessageSize(65535, true); validator.validateMessageSize(1048576, false); // 1MB for SMB2 } @Test public void testMessageSizeTooSmall() throws Exception { assertThrows(SmbException.class, () -> { validator.validateMessageSize(20, false); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0)