Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for partLengths (0.24 sec)

  1. 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)
  2. 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)
Back to top