Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for Remaining (1.04 sec)

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

            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
        }
    
        /**
         * Sets the parameters for this write request.
         *
         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            dataLength = len;
            command = SMB_COM_WRITE_ANDX;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
            assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        private int fid, count, offset, remaining, off;
        private byte[] b;
    
        SmbComWrite() {
            command = SMB_COM_WRITE;
        }
    
        SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

          super(expectedInputSize);
        }
    
        void write(ByteBuffer input) {
          int remaining = input.remaining();
          if (count + remaining > buf.length) {
            buf = Arrays.copyOf(buf, count + remaining);
          }
          input.get(buf, count, remaining);
          count += remaining;
        }
    
        byte[] byteArray() {
          return buf;
        }
    
        int length() {
          return count;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should read various remaining values")
            @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE })
            void testReadVariousRemainingValues(int remaining) throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(0, remaining);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

         * @return the count
         */
        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)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         */
        public SmbComWriteAndX(final Configuration config, final int fid, final long offset, final int remaining, final byte[] b, final int off,
                final int len, final ServerMessageBlock andx) {
            super(config, SMB_COM_WRITE_ANDX, andx);
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            this.dataLength = len;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

        public String toString() {
            return ("SmbComReadAndX[" + super.toString() + ",fid=" + fid + ",offset=" + offset + ",maxCount=" + maxCount + ",minCount="
                    + minCount + ",openTimeout=" + openTimeout + ",remaining=" + remaining + ",offset=" + offset + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top