- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parsePAXRecord (0.12 sec)
-
src/archive/tar/strconv_test.go
for _, v := range vectors { key, val, res, err := parsePAXRecord(v.in) ok := (err == nil) if ok != v.ok { if v.ok { t.Errorf("parsePAXRecord(%q): got parsing failure, want success", v.in) } else { t.Errorf("parsePAXRecord(%q): got parsing success, want failure", v.in) } } if v.ok && (key != v.wantKey || val != v.wantVal) { t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)",
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
src/archive/tar/reader.go
// headers since 0.0 headers were not PAX compliant. var sparseMap []string paxHdrs := make(map[string]string) for len(sbuf) > 0 { key, value, residual, err := parsePAXRecord(sbuf) if err != nil { return nil, ErrHeader } sbuf = residual switch key { case paxGNUSparseOffset, paxGNUSparseNumBytes: // Validate sparse header order and value.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0)