Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for DataOffset (0.13 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    if ( cc != null ) {
                        cc.decode(buffer, createContextStart + dataOffset, dataLength);
                        contexts.add(cc);
                    }
    
                    cci = Math.max(cci, createContextStart + dataOffset + dataLength);
    
                    if ( next > 0 ) {
                        createContextStart += next;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

        /**
         * 
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 48;
    
        private byte[] data;
        private int dataOffset;
        private int dataLength;
    
        private byte[] fileId;
        private long offset;
        private int channel;
        private int remainingBytes;
        private int writeFlags;
    
    
        /**
         * @param config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            this.parameterDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            setDataCount(SMBUtil.readInt4(buffer, bufferIndex));
            bufferIndex += 4;
            this.dataOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.setupCount = buffer[ bufferIndex ] & 0xFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            }
    
            short dataOffset = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            this.dataLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataRemaining = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            int dataStart = getHeaderStart() + dataOffset;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

                writeInt4( parameterDisplacement, dst, dstIndex );
                dstIndex += 4;
            }
            writeInt4( dataCount, dst, dstIndex );
            dstIndex += 4;
            writeInt4(( dataCount == 0 ? 0 : dataOffset ), dst, dstIndex );
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( dataDisplacement, dst, dstIndex );
                dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

                dstIndex += 4;
            }
            SMBUtil.writeInt4(this.dataCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4( ( this.dataCount == 0 ? 0 : this.dataOffset ), dst, dstIndex);
            dstIndex += 4;
            if ( this.getCommand() == SMB_COM_NT_TRANSACT_SECONDARY ) {
                SMBUtil.writeInt4(this.dataDisplacement, dst, dstIndex);
                dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    int off = HEADER_LENGTH;
                                        /* WordCount thru dataOffset always 27 */
                    readn( in, BUF, 4 + off, 27 ); off += 27;
                    resp.decode( BUF, 4 );
                                                  /* EMC can send pad w/o data */
                    int pad = r.dataOffset - off;
                    if (r.byteCount > 0 && pad > 0 && pad < 4)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	}
    
    	// Update size...
    	binary.BigEndian.PutUint32(dst[dataOffset-4:dataOffset], uint32(len(dst)-dataOffset))
    
    	// Add CRC of metadata as fixed size (5 bytes)
    	// Prior to v1.3 this was variable sized.
    	tmp = tmp[:5]
    	tmp[0] = 0xce // muint32
    	binary.BigEndian.PutUint32(tmp[1:], uint32(xxhash.Sum64(dst[dataOffset:])))
    	dst = append(dst, tmp[:5]...)
    	return append(dst, x.data...), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. src/archive/zip/reader.go

    func (rc *ReadCloser) Close() error {
    	return rc.f.Close()
    }
    
    // DataOffset returns the offset of the file's possibly-compressed
    // data, relative to the beginning of the zip file.
    //
    // Most callers should instead use [File.Open], which transparently
    // decompresses data and verifies checksums.
    func (f *File) DataOffset() (offset int64, err error) {
    	bodyOffset, err := f.findBodyOffset()
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    	// Check that OpenRaw returns the correct byte segment
    	rw, err := f.OpenRaw()
    	if err != nil {
    		t.Errorf("%v: OpenRaw error=%v", f.Name, err)
    		return
    	}
    	start, err := f.DataOffset()
    	if err != nil {
    		t.Errorf("%v: DataOffset error=%v", f.Name, err)
    		return
    	}
    	got, err := io.ReadAll(rw)
    	if err != nil {
    		t.Errorf("%v: OpenRaw ReadAll error=%v", f.Name, err)
    		return
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top