Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ChecksumIEEE (0.19 sec)

  1. src/archive/zip/writer_test.go

    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    	w := NewWriter(archive)
    
    	for i := range files {
    		f := &files[i]
    		f.crc32 = crc32.ChecksumIEEE(f.content)
    		size := uint64(len(f.content))
    		f.uncompressedSize = size
    		f.compressedSize = size
    
    		var compressedContent []byte
    		if f.method == Deflate {
    			var buf bytes.Buffer
    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. cmd/admin-handlers.go

    			// Replace the server prefix/suffix with anonymized ones
    			for idx, lbl := range idxMap {
    				if len(poolsMatch[idx]) > 0 {
    					poolsMatch[idx] = fmt.Sprintf("%s%d", lbl, crc32.ChecksumIEEE([]byte(poolsMatch[idx])))
    				}
    			}
    
    			// Remove the original pools args present at index 0
    			anonPools[pi] = strings.Join(poolsMatch[1:], "")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top