Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for chksum (0.04 sec)

  1. cmd/erasure-multipart.go

    	if opts.Versioned && fi.VersionID == "" {
    		fi.VersionID = mustGetUUID()
    	}
    	fi.DataDir = mustGetUUID()
    
    	if ckSum := userDefined[ReplicationSsecChecksumHeader]; ckSum != "" {
    		v, err := base64.StdEncoding.DecodeString(ckSum)
    		if err == nil {
    			fi.Checksum = v
    		}
    		delete(userDefined, ReplicationSsecChecksumHeader)
    	}
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if _, ok := opts.ObjectAttributes[xhttp.Checksum]; ok {
    		chkSums, _ := objInfo.decryptChecksums(0, r.Header)
    		// AWS does not appear to append part number on this API call.
    		if len(chkSums) > 0 {
    			OA.Checksum = &objectAttributesChecksum{
    				ChecksumCRC32:     strings.Split(chkSums["CRC32"], "-")[0],
    				ChecksumCRC32C:    strings.Split(chkSums["CRC32C"], "-")[0],
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		if serverSideChecksum != nil {
    			fi.Checksum = serverSideChecksum.AppendTo(nil, nil)
    			if opts.EncryptFn != nil {
    				fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    			}
    		}
    	} else if fi.Checksum == nil && opts.WantChecksum != nil {
    		// Trailing headers checksums should now be filled.
    		fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    		if opts.EncryptFn != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  4. 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}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. cmd/postpolicyform_test.go

    		},
    		{
    			name:    "unknown key XAmzChecksumCRC32 is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32), "crc32-val"),
    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Crc32" not specified in the policy.`,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-format_test.go

    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    		panic(err)
    	}
    	m.Erasure.Checksums[partNumber-1] = ChecksumInfo{partNumber, algorithm, checksum}
    }
    
    // AddTestObjectPart - add a new object part in order.
    func (m *xlMetaV1Object) AddTestObjectPart(partNumber int, partSize int64) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    		VersionPurgeStatus:         ri.VersionPurgeStatus,
    		VersionPurgeStatusInternal: ri.VersionPurgeStatusInternal,
    		DeleteMarker:               true,
    		UserDefined:                map[string]string{},
    		Checksum:                   ri.Checksum,
    	}
    }
    
    // ReplicateObjectInfo represents object info to be replicated
    type ReplicateObjectInfo struct {
    	Name                       string
    	Bucket                     string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top