Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompressedSize64 (0.12 sec)

  1. src/archive/zip/writer_test.go

    		}
    		if got.CRC32 != want.crc32 {
    			t.Errorf("%s: got CRC32 %#x; want %#x", want.name, got.CRC32, want.crc32)
    		}
    		if got.CompressedSize64 != want.compressedSize {
    			t.Errorf("%s: got CompressedSize64 %d; want %d", want.name, got.CompressedSize64, want.compressedSize)
    		}
    		if got.UncompressedSize64 != want.uncompressedSize {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	fh.CRC32 = w.crc32.Sum32()
    	fh.CompressedSize64 = uint64(w.compCount.count)
    	fh.UncompressedSize64 = uint64(w.rawCount.count)
    
    	if fh.isZip64() {
    		fh.CompressedSize = uint32max
    		fh.UncompressedSize = uint32max
    		fh.ReaderVersion = zipVersion45 // requires 4.5 - File uses ZIP64 format extensions
    	} else {
    		fh.CompressedSize = uint32(fh.CompressedSize64)
    		fh.UncompressedSize = uint32(fh.UncompressedSize64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top