Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for chksums (0.09 sec)

  1. src/archive/tar/reader_test.go

    				t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    			}
    
    			for i, sum := range chksums {
    				if i >= len(v.chksums) {
    					t.Fatalf("entry %d: unexpected sum: got %s", i, sum)
    				}
    				if sum != v.chksums[i] {
    					t.Fatalf("entry %d: incorrect checksum: got %s, want %s", i, sum, v.chksums[i])
    				}
    			}
    
    			if err != v.err {
    				t.Fatalf("unexpected error: got %v, want %v", err, v.err)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		chkSums, _ := objInfo.decryptChecksums(0, r.Header)
    		// AWS does not appear to append part number on this API call.
    		if len(chkSums) > 0 {
    			OA.Checksum = &objectAttributesChecksum{
    				ChecksumCRC32:     strings.Split(chkSums["CRC32"], "-")[0],
    				ChecksumCRC32C:    strings.Split(chkSums["CRC32C"], "-")[0],
    				ChecksumSHA1:      strings.Split(chkSums["SHA1"], "-")[0],
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		Size:              partInfo.Size,
    		ActualSize:        partInfo.ActualSize,
    		ChecksumCRC32:     partInfo.Checksums["CRC32"],
    		ChecksumCRC32C:    partInfo.Checksums["CRC32C"],
    		ChecksumSHA1:      partInfo.Checksums["SHA1"],
    		ChecksumSHA256:    partInfo.Checksums["SHA256"],
    		ChecksumCRC64NVME: partInfo.Checksums["CRC64NVME"],
    	}, nil
    }
    
    // GetMultipartInfo returns multipart metadata uploaded during newMultipartUpload, used
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    					return
    				}
    			}
    		case "Checksums":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			if cap(z.Checksums) >= int(zb0003) {
    				z.Checksums = (z.Checksums)[:zb0003]
    			} else {
    				z.Checksums = make([]ChecksumInfo, zb0003)
    			}
    			for za0002 := range z.Checksums {
    				err = z.Checksums[za0002].DecodeMsg(dc)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    	partInfo := ObjectPartInfo{
    		Number:     partNumber,
    		ETag:       partETag,
    		Size:       partSize,
    		ActualSize: actualSize,
    		ModTime:    modTime,
    		Index:      idx,
    		Checksums:  checksums,
    	}
    
    	// Update part info if it already exists.
    	for i, part := range fi.Parts {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  6. lib/fips140/fips140.sum

    # SHA256 checksums of snapshot zip files in this directory.
    # These checksums are included in the FIPS security policy
    # (validation instructions sent to the lab) and MUST NOT CHANGE.
    # That is, the zip files themselves must not change.
    #
    # It is okay to add new zip files to the list, and it is okay to
    # remove zip files from the list when they are removed from
    # this directory. To update this file:
    #
    #	go test cmd/go/internal/fips140 -update
    #
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 525 bytes
    - Viewed (0)
  7. cmd/xl-storage-format_test.go

    	}
    
    	if len(unMarshalXLMeta.Erasure.Checksums) != len(jsoniterXLMeta.Erasure.Checksums) {
    		t.Errorf("Expected the size of Erasure Checksums to be %d, but got %d.", len(unMarshalXLMeta.Erasure.Checksums), len(jsoniterXLMeta.Erasure.Checksums))
    	} else {
    		for i := 0; i < len(unMarshalXLMeta.Erasure.Checksums); i++ {
    			if unMarshalXLMeta.Erasure.Checksums[i].PartNumber != jsoniterXLMeta.Erasure.Checksums[i].PartNumber {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    // early instead of silently corrupting data.
    func bitrotSelfTest() {
    	checksums := map[BitrotAlgorithm]string{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1.go

    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        wagon.removeTransferListener(downloadMonitor);
                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top