Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setRemaining (0.73 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.openTimeout = openTimeout;
        }
    
        /**
         * Sets the remaining bytes count.
         *
         * @param remaining
         *            the remaining to set
         */
        public final void setRemaining(final int remaining) {
            this.remaining = remaining;
        }
    
        void setParam(final int fid, final long offset, final int maxCount) {
            this.fid = fid;
            this.offset = offset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                            // Use fixed 1024 values for named pipes
                            request.setMinCount(1024);
                            request.setMaxCount(1024);
                            request.setRemaining(1024);
                        } else if (this.largeReadX) {
                            // Optimize large read requests
                            request.setMaxCount(r & 0xFFFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(512, response.getRemaining());
    
                // Second read - should update values
                byte[] buffer2 = createValidWriteResponse(2048, 1024);
                response.readBytesWireFormat(buffer2, 0);
                assertEquals(2048, response.getCount());
                assertEquals(1024, response.getRemaining());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

        public final int getCount() {
            return this.count;
        }
    
        /**
         * Returns the number of bytes remaining to be written.
         *
         * @return the remaining
         */
        public final int getRemaining() {
            return this.remaining;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024");
                assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024");
                assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024");
            }
        }
    
        @Nested
        @DisplayName("Lifecycle and exception mapping")
        class LifecycleAndExceptions {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top