Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setMaxBufferSize (1.44 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

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

            if (req.isUseUnicode()) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if (req instanceof SmbComTransaction) {
                ((SmbComTransaction) req).setMaxBufferSize(this.snd_buf_size);
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#setupResponse(jcifs.util.transport.Response)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        }
    
        /**
         * Sets the maximum buffer size for this transaction
         * @param maxBufferSize
         *            the maxBufferSize to set
         */
        public final void setMaxBufferSize(final int maxBufferSize) {
            this.maxBufferSize = maxBufferSize;
        }
    
        /**
         * Sets the maximum data count for this transaction
         * @param maxDataCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top