Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for 1048577 (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

          expected[i] = 5300224;
        }
        // 97-111 are all 2342912
        for (int i = 97; i <= 111; i++) {
          expected[i] = 2342912;
        }
        // 113-117 are all 1048576
        for (int i = 113; i <= 117; i++) {
          expected[i] = 1048576;
        }
        // One offs
        expected[112] = 786432;
        expected[118] = 786432;
        expected[119] = 1048576;
        expected[120] = 458752;
        expected[121] = 524288;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getSendBufferSize returns large size")
        void testGetSendBufferSizeLarge() {
            // Arrange
            int expectedSize = 1048576;
            when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize);
    
            // Act
            int size = negotiationResponse.getSendBufferSize();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. docs/bucket/versioning/DESIGN.md

        {
          "Type": 1,
          "V2Obj": {
            "ID": "KWUs8S+8RZq4Vp5TWy6KFg==",
            "DDir": "X3pDAFu8Rjyft7QD6t7W5g==",
            "EcAlgo": 1,
            "EcM": 2,
            "EcN": 2,
            "EcBSize": 10485760,
            "EcIndex": 3,
            "EcDist": [3, 4, 1, 2],
            "CSumAlgo": 1,
            "PartNums": [1],
            "PartETags": [""],
            "PartSizes": [314],
            "PartASizes": [282],
            "Size": 314,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. 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;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

        class EdgeCasesTests {
    
            @ParameterizedTest
            @DisplayName("Should handle boundary values for capacity")
            @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1,
                    Long.MIN_VALUE + 1 })
            void shouldHandleBoundaryValuesForCapacity(long capacity) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    				Index:      []uint8(nil),
    				Checksums:  map[string]string(nil),
    			},
    		},
    		Erasure: ErasureInfo{
    			Algorithm:    "ReedSolomon",
    			DataBlocks:   6,
    			ParityBlocks: 6,
    			BlockSize:    1048576,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
    			Checksums:    []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}},
    		},
    		NumVersions: 1,
    		Idx:         0,
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        }
    
        /**
         * Test FileEndOfFileInformation with various end of file values
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L })
        @DisplayName("Test FileEndOfFileInformation with various values")
        void testFileEndOfFileInformationWithVariousValues(long endOfFile) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. 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 sector
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. 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)
Back to top