Lines Matching full:numbytes
39 // A numBytesReader is an io.Reader with a numBytes method, returning the number
43 numBytes() int64
64 paxGNUSparseNumBytes = "GNU.sparse.numbytes"
417 nr := tr.numBytes() + tr.pad // number of bytes to skip
556 numBytes int64
574 numBytes := tr.octal(s.next(oldGNUSparseNumBytesSize))
579 if offset == 0 && numBytes == 0 {
582 sp = append(sp, sparseEntry{offset: offset, numBytes: numBytes})
595 numBytes := tr.octal(s.next(oldGNUSparseNumBytesSize))
600 if offset == 0 && numBytes == 0 {
603 sp = append(sp, sparseEntry{offset: offset, numBytes: numBytes})
679 // Read numBytes
680 numBytes, err := readDecimal()
685 sp = append(sp, sparseEntry{offset: offset, numBytes: numBytes})
718 numBytes, err := strconv.ParseInt(sparseMap[2*i+1], 10, 0)
722 sp = append(sp, sparseEntry{offset: offset, numBytes: numBytes})
728 // numBytes returns the number of bytes left to read in the current file's entry
730 func (tr *Reader) numBytes() int64 {
735 return tr.curr.numBytes()
769 // numBytes returns the number of bytes left to read in the file's data in the tar archive.
770 func (rfr *regFileReader) numBytes() int64 {
811 bytesLeft := sfr.sp[0].numBytes - posInFragment
831 // numBytes returns the number of bytes left to read in the sparse file's
833 func (sfr *sparseFileReader) numBytes() int64 {