- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 467 for Matcher (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go
}, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { var matcher matchconditions.Matcher if tc.matcher == nil { matcher = &fakeCELMatcher{matches: true} } else { matcher = tc.matcher } v := validator{ failPolicy: tc.failPolicy, celMatcher: matcher, validationFilter: &fakeCelFilter{ evaluations: tc.evaluations,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
interfaces := &admission.RuntimeObjectInterfaces{EquivalentResourceMapper: mapper} matcher := &Matcher{namespaceMatcher: &namespace.Matcher{NamespaceLister: namespaceLister}, objectMatcher: &object.Matcher{}} for i := 0; i < b.N; i++ { matcher.Matches(attrs, interfaces, criteria) } } func BenchmarkShouldCallHookWithComplexRule(b *testing.B) { allScopes := v1.AllScopes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java
private boolean anyMatch(ImmutableList<SpecMatcher> matchers, ArtifactResolutionDetails details) { for (SpecMatcher matcher : matchers) { boolean matches; if (details.isVersionListing()) { matches = matcher.matches(details.getModuleId()); } else { matches = matcher.matches(details.getComponentId()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 19.5K bytes - Viewed (0) -
manifests/addons/dashboards/istio-mesh-dashboard.json
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 02:28:01 UTC 2024 - 46.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go
matches, matchGVR, matchGVK, err := d.matcher.DefinitionMatches(a, o, policyAccessor) if err != nil { // There was an error evaluating if this policy matches anything. utilruntime.HandleError(err) relevantHooks = append(relevantHooks, PolicyInvocation[P, B, E]{ Policy: hook.Policy, Error: err, }) continue } else if !matches { continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java
Matcher matcher = DEFINE_PATTERN.matcher(line); if (!matcher.matches()) { throw new BrokenResultException(String.format("Could not determine %s metadata: %s produced unexpected output.", compilerType.getDescription(), gccBinary.getName())); } defines.put(matcher.group(1), matcher.group(2)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 06:39:06 UTC 2024 - 13K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
} // HavePathValueEqual matches map[string]interface{} tree against a PathValue. func HavePathValueEqual(expected any) types.GomegaMatcher { return &HavePathValueEqualMatcher{ expected: expected, } } // HavePathValueEqualMatcher is a matcher type for HavePathValueEqual. type HavePathValueEqualMatcher struct { expected any } // Match implements the Matcher interface.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
// There doesn't seem to be too much need for multiple types. // Making it a concrete type allows MatchStrings to be a method, which will // improve its discoverability. // MatchStrings parses and matches the given strings until one of them matches // the language in the Matcher. A string may be an Accept-Language header as // handled by ParseAcceptLanguage. The default language is returned if no
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java
.collect(Collectors.toList()); } private JavaProcessInfo extractProcessInfo(String line) { Matcher javaCommandMatcher = javaCommandPattern.matcher(line); Matcher pidMatcher = pidPattern.matcher(line); javaCommandMatcher.find(); pidMatcher.find(); return new JavaProcessInfo(pidMatcher.group(1), javaCommandMatcher.group(1));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
} Text comment = (Text) firstNode.getFirstChild(); Matcher matcher = ACCESSOR_COMMENT_PATTERN.matcher(comment.getData()); if (matcher.lookingAt()) { String theOrWhether = matcher.group(1).toLowerCase(Locale.US); comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end())); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0)