Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ChecksumType (0.31 sec)

  1. cmd/erasure-multipart.go

    			fi.Checksum = v
    		}
    		delete(opts.UserDefined, ReplicationSsecChecksumHeader)
    	}
    
    	if checksumType.IsSet() {
    		checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart
    		checksum.Type = checksumType
    		if !checksumType.FullObjectRequested() {
    			checksum = *hash.NewChecksumFromData(checksumType, checksumCombined)
    		}
    		fi.Checksum = checksum.AppendTo(nil, checksumCombined)
    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-api-datatypes.go

    	Parts []PartInfo
    
    	// Any metadata set during InitMultipartUpload, including encryption headers.
    	UserDefined map[string]string
    
    	// ChecksumAlgorithm if set
    	ChecksumAlgorithm string
    
    	// ChecksumType if set
    	ChecksumType string
    }
    
    // Lookup - returns if uploadID is valid
    func (lm ListMultipartsInfo) Lookup(uploadID string) bool {
    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    			return checkPreconditionsPUT(ctx, w, r, oi, opts)
    		}
    	}
    
    	checksumType := hash.NewChecksumHeader(r.Header)
    	if checksumType.Is(hash.ChecksumInvalid) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidChecksum), r.URL)
    		return
    	} else if checksumType.IsSet() && !checksumType.Is(hash.ChecksumTrailing) {
    		opts.WantChecksum = &hash.Checksum{Type: checksumType}
    	}
    
    	if opts.WantChecksum != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	Expiration          ExpirationOptions
    	LifecycleAuditEvent lcAuditEvent
    
    	WantChecksum *hash.Checksum // x-amz-checksum-XXX checksum sent to PutObject/ CompleteMultipartUpload.
    
    	WantServerSideChecksumType hash.ChecksumType // if set, we compute a server-side checksum of this type
    
    	NoDecryption                        bool      // indicates if the stream must be decrypted.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    				ChecksumSHA1:      strings.Split(chkSums["SHA1"], "-")[0],
    				ChecksumSHA256:    strings.Split(chkSums["SHA256"], "-")[0],
    				ChecksumCRC64NVME: strings.Split(chkSums["CRC64NVME"], "-")[0],
    				ChecksumType:      chkSums[xhttp.AmzChecksumType],
    			}
    		}
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok {
    		OA.ETag = objInfo.ETag
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top