Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for partLength (0.12 sec)

  1. cmd/erasure-object.go

    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    		if partLength > (length - totalBytesRead) {
    			partLength = length - totalBytesRead
    		}
    
    		tillOffset := erasure.ShardFileOffset(partOffset, partLength, partSize)
    		// Get the checksums of the current part.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			for k, v := range m {
    				r[k] = v
    			}
    			return r
    		}
    	)
    
    	type ObjectInput struct {
    		objectName  string
    		partLengths []int64
    
    		metaData map[string]string
    	}
    
    	objectLength := func(oi ObjectInput) (sum int64) {
    		for _, l := range oi.partLengths {
    			sum += l
    		}
    		return
    	}
    
    	// set of inputs for uploading the objects before tests for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		OA.ObjectParts = new(objectAttributesParts)
    		OA.ObjectParts.PartNumberMarker = opts.PartNumberMarker
    
    		OA.ObjectParts.MaxParts = opts.MaxParts
    		partsLength := len(objInfo.Parts)
    		OA.ObjectParts.PartsCount = partsLength
    
    		if opts.MaxParts > -1 {
    			for i, v := range objInfo.Parts {
    				if v.Number <= opts.PartNumberMarker {
    					continue
    				}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top