Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 51 for 1048577 (0.07 seconds)

  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)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. 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 Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Click Count (0)
  7. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (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,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top