Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,435 for MATCH (0.04 sec)

  1. pilot/pkg/networking/core/match/match.go

    			},
    		},
    	}
    }
    
    func ToMatcher(match *matcher.Matcher) *matcher.Matcher_OnMatch {
    	return &matcher.Matcher_OnMatch{
    		OnMatch: &matcher.Matcher_OnMatch_Matcher{
    			Matcher: match,
    		},
    	}
    }
    
    // BuildMatcher cleans the entire match tree to avoid empty maps and returns a viable top-level matcher.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/match.go

    			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.
    //
    // Match returns the best match for any of the given tags, along with
    // a unique index associated with the returned tag and a confidence
    // score.
    type Matcher interface {
    	Match(t ...Tag) (tag Tag, index int, c Confidence)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/match.go

    //
    // 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
    // intelligibility.
    //
    // A Match will indicate an Exact match if the language matches after
    // canonicalization and High if the matched tag is a parent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/path/filepath/match.go

    //		'\\' 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.
    //
    // On Windows, escaping is disabled. Instead, '\\' is treated as
    // path separator.
    func Match(pattern, name string) (matched bool, err error) {
    Pattern:
    	for len(pattern) > 0 {
    		var star bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/util/match/match.go

    		}
    	}
    	return false
    }
    
    func MatchesGlob(matchString, pattern string) bool {
    	match, err := filepath.Match(pattern, matchString)
    	if err != nil {
    		// Shouldn't be here as prior validation is assumed.
    		log.Errorf("Unexpected filepath error for %s match %s: %s", pattern, matchString, err)
    		return false
    	}
    	return match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/testing/match.go

    	elem := strings.Split(name, "/")
    
    	// filter must match.
    	// accept partial match that may produce full match later.
    	ok, partial = m.filter.matches(elem, m.matchFunc)
    	if !ok {
    		return name, false, false
    	}
    
    	// skip must not match.
    	// ignore partial match so we can get to more precise match later.
    	skip, partialSkip := m.skip.matches(elem, m.matchFunc)
    	if skip && !partialSkip {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/test/loadbalancersim/locality/match.go

    func And(m1 Match, m2 Match) Match {
    	return func(o Instance) bool {
    		return m1(o) && m2(o)
    	}
    }
    
    func Not(match Match) Match {
    	return func(o Instance) bool {
    		return !match(o)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. src/path/match.go

    //		'\\' 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 {
    		var star bool
    		var chunk string
    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. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    Jonathan Amsterdam <******@****.***> 1700059801 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top