- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for chksums (0.04 sec)
-
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 Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 47.5K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 120.6K bytes - Viewed (0) -
src/archive/tar/format.go
// If the checksum fails, then FormatUnknown is returned. func (b *block) getFormat() Format { // Verify checksum. var p parser value := p.parseOctal(b.toV7().chksum()) chksum1, chksum2 := b.computeChecksum() if p.err != nil || (value != chksum1 && value != chksum2) { return FormatUnknown } // Guess the magic values. magic := string(b.toUSTAR().magic()) version := string(b.toUSTAR().version())
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
internal/hash/checksum_test.go
return } myData := []byte("this-is-a-checksum-data-test") chksm := NewChecksumFromData(tt.checksum, myData) if chksm == nil { t.Fatalf("NewChecksumFromData failed for %s", tt.name) } if tt.fullobj { chksm.Type |= ChecksumFullObject } // CRC64NVME is always full object if chksm.Type.Base().Is(ChecksumCRC64NVME) { chksm.Type |= ChecksumFullObject }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
internal/hash/checksum.go
for k, v := range c { if k == xhttp.AmzChecksumType { w.Header().Set(xhttp.AmzChecksumType, v) continue } cksum := NewChecksumString(k, v) if cksum == nil { continue } if cksum.Valid() { w.Header().Set(cksum.Type.Key(), v) } } } // GetContentChecksum returns content checksum. // Returns ErrInvalidChecksum if so.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 18.3K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 47.1K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 41.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
/** * Calculates checksums for specified data. * * @param data The content for which to calculate checksums, must not be {@code null}. * @param algorithms The checksum algorithms to use, must not be {@code null}. * @return The calculated checksums, indexed by algorithms, never {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate( "test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5"))); assertNotNull(checksums); assertEquals(2, checksums.size()); assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 11:31:00 UTC 2025 - 4.7K bytes - Viewed (0) -
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 Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 614 bytes - Viewed (0)