- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testValidHeader (0.1 sec)
-
src/archive/zip/zip_test.go
} h.SetModTime(ts) testValidHeader(&h, t) } func TestHeaderTooShort(t *testing.T) { h := FileHeader{ Name: "foo.txt", Method: Deflate, Extra: []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing } testValidHeader(&h, t) } func TestHeaderTooLongErr(t *testing.T) { var headerTests = []struct {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0)