Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decLength (0.18 sec)

  1. cmd/object-api-utils.go

    			decLength = length
    			length = oi.Size - off
    			// For negative length we read everything.
    			if decLength < 0 {
    				decLength = actualSize - decOff
    			}
    
    			// Reply back invalid range if the input offset and length fall out of range.
    			if decOff > actualSize || decOff+decLength > actualSize {
    				return nil, 0, 0, errInvalidRange
    			}
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top