Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CRC32 (0.2 sec)

  1. src/archive/zip/reader_test.go

    		// Corrupt one of the CRC32s in the data descriptor:
    		b[0x2d]++
    	})
    }
    
    func returnCorruptNotStreamedZip() (r io.ReaderAt, size int64) {
    	return messWith("crc32-not-streamed.zip", func(b []byte) {
    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top