Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cash (0.44 sec)

  1. 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)
  2. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully blockSizeV1 buffer if the incoming data is smaller.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    		case isSourceEncrypted && isTargetEncrypted:
    			objInfo := ObjectInfo{Size: actualSize}
    			targetSize = objInfo.EncryptedSize()
    		case !isSourceEncrypted && isTargetEncrypted:
    			targetSize = srcInfo.EncryptedSize()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    					PartNumber: part.PartNumber,
    				}
    			}
    			wantCS := map[string]string{
    				hash.ChecksumCRC32.String():     part.ChecksumCRC32,
    				hash.ChecksumCRC32C.String():    part.ChecksumCRC32C,
    				hash.ChecksumSHA1.String():      part.ChecksumSHA1,
    				hash.ChecksumSHA256.String():    part.ChecksumSHA256,
    				hash.ChecksumCRC64NVME.String(): part.ChecksumCRC64NVME,
    			}
    			if wantCS[checksumType.String()] != crc {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	Transition          TransitionOptions
    	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)
Back to top