Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ObjectToPartOffset (0.09 sec)

  1. cmd/erasure-object.go

    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    	if length > 0 {
    		endOffset += length - 1
    	}
    
    	// Get last part index to read given length.
    	lastPartIndex, _, err := fi.ObjectToPartOffset(ctx, endOffset)
    	if err != nil {
    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