- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ChecksumType (0.17 sec)
-
internal/hash/checksum.go
ChecksumIncludesMultipart // ChecksumNone indicates no checksum. ChecksumNone ChecksumType = 0 ) // Checksum is a type and base 64 encoded value. type Checksum struct { Type ChecksumType Encoded string Raw []byte WantParts int } // Is returns if c is all of t. func (c ChecksumType) Is(t ChecksumType) bool { if t == ChecksumNone { return c == ChecksumNone } return c&t == t }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/ImmutableSupplier.java
import com.google.errorprone.annotations.Immutable; /** * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link * Immutable}. */ // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type? @Immutable @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/ImmutableSupplier.java
import com.google.errorprone.annotations.Immutable; /** * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link * Immutable}. */ // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type? @Immutable @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 1K bytes - Viewed (0) -
cmd/erasure-multipart.go
return oi, toObjectErr(err, bucket, object) } // Checksum type set when upload started. var checksumType hash.ChecksumType if cs := fi.Metadata[hash.MinIOMultipartChecksum]; cs != "" { checksumType = hash.NewChecksumType(cs) if opts.WantChecksum != nil && !opts.WantChecksum.Type.Is(checksumType) { return oi, InvalidArgument{ Bucket: bucket, Object: fi.Name,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 44.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
* href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>. * * @since 14.0 */ public static HashFunction adler32() { return ChecksumType.ADLER_32.hashFunction; } @Immutable enum ChecksumType implements ImmutableSupplier<Checksum> { CRC_32("Hashing.crc32()") { @Override public Checksum get() { return new CRC32(); } },
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 32.3K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
} } checksumType := hash.NewChecksumType(r.Header.Get(xhttp.AmzChecksumAlgo)) if checksumType.Is(hash.ChecksumInvalid) { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequestParameter), r.URL) return } else if checksumType.IsSet() && !checksumType.Is(hash.ChecksumTrailing) { opts.WantChecksum = &hash.Checksum{Type: checksumType} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 38.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>. * * @since 14.0 */ public static HashFunction adler32() { return ChecksumType.ADLER_32.hashFunction; } @Immutable enum ChecksumType implements ImmutableSupplier<Checksum> { CRC_32("Hashing.crc32()") { @Override public Checksum get() { return new CRC32(); } },
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 29.2K bytes - Viewed (0) -
internal/hash/reader.go
func (r *Reader) SHA256HexString() string { return hex.EncodeToString(r.contentSHA256) } // ContentCRCType returns the content checksum type. func (r *Reader) ContentCRCType() ChecksumType { return r.contentHash.Type } // ContentCRC returns the content crc if set. func (r *Reader) ContentCRC() map[string]string { if r.contentHash.Type == ChecksumNone || !r.contentHash.Valid() { return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 10.8K bytes - Viewed (0)