Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for 6553600 (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        }
    
        @Override
        public String getProviderName() {
            return "TCP Fallback";
        }
    
        @Override
        public int getMaxMessageSize() {
            return 65536; // 64KB for TCP
        }
    
        @Override
        public void shutdown() {
            // Nothing to clean up for TCP
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        private Smb2QueryDirectoryRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration only")
        void testConstructorWithConfig() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign method with large data array")
        void testSignWithLargeData() {
            // Arrange
            byte[] largeData = new byte[65536]; // 64KB
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 1024;
            int length = 32768; // 32KB
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        /** Open function overwrite if exists */
        int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        /** Process ID */
        int PID = (int) (Math.random() * 65536d);
    
        /** Share level security */
        int SECURITY_SHARE = 0x00;
        /** User level security */
        int SECURITY_USER = 0x01;
    
        /** Command offset in SMB header */
        int CMD_OFFSET = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Given
            when(mockDelegate.getSendBufferSize()).thenReturn(8192);
            when(mockDelegate.getReceiveBufferSize()).thenReturn(8192);
            when(mockDelegate.getMaximumBufferSize()).thenReturn(65536);
            when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
            when(mockDelegate.getBufferCacheSize()).thenReturn(16);
            when(mockDelegate.getNotifyBufferSize()).thenReturn(1024);
    
    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/smb2/ioctl/Smb2IoctlRequestTest.java

        @BeforeEach
        void setUp() {
            Arrays.fill(TEST_FILE_ID, (byte) 0x42);
        }
    
        private void setupMockConfig() {
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
        }
    
        private void setupMockContext() {
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with config and control code")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
    
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) i;
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getSendBufferSize returns standard size")
        void testGetSendBufferSizeStandard() {
            // Arrange
            int expectedSize = 65536;
            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)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[65536]; // Large buffer
            int bufferIndex = 65534; // Near the end
    
            // Set structure size to 2
            SMBUtil.writeInt2(2, buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            response.setSelectedVersion(request.getMaxVersion());
            response.setCreditsGranted(request.getCreditsRequested());
            response.setMaxReceiveSize(Math.min(request.getMaxReceiveSize(), 65536));
            response.setMaxReadWriteSize(0); // No RDMA read/write support
            response.setMaxFragmentedSize(request.getMaxFragmentedSize());
    
            state = RdmaConnectionState.ESTABLISHED;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top