Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DataStart (0.12 sec)

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

            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");
            }
            System.arraycopy(buffer, dataStart, this.outputBuffer, this.outputBufferOffset, this.dataLength);
    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/archive/tar/writer.go

    	}
    
    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    		if sw.pos < dataStart { // In a hole fragment
    			bf := b[:min(int64(len(b)), dataStart-sw.pos)]
    			nf, err = zeroWriter{}.Write(bf)
    		} else { // In a data fragment
    			bf := b[:min(int64(len(b)), dataEnd-sw.pos)]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top