Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clear (0.1 sec)

  1. src/archive/tar/reader.go

    }
    func (sr sparseFileReader) physicalRemaining() int64 {
    	return sr.fr.physicalRemaining()
    }
    
    type zeroReader struct{}
    
    func (zeroReader) Read(b []byte) (int, error) {
    	clear(b)
    	return len(b), nil
    }
    
    // mustReadFull is like io.ReadFull except it returns
    // io.ErrUnexpectedEOF when io.EOF is hit before len(b) bytes are read.
    func mustReadFull(r io.Reader, b []byte) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top