Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/tar/reader.go

    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    		totalSize  int
    	)
    
    	// 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 {
    			totalSize += len(blk)
    			if totalSize > maxSpecialFileSize {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Oct 07 19:46:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top