Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for 10485760 (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0300);
            setPrivateField(response, "maxReadSize", 1048576);
            setPrivateField(response, "maxWriteSize", 1048576);
            setPrivateField(response, "maxTransactSize", 1048576);
    
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
            when(mockConfig.getReceiveBufferSize()).thenReturn(32768);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

         */
        public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001;
    
        /**
         * Default maximum size for RDMA read/write operations (1MB)
         */
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB
    
        /**
         * Default maximum number of receive credits
         */
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
    
        /**
         * Default target number of send credits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/asm/internal/asm/testdata/arm.s

    	ADD	$0x000fffff, R0, R1 // ADD $1048575, R0, R1    // 011680e2011041e2
    	ADC	$0x000fffff, R0, R1 // ADC $1048575, R0, R1    // 0116a0e2011041e2
    	SUB	$0x000fffff, R0, R1 // SUB $1048575, R0, R1    // 011640e2011081e2
    	SBC	$0x000fffff, R0, R1 // SBC $1048575, R0, R1    // 0116c0e2011081e2
    	RSB	$0x000fffff, R0, R1 // RSB $1048575, R0, R1    // 011660e2011041e2
    	RSC	$0x000fffff, R0, R1 // RSC $1048575, R0, R1    // 0116e0e2011041e2
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top