- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for MatchPattern (0.18 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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
rhs_dilation_attr, feature_group_count_attr; if (!(matchPattern(op.getWindowStrides(), m_Constant(&window_strides_attr)) && matchPattern(op.getPadding(), m_Constant(&padding_attr)) && matchPattern(op.getLhsDilation(), m_Constant(&lhs_dilation_attr)) && matchPattern(op.getRhsDilation(), m_Constant(&rhs_dilation_attr)) && matchPattern(op.getFeatureGroupCount(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
DenseIntElementsAttr indices; if (!matchPattern(gather_nd_first.getIndices(), m_Constant(&indices))) return failure(); int i = 0; for (const auto &axis_int : indices.getValues<APInt>()) { const int64_t axis = axis_int.getSExtValue(); if (axis != i / 2) return failure(); ++i; } if (!matchPattern(gather_nd_second.getIndices(), m_Constant(&indices)))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/extauthz.go
} if strings.HasPrefix(header, "*") { pattern.MatchPattern = &envoy_type_matcher_v3.StringMatcher_Suffix{ Suffix: strings.TrimPrefix(header, "*"), } } else if strings.HasSuffix(header, "*") { pattern.MatchPattern = &envoy_type_matcher_v3.StringMatcher_Prefix{ Prefix: strings.TrimSuffix(header, "*"), } } else { pattern.MatchPattern = &envoy_type_matcher_v3.StringMatcher_Exact{ Exact: header,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12.7K bytes - Viewed (0)