Home | History | Annotate | Download | only in zip

Lines Matching defs:zip

7 package zip
198 // Just testing the rleBuffer used in the Zip64 test above. Not used by the zip code.
248 // Test a zip file with uncompressed size 0xFFFFFFFF.
252 // writing an invalid zip file.
416 func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool {
418 if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
428 dirOff, err := findDirectory64End(zip, zip.Size()-int64(len(d))+int64(sigOff))
437 if _, err := zip.ReadAt(d, dirOff); err != nil {
459 // gen returns a func that writes a zip with a wantLen bytes
511 // write size bytes plus "END\n" to a zip file
547 // read back zip file and check that we get to the end of it
613 t.Fatalf("error closing zip writer: %v", err)
671 // write a zip file
715 // our zip performance, since the test above disabled CRC32 and flate.