Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setReadSize (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(0, testMessage.getCreditCharge());
            }
    
            @Test
            @DisplayName("Should get and set read size")
            void testReadSizeProperty() {
                testMessage.setReadSize(1024);
                // No getter for readSize, but it's used internally in decode
            }
    
            @Test
            @DisplayName("Should check if async")
            void testAsyncProperty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return this.nextCommand;
        }
    
        /**
         * Sets the read size for this message.
         *
         * @param readSize
         *            the readSize to set
         */
        public void setReadSize(final int readSize) {
            this.readSize = readSize;
        }
    
        /**
         * Checks whether this message is an asynchronous message.
         *
         * @return the async
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                System.arraycopy(this.sbuf, 4, buffer, 0, Smb2Constants.SMB2_HEADER_LENGTH);
                readn(this.in, buffer, Smb2Constants.SMB2_HEADER_LENGTH, rl - Smb2Constants.SMB2_HEADER_LENGTH);
    
                cur.setReadSize(rl);
                int len = cur.decode(buffer, 0);
    
                if (len > rl) {
                    throw new IOException(String.format("WHAT? ( read %d decoded %d ): %s", rl, len, cur));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top