Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,994 for match0 (0.18 sec)

  1. 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)
  2. 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)
  3. pkg/test/framework/components/echo/match/matcher.go

    // limitations under the License.
    
    package match
    
    import (
    	"errors"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework/components/echo"
    )
    
    // Matcher is used to filter matching instances
    type Matcher func(echo.Instance) bool
    
    // GetMatches returns the subset of echo.Instances that match this Matcher.
    func (m Matcher) GetMatches(i echo.Instances) echo.Instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 2.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. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    type MatchCondition v1.MatchCondition
    
    func (v *MatchCondition) GetExpression() string {
    	return v.Expression
    }
    
    func (v *MatchCondition) ReturnTypes() []*cel.Type {
    	return []*cel.Type{cel.BoolType}
    }
    
    var _ Matcher = &matcher{}
    
    // matcher evaluates compiled cel expressions and determines if they match the given request or not
    type matcher struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/matcher.go

    	"regexp"
    	"strconv"
    	"strings"
    )
    
    // testFilter is a regex matcher on a test. It is split by / following go subtest format
    type testFilter []*regexp.Regexp
    
    type Matcher struct {
    	filters []testFilter
    }
    
    // NewMatcher reimplements the logic of Go's -test.run. The code is mostly directly copied from Go's source.
    func NewMatcher(regexs []string) (*Matcher, error) {
    	filters := []testFilter{}
    	for _, regex := range regexs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object/matcher.go

    		return false
    	}
    	return selector.Matches(labels.Set(accessor.GetLabels()))
    
    }
    
    // MatchObjectSelector decideds whether the request matches the ObjectSelector
    // of the webhook. Only when they match, the webhook is called.
    func (m *Matcher) MatchObjectSelector(p ObjectSelectorProvider, attr admission.Attributes) (bool, *apierrors.StatusError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 26 00:41:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top