Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getHeaderStart (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            bufferIndex += 4;
            this.dataRemaining = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            int dataStart = getHeaderStart() + dataOffset;
    
            if ( this.dataLength + this.outputBufferOffset > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Buffer to small for read response");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if ( this.token != null ) {
                System.arraycopy(this.token, 0, dst, dstIndex, this.token.length);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            bufferIndex += 4;
    
            if ( createContextOffset > 0 && createContextLength > 0 ) {
                List<CreateContextResponse> contexts = new LinkedList<>();
                int createContextStart = getHeaderStart() + createContextOffset;
                int next = 0;
                do {
                    int cci = createContextStart;
                    next = SMBUtil.readInt4(buffer, cci);
                    cci += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            bufferIndex += 4;
    
            int negotiateContextOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            int hdrStart = getHeaderStart();
            if ( hdrStart + securityBufferOffset + securityBufferLength < buffer.length ) {
                this.securityBuffer = new byte[securityBufferLength];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt4(this.writeFlags, dst, dstIndex);
            dstIndex += 4;
    
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, dataOffsetOffset);
    
            if ( dstIndex + this.dataLength > dst.length ) {
                throw new IllegalArgumentException(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                dstIndex += 2;
            }
    
            dstIndex += pad8(dstIndex);
    
            if ( this.negotiateContexts != null && this.negotiateContexts.length != 0 ) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, negotitateContextOffsetOffset);
                for ( NegotiateContextRequest nc : this.negotiateContexts ) {
                    SMBUtil.writeInt2(nc.getContextType(), dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

                SMBUtil.writeInt2(0, dst, fnLengthOffset);
            }
            else {
                byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
                SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
                System.arraycopy(fnBytes, 0, dst, dstIndex, fnBytes.length);
                dstIndex += fnBytes.length;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         */
        public final byte getErrorContextCount () {
            return this.errorContextCount;
        }
    
    
        /**
         * @return the headerStart
         */
        public final int getHeaderStart () {
            return this.headerStart;
        }
    
    
        /**
         * @return the length
         */
        public final int getLength () {
            return this.length;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
Back to top