- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for chksum (0.1 sec)
-
src/archive/tar/format.go
// It then attempts to guess the specific format based on magic values. // 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 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
internal/hash/checksum.go
} // AddChecksumHeader will transfer any checksum value that has been checked. func AddChecksumHeader(w http.ResponseWriter, c map[string]string) { for k, v := range c { 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
docs/site-replication/run-replication-with-checksum-header.sh
./mc mb minio1/test-bucket --insecure # Load objects to source site with checksum header echo "Loading objects to source MinIO instance" OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64) aws s3api --endpoint-url=https://localhost:9001 put-object --checksum-algorithm SHA256 --checksum-sha256 "${OBJ_CHKSUM}" --bucket test-bucket --key obj --body /tmp/data/obj --no-verify-ssl --profile enterprise
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 08:02:16 UTC 2024 - 11.4K bytes - Viewed (0) -
cmd/erasure-multipart.go
checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart var cs *hash.Checksum cs = hash.NewChecksumFromData(checksumType, checksumCombined) fi.Checksum = cs.AppendTo(nil, checksumCombined) if opts.EncryptFn != nil { fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum) } } delete(fi.Metadata, hash.MinIOMultipartChecksum) // Not needed in final object. // Save the final object size and modtime.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
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 Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
mvnw
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:24:15 UTC 2024 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
return toString; } /** Hasher that updates a checksum. */ private final class ChecksumHasher extends AbstractByteHasher { private final Checksum checksum; private ChecksumHasher(Checksum checksum) { this.checksum = checkNotNull(checksum); } @Override protected void update(byte b) { checksum.update(b); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Random; import java.util.zip.Adler32; import java.util.zip.CRC32; import java.util.zip.Checksum; /** * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * </ul> * * @author Colin Decker */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Random; import java.util.zip.Adler32; import java.util.zip.CRC32; import java.util.zip.Checksum; /** * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * </ul> * * @author Colin Decker */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 14:49:49 UTC 2024 - 7K bytes - Viewed (0)