Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompressedSize (0.06 sec)

  1. src/archive/zip/writer_test.go

    				t.Fatalf("flate Writer.Close err = %v", err)
    			}
    			compressedContent = buf.Bytes()
    			f.compressedSize = uint64(len(compressedContent))
    		}
    
    		h := &FileHeader{
    			Name:               f.name,
    			Method:             f.method,
    			Flags:              f.flags,
    			CRC32:              f.crc32,
    			CompressedSize64:   f.compressedSize,
    			UncompressedSize64: f.uncompressedSize,
    		}
    		w, err := w.CreateRaw(h)
    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.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)
    	}
    
    	return w.writeDataDescriptor()
    }
    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