Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MD5CurrentHexString (0.2 sec)

  1. cmd/object-api-utils.go

    // will return during reading. It returns -1 for unlimited
    // data.
    func (p *PutObjReader) Size() int64 {
    	return p.Reader.Size()
    }
    
    // MD5CurrentHexString returns the current MD5Sum or encrypted MD5Sum
    // as a hex encoded string
    func (p *PutObjReader) MD5CurrentHexString() string {
    	md5sumCurr := p.rawReader.MD5Current()
    	var appendHyphen bool
    	// md5sumcurr is not empty in two scenarios
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		if writers[i] == nil {
    			onlineDisks[i] = nil
    		}
    	}
    
    	// Rename temporary part file to its final location.
    	partPath := pathJoin(uploadIDPath, fi.DataDir, partSuffix)
    
    	md5hex := r.MD5CurrentHexString()
    	if opts.PreserveETag != "" {
    		md5hex = opts.PreserveETag
    	}
    
    	var index []byte
    	if opts.IndexCB != nil {
    		index = opts.IndexCB()
    	}
    
    	actualSize := data.ActualSize()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		partsMetadata[i].Versioned = opts.Versioned || opts.VersionSuspended
    		partsMetadata[i].Checksum = fi.Checksum
    	}
    
    	userDefined["etag"] = r.MD5CurrentHexString()
    	if opts.PreserveETag != "" {
    		if !opts.ReplicationRequest {
    			userDefined["etag"] = opts.PreserveETag
    		} else if kind != crypto.S3 {
    			// if we have a replication request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top