Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for 1048577 (0.07 sec)

  1. 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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. 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));
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. 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)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    	}, {
    		// The truncated test file was produced using these commands:
    		//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    		//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    		file: "testdata/writer-big.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg syscall (darwin-386), const NOTE_LOWAT = 1
    pkg syscall (darwin-386), const NOTE_NONE = 128
    pkg syscall (darwin-386), const NOTE_NSECONDS = 4
    pkg syscall (darwin-386), const NOTE_PCTRLMASK = -1048576
    pkg syscall (darwin-386), const NOTE_PDATAMASK = 1048575
    pkg syscall (darwin-386), const NOTE_REAP = 268435456
    pkg syscall (darwin-386), const NOTE_RENAME = 32
    pkg syscall (darwin-386), const NOTE_RESOURCEEND = 33554432
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top