Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/tar/reader.go

    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    	)
    
    	// feedTokens copies data in blocks from r into buf until there are
    	// at least cnt newlines in buf. It will not read more blocks than needed.
    	feedTokens := func(n int64) error {
    		for cntNewline < n {
    			if _, err := mustReadFull(r, blk[:]); err != nil {
    				return err
    			}
    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