Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,885 for match0 (0.29 sec)

  1. src/go/constant/value.go

    	}
    	return x, y
    }
    
    // match0 must only be called by match.
    // Invariant: ord(x) < ord(y)
    func match0(x, y Value) (_, _ Value) {
    	// Prefer to return the original x and y arguments when possible,
    	// to avoid unnecessary heap allocations.
    
    	switch y.(type) {
    	case intVal:
    		switch x1 := x.(type) {
    		case int64Val:
    			return i64toi(x1), y
    		}
    	case ratVal:
    		switch x1 := x.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/match.go

    // NewInheritanceMatcher returns a matcher that matches based on the inheritance
    // chain.
    //
    // The matcher uses canonicalization and the parent relationship to find a
    // match. The resulting match will always be either Und or a language with the
    // same language and script as the requested language. It will not match
    // languages for which there is understood to be mutual or one-directional
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/match.go

    func MatchStrings(m Matcher, lang ...string) (tag Tag, index int) {
    	for _, accept := range lang {
    		desired, _, err := ParseAcceptLanguage(accept)
    		if err != nil {
    			continue
    		}
    		if tag, index, conf := m.Match(desired...); conf != No {
    			return tag, index
    		}
    	}
    	tag, index, _ = m.Match()
    	return
    }
    
    // Matcher is the interface that wraps the Match method.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/match/match.go

    	}
    )
    
    type Mapper struct {
    	*matcher.Matcher
    	Map map[string]*matcher.Matcher_OnMatch
    }
    
    func newMapper(input *xds.TypedExtensionConfig) Mapper {
    	m := map[string]*matcher.Matcher_OnMatch{}
    	match := &matcher.Matcher{
    		MatcherType: &matcher.Matcher_MatcherTree_{
    			MatcherTree: &matcher.Matcher_MatcherTree{
    				Input: input,
    				TreeType: &matcher.Matcher_MatcherTree_ExactMatchMap{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

      private static final class IsEither extends FastMatcher {
    
        private final char match1;
        private final char match2;
    
        IsEither(char match1, char match2) {
          this.match1 = match1;
          this.match2 = match2;
        }
    
        @Override
        public boolean matches(char c) {
          return c == match1 || c == match2;
        }
    
        @GwtIncompatible // used only from other GwtIncompatible code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/default-match-http.yaml

    # matches every HTTP request and ensures that route rules always have at
    # least one valid match.
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: default-match-route
      labels:
        app: default-match
    spec:
      parentRefs:
      - name: default-match-gw
      hostnames:
      - default-match.com
      rules:
      - matches:
        - headers:
          - type: Exact
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/path/filepath/match.go

    //		c           matches character c (c != '*', '?', '\\', '[')
    //		'\\' c      matches character c
    //
    //	character-range:
    //		c           matches character c (c != '\\', '-', ']')
    //		'\\' c      matches character c
    //		lo '-' hi   matches character c for lo <= c <= hi
    //
    // Match requires pattern to match all of name, not just a substring.
    // The only possible returned error is [ErrBadPattern], when pattern
    // is malformed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listenertest/match.go

    	Filters []string
    
    	// TotalMatch will require that the all elements exactly match (eg, if I have 3 elements in the
    	// check, the listener must as well). Otherwise, we only validate the assertions we provided are
    	// present.
    	TotalMatch bool
    }
    
    type FilterChainTest struct {
    	// Match a filter chain by name
    	Name string
    	// Match filter chain by 'type'. This can be important since Name is currently not unique
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/path/match.go

    //
    //	character-range:
    //		c           matches character c (c != '\\', '-', ']')
    //		'\\' c      matches character c
    //		lo '-' hi   matches character c for lo <= c <= hi
    //
    // Match requires pattern to match all of name, not just a substring.
    // The only possible returned error is [ErrBadPattern], when pattern
    // is malformed.
    func Match(pattern, name string) (matched bool, err error) {
    Pattern:
    	for len(pattern) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

      private static final class IsEither extends FastMatcher {
    
        private final char match1;
        private final char match2;
    
        IsEither(char match1, char match2) {
          this.match1 = match1;
          this.match2 = match2;
        }
    
        @Override
        public boolean matches(char c) {
          return c == match1 || c == match2;
        }
    
        @GwtIncompatible // used only from other GwtIncompatible code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top