Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for least (0.27 sec)

  1. src/archive/tar/writer.go

    			nf = dataEnd - sw.pos
    			nf, err = io.CopyN(sw.fw, rs, nf)
    		}
    		sw.pos += nf
    		if sw.pos >= dataEnd && len(sw.sp) > 1 {
    			sw.sp = sw.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	// If the last fragment is a hole, then seek to 1-byte before EOF, and
    	// read a single byte to ensure the file is the right size.
    	if readLastByte && err == nil {
    		_, err = mustReadFull(rs, []byte{0})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top