- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for Checksum (0.53 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) -
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) -
cmd/bitrot.go
} for algorithm := range bitrotAlgorithms { if !algorithm.Available() { continue } checksum, err := hex.DecodeString(checksums[algorithm]) if err != nil { logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: failed to decode %v checksum %s for selftest: %v", algorithm, checksums[algorithm], err)) } var ( hash = algorithm.New() msg = make([]byte, 0, hash.Size()*hash.BlockSize())Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.7K 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) -
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) -
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) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
import org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector; import org.eclipse.aether.internal.impl.checksum.Md5ChecksumAlgorithmFactory; import org.eclipse.aether.internal.impl.checksum.Sha1ChecksumAlgorithmFactory; import org.eclipse.aether.internal.impl.checksum.Sha256ChecksumAlgorithmFactory; import org.eclipse.aether.internal.impl.checksum.Sha512ChecksumAlgorithmFactory;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 11:31:00 UTC 2025 - 4.7K 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) -
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)