Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for strlen (0.16 sec)

  1. internal/s3select/select.go

    	if s.Start == nil || s.End == nil {
    		return nil
    	}
    	if *s.Start > *s.End {
    		return errors.New("ScanRange: Start cannot be after end")
    	}
    	return nil
    }
    
    // StartLen returns start offset plus length from range.
    func (s *ScanRange) StartLen() (start, length int64, err error) {
    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    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