- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 52 for 1048577 (0.21 seconds)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
@Test 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) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Free allocation units (512K) buffer.putInt(8); // Sectors per allocation unit buffer.putInt(512); // Bytes per sectorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response.readParameterWordsWireFormat(buffer, 0); assertEquals(fileAttribute, response.getAttributes()); } @ParameterizedTest @ValueSource(longs = { 0L, 1024L, 1048576L, 2147483647L }) void testDifferentFileSizes(long fileSize) { // Test various file size values (excluding values that would overflow signed int) response = new SmbComQueryInformationResponse(mockConfig, 0L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Caller available allocation units (512K) buffer.putLong(524288L); // Actual free allocation units (512K)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @ParameterizedTest @DisplayName("Should handle various offset values") @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE }) void testVariousOffsets(long offset) { assertDoesNotThrow(() -> request.setOffset(offset)); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertDoesNotThrow(() -> request.setReadLength(length)); } @ParameterizedTest @DisplayName("Should handle various offsets") @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE }) void testVariousOffsets(long offset) { assertDoesNotThrow(() -> request.setOffset(offset)); } } @Nested @DisplayName("Size Calculation Tests")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
xlMeta.Format = xlMetaFormat xlMeta.Minio.Release = "test" xlMeta.Erasure = ErasureInfo{ Algorithm: "klauspost/reedsolomon/vandermonde", DataBlocks: 5, ParityBlocks: 5, BlockSize: 10485760, Index: 10, Distribution: []int{9, 10, 1, 2, 3, 4, 5, 6, 7, 8}, } xlMeta.Stat = StatInfo{ Size: int64(20), ModTime: UTCNow(), } // Set meta data. xlMeta.Meta = make(map[string]string)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
void testSizeAndSpace() throws CIFSException { // Given long expectedLength = 1024L; long expectedFreeSpace = 1048576L; when(mockResource.length()).thenReturn(expectedLength); when(mockResource.getDiskFreeSpace()).thenReturn(expectedFreeSpace); // When long length = mockResource.length();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
api/go1.3.txt
pkg syscall (freebsd-386), const MSG_CMSG_CLOEXEC ideal-int pkg syscall (freebsd-386), const NAME_MAX = 255 pkg syscall (freebsd-386), const NAME_MAX ideal-int pkg syscall (freebsd-386), const O_CLOEXEC = 1048576 pkg syscall (freebsd-386), const RTF_GWFLAG_COMPAT = 2147483648 pkg syscall (freebsd-386), const RTF_GWFLAG_COMPAT ideal-int pkg syscall (freebsd-386), const RT_NORTREF = 2
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
assertThat(recordedRequest.bodySize).isEqualTo(1048576) assertThat(recordedRequest.chunkSizes).isNotNull() } @Test fun uploadBodySmallFixedLength() { upload(false, 1048576, 256) val recordedRequest = server.takeRequest() assertThat(recordedRequest.bodySize).isEqualTo(1048576) assertThat(recordedRequest.chunkSizes).isNull() } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0)