- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for CHECKSUM (0.04 sec)
-
internal/hash/checksum_test.go
} if gotChksm == nil { t.Fatalf("Got nil checksum for %s", tt.name) } // Compare the full checksum structs if !chksm.Equal(gotChksm) { t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm) } // Verify the checksum type expectedType := chksm.Type if gotChksm.Type != expectedType {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
} catch (final IOException e) { throw new PACDecodingException("Malformed PAC signature", e); } } /** * Gets the checksum type of this signature. * * @return the checksum type constant */ public int getType() { return this.type; } /** * Gets the checksum data. * * @return the checksum bytes */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); byte[] checksum = new byte[16]; for (int i = 0; i < checksum.length; i++) { checksum[i] = (byte) i; } baos.write(checksum); byte[] data = baos.toByteArray(); // Create PacSignature PacSignature pacSignature = new PacSignature(data);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen.go
if err != nil { err = msgp.WrapError(err, "MinioEnv", za0002) return } z.MinioEnv[za0002] = za0003 } case "Checksum": z.Checksum, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Checksum") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.9K bytes - Viewed (0) -
internal/hash/crc.go
"hash/crc64" "math/bits" ) // AddPart will merge a part checksum into the current, // as if the content of each was appended. // The size of the content that produced the second checksum must be provided. // Not all checksum types can be merged, use the CanMerge method to check. // Checksum types must match. func (c *Checksum) AddPart(other Checksum, size int64) error { if !other.Type.CanMerge() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 5.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
*/ @Nonnull String getName(); /** * Returns the file extension to be used for given checksum file (without leading dot), never {@code null}. The * extension should be file and URL path friendly, and may differ from algorithm name. * The checksum extension SHOULD NOT contain dot (".") character. * Example: "sha1". */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/bitrot.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
} private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) { byte[] bytes = HashTestUtils.ascii(input); Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/etag/reader.go
r.md5.Write(p[:n]) if err == io.EOF && len(r.checksum) != 0 { if etag := r.ETag(); !Equal(etag, r.checksum) { return n, VerifyError{ Expected: r.checksum, Computed: etag, } } } return n, err } // ETag returns the ETag of all the content read // so far. Reading more content changes the MD5 // checksum. Therefore, calling ETag multiple // times may return different results.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.8K bytes - Viewed (0) -
internal/http/lambda-headers.go
AmzFwdHeaderContentType = "x-amz-fwd-header-Content-Type" AmzFwdHeaderChecksumCrc32 = "x-amz-fwd-header-x-amz-checksum-crc32" AmzFwdHeaderChecksumCrc32c = "x-amz-fwd-header-x-amz-checksum-crc32c" AmzFwdHeaderChecksumSha1 = "x-amz-fwd-header-x-amz-checksum-sha1" AmzFwdHeaderChecksumSha256 = "x-amz-fwd-header-x-amz-checksum-sha256" AmzFwdHeaderDeleteMarker = "x-amz-fwd-header-x-amz-delete-marker"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.1K bytes - Viewed (0)