Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for heder (0.13 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                        && this.sbuf[ 7 ] == (byte) 'B' ) {
                    this.smb2 = true;
                    // also read the rest of the header
                    int lenDiff = Smb2Constants.SMB2_HEADER_LENGTH - SmbConstants.SMB1_HEADER_LENGTH;
                    if ( readn(this.in, this.sbuf, 4 + SmbConstants.SMB1_HEADER_LENGTH, lenDiff) < lenDiff ) {
                        return null;
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
    
        @Override
        public int getHeaderFieldInt ( String header, int def ) {
            handshake();
            return this.connection.getHeaderFieldInt(header, def);
        }
    
    
        @Override
        public long getHeaderFieldDate ( String header, long def ) {
            handshake();
            return this.connection.getHeaderFieldDate(header, def);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        static final int IN        = 0x0001;
        static final int A         = 0x0001;
        static final int NS        = 0x0002;
        static final int NULL      = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
        static final int QUESTION_OFFSET = 4;
        static final int ANSWER_OFFSET = 6;
        static final int AUTHORITY_OFFSET = 8;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    if ((msg.flags & (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)) != (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)) {
                        buf.start = off;
                        buf.reset();
                        msg.encode_header(buf);
                        buf.enc_ndr_long(msg.alloc_hint);
                        buf.enc_ndr_short(0); /* context id */
                        buf.enc_ndr_short(msg.getOpnum());
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            synchronized (BUF) {
                System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH );
                int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF;
                if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) {
                    throw new IOException( "Invalid payload size: " + size );
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            }
            return bufferIndex - start;
        }
    
    
        protected int writeHeaderWireFormat ( byte[] dst, int dstIndex ) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, dst, dstIndex, SMBUtil.SMB2_HEADER.length);
    
            SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6);
            SMBUtil.writeInt2(this.command, dst, dstIndex + 12);
            SMBUtil.writeInt2(this.credit, dst, dstIndex + 14);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

    
    /**
     * @author mbechler
     *
     */
    public class Smb2ReadResponse extends ServerMessageBlock2Response {
    
        /**
         * 
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 16;
    
        private int dataRemaining;
        private int dataLength;
        private byte[] outputBuffer;
        private int outputBufferOffset;
    
    
        /**
         * @param config
         * @param outputBufferOffset
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
Back to top