Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 385 for dst2 (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

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

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (log.isDebugEnabled()) {
                log.debug("Opening " + this.name);
                log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4));
            }
    
            SMBUtil.writeInt2(57, dst, dstIndex);
            dst[dstIndex + 2] = this.securityFlags;
            dst[dstIndex + 3] = this.requestedOplockLevel;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0);
            dst[dstIndex + 3] = (byte) this.securityMode;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            byte[] dst = new byte[10];
    
            // writeSetupWireFormat writes 4 bytes:
            // - subCommand byte
            // - 3 zero bytes (padding and no FID)
            int written = pipe.writeSetupWireFormat(dst, 0);
    
            assertEquals(4, written, "Setup should write 4 bytes");
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            if (this.largeFile) {
                SMBUtil.writeInt2(this.pid, dst, dstIndex);
                SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4);
                SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8);
                SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeInt2(fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.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
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

                }
                for (; i < 15; i++) {
                    dst[dstIndex + 2 * i + 1] = (byte) 0x43;
                    dst[dstIndex + 2 * i + 2] = (byte) 0x41;
                }
                dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41);
                dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
            } catch (final UnsupportedEncodingException uee) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.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: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top