Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 385 for dst2 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(range, "lengthInBytes", 654321L);
            byte[] dst = new byte[20];
            int writtenSize = range.encode(dst, 0);
            assertEquals(10, writtenSize, "Range size when not large should be 10");
            // create a new empty range and decode
            LockingAndXRange decoded = new LockingAndXRange(false);
            int decodedSize = decoded.decode(dst, 0, dst.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeInt2(fid, dst, dstIndex);
            dstIndex += 2;
            writeInt2(count, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset, dst, dstIndex);
            dstIndex += 4;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComRename.java

        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            writeInt2(searchAttributes, dst, dstIndex);
            return 2;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(oldFileName, dst, dstIndex);
            dst[dstIndex++] = (byte) 0x04;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                passwordLength = 1;
            }
    
            dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(passwordLength, dst, dstIndex);
            return 4;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.maxCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.minCount, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.count, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        }
    
        // Helper method to write a 4-byte integer to a byte array.
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
            dst[dstIndex + 2] = (byte) (val >> 16);
            dst[dstIndex + 3] = (byte) (val >> 24);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top