Lines Matching full:zip

5 package zip  package
34 // Information describing expected zip file content.
57 // time from what the archive/zip package provides, but there appears
62 Name: "test.zip",
80 Name: "test-trailing-junk.zip",
98 Name: "r.zip",
102 Name: "r/r.zip",
110 Name: "symlink.zip",
120 Name: "readme.zip",
127 Name: "dd.zip",
139 Name: "winxp.zip",
143 // created by Zip 3.0 under Linux
144 Name: "unix.zip",
150 Name: "go-no-datadesc-sig.zip",
169 Name: "go-with-datadesc-sig.zip",
203 Name: "crc32-not-streamed.zip",
222 Name: "crc32-not-streamed.zip",
241 Name: "zip64.zip",
253 Name: "zip64-2.zip",
265 Name: "big.zip",
326 // bail if file is not zip
332 // (there may actually be files in the zip, but we don't care)
484 return messWith("go-with-datadesc-sig.zip", func(b []byte) {
491 return messWith("crc32-not-streamed.zip", func(b []byte) {
506 // rZipBytes returns the bytes of a recursive zip file, without
552 // biggestZipBytes returns the bytes of a zip file biggest.zip
553 // that contains a zip file bigger.zip that contains a zip file
554 // big.zip that contains big.file, which contains 2³²-1 zeros.
555 // The big.zip file is interesting because it has no zip64 header,
556 // much like the innermost zip files in the well-known 42.zip.
558 // biggest.zip was generated by changing isZip64 to use > uint32max
564 // "archive/zip"
582 // if err := ioutil.WriteFile("/tmp/big.zip", bigZip, 0666); err != nil {
586 // biggerZip := makeZip("big.zip", bytes.NewReader(bigZip))
587 // if err := ioutil.WriteFile("/tmp/bigger.zip", biggerZip, 0666); err != nil {
591 // biggestZip := makeZip("bigger.zip", bytes.NewReader(biggerZip))
592 // if err := ioutil.WriteFile("/tmp/biggest.zip", biggestZip, 0666); err != nil {
599 // w := zip.NewWriter(&buf)
617 // problems with on-disk virus scanners or other zip processors.