- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for logicalRemaining (0.16 seconds)
-
src/archive/tar/reader.go
default: return n, err } } func (fr *regFileReader) WriteTo(w io.Writer) (int64, error) { return io.Copy(w, struct{ io.Reader }{fr}) } // logicalRemaining implements fileState.logicalRemaining. func (fr regFileReader) logicalRemaining() int64 { return fr.nb } // physicalRemaining implements fileState.physicalRemaining. func (fr regFileReader) physicalRemaining() int64 { return fr.nb }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
src/archive/tar/writer_test.go
} if len(f.ops) > 0 { t.Errorf("test %d.%d, expected %d more operations", i, j, len(f.ops)) } case testRemaining: if got := fw.logicalRemaining(); got != tf.wantLCnt { t.Errorf("test %d.%d, logicalRemaining() = %d, want %d", i, j, got, tf.wantLCnt) } if got := fw.physicalRemaining(); got != tf.wantPCnt {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/archive/tar/common.go
} // fileState tracks the number of logical (includes sparse holes) and physical // (actual in tar archive) bytes remaining for the current file. // // Invariant: logicalRemaining >= physicalRemaining type fileState interface { logicalRemaining() int64 physicalRemaining() int64 } // allowedFormats determines which formats can be used. // The value returned is the logical OR of multiple possible formats.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
src/archive/tar/reader_test.go
} if len(f.ops) > 0 { t.Errorf("test %d.%d, expected %d more operations", i, j, len(f.ops)) } case testRemaining: if got := fr.logicalRemaining(); got != tf.wantLCnt { t.Errorf("test %d.%d, logicalRemaining() = %d, want %d", i, j, got, tf.wantLCnt) } if got := fr.physicalRemaining(); got != tf.wantPCnt {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0)