Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 286 for dstIndex (0.07 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

        protected int writePayload(byte[] dst, int dstIndex) {
            int start = dstIndex;
            
            // StructureSize (2 bytes) - must be 44
            writeInt2(dst, dstIndex, 44);
            dstIndex += 2;
            
            // Reserved (2 bytes)
            writeInt2(dst, dstIndex, 0);
            dstIndex += 2;
            
            // Flags (4 bytes)
            writeInt4(dst, dstIndex, flags);
            dstIndex += 4;
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

                    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) {}
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.targetOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.length, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // reserved
            return dstIndex - start;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for (final SrvCopychunk chk : this.chunks) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            this.wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
            dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += this.wordCount;
            this.wordCount /= 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Name.java

        int writeScopeWireFormat(final byte[] dst, int dstIndex) {
            if (this.scope == null) {
                dst[dstIndex] = (byte) 0x00;
                return 1;
            }
    
            // copy new scope in
            dst[dstIndex] = (byte) '.';
            dstIndex++;
            System.arraycopy(Strings.getOEMBytes(this.scope, this.config), 0, dst, dstIndex, this.scope.length());
            dstIndex += this.scope.length();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            dstIndex += 2;
            dstIndex += 2; // Reserved1
            dstIndex += 4; // Reserved2
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

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

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top