Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 223 for chksum (0.17 sec)

  1. 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)
  2. src/main/java/jcifs/pac/Pac.java

                            }
                            // Clear signature from checksum copy
                            for ( int i = 0; i < this.serverSignature.getChecksum().length; i++ )
                                checksumData[ (int) bufferOffset + 4 + i ] = 0;
                        }
                        break;
                    case PacConstants.PRIVSVR_CHECKSUM:
                        // PAC KDC Signature
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  3. docs/distributed/distributed-from-config-file.sh

    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/testbucket
    
    actual_checksum=$(./mc cat minio3/testbucket/lrgfile | md5sum)
    
    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}"
    	exit
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    			hash.Write(msg)
    			sum = hash.Sum(sum[:0])
    			msg = append(msg, sum...)
    			hash.Reset()
    		}
    		if !bytes.Equal(sum, checksum) {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: %v selftest checksum mismatch: got %x - want %x", algorithm, sum, checksum))
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K 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. internal/hash/reader.go

    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    // that has been read so far.
    //
    // Calling MD5Current again after reading more data may
    // result in a different checksum.
    func (r *Reader) MD5Current() []byte {
    	if r.disableMD5 {
    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    // SHA256 returns the SHA256 checksum set as reference value.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  7. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        public static final String UPDATE_POLICY_INTERVAL = "interval";
    
        public static final String CHECKSUM_POLICY_FAIL = "fail";
    
        public static final String CHECKSUM_POLICY_WARN = "warn";
    
        public static final String CHECKSUM_POLICY_IGNORE = "ignore";
    
        public static final String DEFAULT_CHECKSUM_POLICY = CHECKSUM_POLICY_FAIL;
    
        private boolean enabled;
    
        private String updatePolicy;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacSignature.java

                case HMAC_SHA1_96_AES128:
                case HMAC_SHA1_96_AES256:
                    this.checksum = new byte[12];
                    break;
                default:
                    this.checksum = new byte[bufferStream.available()];
                    break;
                }
                bufferStream.readFully(this.checksum);
            }
            catch ( IOException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. internal/hash/sha256/sh256_fips.go

    	fipssha256 "crypto/sha256"
    	"hash"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is FIPS 140-2 compliant when the
    // boringcrypto branch of Go is used.
    // Ref: https://github.com/golang/go/tree/dev.boringcrypto
    func New() hash.Hash { return fipssha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [fipssha256.Size]byte { return fipssha256.Sum256(data) }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top