Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sense (0.17 sec)

  1. cmd/xl-storage-format-v2.go

    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    		return x.ModTime > o.ModTime
    	}
    
    	// The following doesn't make too much sense, but we want sort to be consistent nonetheless.
    	// Prefer lower types
    	if x.Type != o.Type {
    		return x.Type < o.Type
    	}
    	// Consistent sort on signature
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  2. src/bytes/bytes.go

    // code point satisfying f(c), or -1 if none do.
    func LastIndexFunc(s []byte, f func(r rune) bool) int {
    	return lastIndexFunc(s, f, true)
    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		wid := 1
    		r := rune(s[start])
    		if r >= utf8.RuneSelf {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    func recurse(name string, match *matcher.Matcher) ([]string, bool) {
    	switch v := match.GetOnNoMatch().GetOnMatch().(type) {
    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == name {
    			// TODO this only makes sense in context of a chain... do we need a way to give it context
    			return []string{"ANY"}, true
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(name, v.Matcher)
    		if !f {
    			return []string{"NONE"}, true
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    		}
    
    		return nil
    	case parquetFormat:
    		if !parquetSupport {
    			return errors.New("parquet format parsing not enabled on server")
    		}
    		if offset != 0 || length != -1 {
    			// Offsets do not make sense in parquet files.
    			return errors.New("parquet format does not support offsets")
    		}
    		var err error
    		s3Select.recordReader, err = parquet.NewParquetReader(rsc, &s3Select.Input.ParquetArgs)
    		return err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == io.EOF:
    		return n, errMissData // Less data in dense file than sparse file
    	case err != nil:
    		return n, err
    	case sr.logicalRemaining() == 0 && sr.physicalRemaining() > 0:
    		return n, errUnrefData // More data in dense file than sparse file
    	case finished:
    		return n, io.EOF
    	default:
    		return n, nil
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top