Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 720 for Matcher (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    Rita Zhang <******@****.***> 1709268932 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/match/matchers.go

    // Any doesn't filter out any echos.
    var Any Matcher = func(_ echo.Instance) bool {
    	return true
    }
    
    // And is an aggregate Matcher that requires all matches return true.
    func And(ms ...Matcher) Matcher {
    	return func(i echo.Instance) bool {
    		for _, m := range ms {
    			if m != nil && !m(i) {
    				return false
    			}
    		}
    		return true
    	}
    }
    
    // Or is an aggregate Matcher that requires at least one matches return true.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java

                }
            };
        }
    
        @Factory
        public static Matcher<String> normalizedLineSeparators(final Matcher<? super String> matcher) {
            return new BaseMatcher<String>() {
                @Override
                public boolean matches(Object o) {
                    String string = (String) o;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/matcher/metadata.go

    // limitations under the License.
    
    package matcher
    
    import (
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    )
    
    // MetadataStringMatcher creates a metadata string matcher for the given filter, key and the
    // string matcher.
    func MetadataStringMatcher(filter, key string, m *matcher.StringMatcher) *matcher.MetadataMatcher {
    	return MetadataValueMatcher(filter, key, &matcher.ValueMatcher{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/security/authz/matcher/string.go

    	matchers := []*matcher.ValueMatcher{}
    	for _, v := range vs {
    		matchers = append(matchers, &matcher.ValueMatcher{
    			MatchPattern: &matcher.ValueMatcher_StringMatch{
    				StringMatch: StringMatcher(v),
    			},
    		})
    	}
    	return OrMatcher(matchers)
    }
    
    // OrMatcher creates an OR matcher for a list of matchers.
    func OrMatcher(matchers []*matcher.ValueMatcher) *matcher.ValueMatcher {
    	if len(matchers) == 1 {
    		return matchers[0]
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

            Matcher matcher = pattern.matcher(source);
    
            if (matcher.matches()) {
                String uid = matcher.group(1) == null ? null : matcher.group(1).substring("uid=".length());
                String javaHome = matcher.group(2);
                JavaLanguageVersion javaVersion = JavaLanguageVersion.of(matcher.group(3));
                String daemonRegistryDir = matcher.group(4);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            java.util.regex.Matcher matcher = FAILURE_PATTERN.matcher(failureText);
            if (matcher.lookingAt()) {
                summary = matcher.group(1);
            } else {
                summary = "";
            }
    
            matcher = LOCATION_PATTERN.matcher(failureText);
            while (matcher.find()) {
                fileNames.add(matcher.group(1).trim());
                lineNumbers.add(matcher.group(3));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/internal/plugins/GroovyJarFile.java

                }
            } catch (IOException e) {
                // Let the code use the original File otherwise
            }
            Matcher matcher = FILE_NAME_PATTERN.matcher(file.getName());
            return matcher.matches() ? new GroovyJarFile(file, matcher) : null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 19:14:26 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/match/match_test.go

    				inner := NewDestinationIP()
    				inner.OnNoMatch = ToMatcher(leaf.Matcher)
    
    				root := NewDestinationPort()
    				root.OnNoMatch = ToMatcher(inner.Matcher)
    				return root
    			},
    			want: func() *matcher.Matcher {
    				// src port
    				// 15001: chain
    				want := NewSourceIP()
    				want.Map["1.2.3.4"] = ToChain("chain")
    				return want.Matcher
    			},
    		},
    		{
    			name: "empty map at depths = 1 and 2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top