- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for MatchPattern (2.52 sec)
-
pilot/pkg/security/authz/matcher/metadata_test.go
}, }, }, Value: &matcher.ValueMatcher{ MatchPattern: &matcher.ValueMatcher_ListMatch{ ListMatch: &matcher.ListMatcher{ MatchPattern: &matcher.ListMatcher_OneOf{ OneOf: &matcher.ValueMatcher{ MatchPattern: &matcher.ValueMatcher_StringMatch{ StringMatch: &matcher.StringMatcher{ MatchPattern: &matcher.StringMatcher_SafeRegex{ SafeRegex: &matcher.RegexMatcher{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 2.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a,")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), "a")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), "a,")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), ",a")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), ",a,"));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/string_test.go
name: "prefix", v: "-prefix-*", prefix: "abc", want: &matcher.StringMatcher{ MatchPattern: &matcher.StringMatcher_Prefix{ Prefix: "abc-prefix-", }, }, }, { name: "suffix-empty-prefix", v: "*-suffix", prefix: "", want: &matcher.StringMatcher{ MatchPattern: &matcher.StringMatcher_Suffix{ Suffix: "-suffix", }, }, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 17 22:42:11 UTC 2023 - 5.2K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/metadata.go
out.Value = &matcher.ValueMatcher{ MatchPattern: &matcher.ValueMatcher_OrMatch{ OrMatch: &matcher.OrMatcher{ ValueMatchers: []*matcher.ValueMatcher{ { MatchPattern: &matcher.ValueMatcher_ListMatch{ ListMatch: listMatcher, }, }, value, }, }, }, } } else { out.Value = &matcher.ValueMatcher{ MatchPattern: &matcher.ValueMatcher_ListMatch{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/string.go
return matchers[0] } return &matcher.ValueMatcher{ MatchPattern: &matcher.ValueMatcher_OrMatch{ OrMatch: &matcher.OrMatcher{ ValueMatchers: matchers, }, }, } } // StringMatcherRegex creates a regex string matcher for regex. func StringMatcherRegex(regex string) *matcher.StringMatcher { return &matcher.StringMatcher{ MatchPattern: &matcher.StringMatcher_SafeRegex{ SafeRegex: &matcher.RegexMatcher{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/canonicalize.cc
Location loc = for_op.getLoc(); APInt lower_bound, upper_bound, step; if (!matchPattern(for_op.getLowerBound(), m_ConstantInt(&lower_bound)) || !matchPattern(for_op.getUpperBound(), m_ConstantInt(&upper_bound)) || !matchPattern(for_op.getStep(), m_ConstantInt(&step))) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 14 22:15:06 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/go/internal/load/search.go
dir, pattern = pattern[:j], pattern[j+1:] } dir = filepath.Join(cwd, dir) if pattern == "" { return func(p *Package) bool { return p.Dir == dir } } matchPath := pkgpattern.MatchPattern(pattern) return func(p *Package) bool { // Compute relative path to dir and see if it matches the pattern. rel, err := filepath.Rel(dir, p.Dir) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 16:43:40 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/internal/pkgpattern/pkgpattern.go
// TreeCanMatchPattern(pattern)(name) reports whether // name or children of name can possibly match pattern. // Pattern is the same limited glob accepted by MatchPattern. func TreeCanMatchPattern(pattern string) func(name string) bool { wildCard := false if i := strings.Index(pattern, "..."); i >= 0 { wildCard = true pattern = pattern[:i] } return func(name string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 16:43:40 UTC 2022 - 4.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
ForwardNotMatchingPreflights: wrapperspb.Bool(false), AllowOriginStringMatch: []*matcher.StringMatcher{ {MatchPattern: &matcher.StringMatcher_Exact{Exact: "exact"}}, {MatchPattern: &matcher.StringMatcher_Prefix{Prefix: "prefix"}}, { MatchPattern: &matcher.StringMatcher_SafeRegex{ SafeRegex: &matcher.RegexMatcher{ Regex: "regex", }, }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
if (mlir::isa<FloatType>(element_type)) { DenseFPElementsAttr float_attr; if (matchPattern(value, m_Constant(&float_attr)) && float_attr.isSplat() && float_attr.getSplatValue<APFloat>().isExactlyValue(raw_value)) return true; } else if (mlir::isa<IntegerType>(element_type)) { DenseIntElementsAttr int_attr; if (matchPattern(value, m_Constant(&int_attr)) && int_attr.isSplat() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0)