Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for 8194 (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required)
            buffer.putShort((short) 50); // maxMpxCount
            buffer.putShort((short) 10); // maxNumberVcs
            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            testFileId = new byte[16];
            Arrays.fill(testFileId, (byte) 0xAB);
    
            // Use lenient stubbing for default configuration values
            lenient().when(mockConfig.getNotifyBufferSize()).thenReturn(8192);
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    
            request = new Smb2ChangeNotifyRequest(mockConfig, testFileId);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            // Test default values
            assertFalse(config.isUseRDMA(), "RDMA should be disabled by default");
            assertEquals("auto", config.getRdmaProvider(), "Default provider should be auto");
            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                int bytesDecoded = localResponse.decode(buffer, offset, responseData.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(7, localResponse.getChunksWritten());
                assertEquals(8192, localResponse.getChunkBytesWritten());
                assertEquals(57344, localResponse.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should decode minimum buffer size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testBufferConfigurationDelegation() {
            // Given
            when(mockDelegate.getSendBufferSize()).thenReturn(8192);
            when(mockDelegate.getReceiveBufferSize()).thenReturn(8192);
            when(mockDelegate.getMaximumBufferSize()).thenReturn(65536);
            when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertTrue(transaction.maxParameterCount > 0);
        }
    
        @Test
        @DisplayName("Test setMaxBufferSize")
        void testSetMaxBufferSize() {
            transaction.setMaxBufferSize(8192);
            assertEquals(8192, transaction.maxBufferSize);
        }
    
        @Test
        @DisplayName("Test setMaxDataCount")
        void testSetMaxDataCount() {
            transaction.setMaxDataCount(4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt8(1500, buffer, 8); // caller available allocation units
            writeInt8(1500, buffer, 16); // actual free units (skipped)
            writeInt4(4, buffer, 24); // sectors per allocation unit
            writeInt4(8192, buffer, 28); // bytes per sector
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(32, bytesRead, "Should read 32 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void getSendBufferSize_returns() throws Exception {
            // Arrange
            when(handle.getSendBufferSize()).thenReturn(8192);
    
            // Act
            int size = handle.getSendBufferSize();
    
            // Assert
            assertEquals(8192, size);
            verify(handle).getSendBufferSize();
        }
    
        @Test
        @DisplayName("getSendBufferSize(): propagates CIFSException on failure")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072;    // 128KB
        public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576;   // 1MB
    }
    ```
    
    ### 3.2 RDMA Provider Interface
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

         */
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
    
        /**
         * Default maximum receive size (8KB)
         */
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
    
        /**
         * Default maximum fragmented size (128KB)
         */
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB
    
        /**
         * Default maximum read/write size (1MB)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top