Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for chksum (0.43 sec)

  1. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		case chkSums["SHA256"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    			OA.Checksum.ChecksumSHA1 = strings.Split(chkSums["SHA1"], "-")[0]
    		case chkSums["SHA1"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    			OA.Checksum.ChecksumSHA256 = strings.Split(chkSums["SHA256"], "-")[0]
    		}
    
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok {
    		OA.ETag = objInfo.ETag
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    const minIOErasureUpgraded = "x-minio-internal-erasure-upgraded"
    
    const erasureAlgorithm = "rs-vandermonde"
    
    // GetChecksumInfo - get checksum of a part.
    func (e ErasureInfo) GetChecksumInfo(partNumber int) (ckSum ChecksumInfo) {
    	for _, sum := range e.Checksums {
    		if sum.PartNumber == partNumber {
    			// Return the checksum
    			return sum
    		}
    	}
    	return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

            switch (artifactRepositoryPolicy) {
                case RepositoryPolicy.CHECKSUM_POLICY_FAIL:
                    return RepositoryPolicy.CHECKSUM_POLICY_FAIL;
                case RepositoryPolicy.CHECKSUM_POLICY_IGNORE:
                    return RepositoryPolicy.CHECKSUM_POLICY_IGNORE;
                case RepositoryPolicy.CHECKSUM_POLICY_WARN:
                    return RepositoryPolicy.CHECKSUM_POLICY_WARN;
                default:
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. buildscripts/minio-upgrade.sh

    		rm -s -f
    	docker volume prune -f
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.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;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted-sse-s3.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected encryption enabled after expansion"
    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

    import org.apache.maven.api.services.ChecksumAlgorithmService;
    import org.apache.maven.api.services.ChecksumAlgorithmServiceException;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/distributed/decom.sh

    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    # after decommissioning, compare listings in bucket2 and tiered
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top