Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/s3select/select.go

    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    	if s.End == nil && s.Start == nil {
    		// Not valid, but should be caught above.
    		return 0, -1, nil
    	}
    	if s.End == nil {
    		start := int64(*s.Start)
    		if start < 0 {
    			return 0, 0, errors.New("ScanRange: Start after EOF")
    		}
    		return start, -1, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
Back to top