Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeLastByte (0.09 sec)

  1. src/archive/tar/reader.go

    			ok = false // Not all io.Seeker can really seek
    		}
    	}
    	if !ok {
    		return io.Copy(w, struct{ io.Reader }{sr})
    	}
    
    	var writeLastByte bool
    	pos0 := sr.pos
    	for sr.logicalRemaining() > 0 && !writeLastByte && err == nil {
    		var nf int64 // Size of fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    		if sr.pos < holeStart { // In a data fragment
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top