Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for MatchPattern (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/utils/utils.h

                                              DenseElementsAttr perm2_const) {
      SmallVector<int32_t> initial_permutation;
      DenseElementsAttr perm1_const;
    
      SmallVector<int32_t> new_permutation;
      if (matchPattern(permutation1, m_Constant(&perm1_const))) {
        for (int32_t idx = 0; idx < perm1_const.getNumElements(); ++idx) {
          initial_permutation.push_back(idx);
        }
        for (auto perm : perm2_const.getValues<APInt>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/model/model_test.go

    								{
    									Identifier: &rbacpb.Principal_Authenticated_{
    										Authenticated: &rbacpb.Principal_Authenticated{
    											PrincipalName: &matcherv3.StringMatcher{
    												MatchPattern: &matcherv3.StringMatcher_Exact{
    													Exact: "spiffe://value",
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        Location loc = cst_tensor_op.getLoc();
        Type out_type = cst_tensor_op.getType();
        Operation *new_cst = nullptr;
    
        ArrayAttr array;
        if (matchPattern(cst_tensor_op.getArg(), m_Constant(&array))) {
          llvm::DenseSet<Type> all_types;
          for (auto it : array) {
            TypedAttr typed_attr = it.dyn_cast<TypedAttr>();
            if (!typed_attr) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/model/generator.go

    		if strings.HasPrefix(value, "[") && strings.HasSuffix(value, "]") {
    			matchers = append(matchers, &matcherpb.ValueMatcher{
    				MatchPattern: &matcherpb.ValueMatcher_ListMatch{
    					ListMatch: &matcherpb.ListMatcher{
    						MatchPattern: &matcherpb.ListMatcher_OneOf{
    							OneOf: &matcherpb.ValueMatcher{
    								MatchPattern: &matcherpb.ValueMatcher_StringMatch{
    									StringMatch: matcher.StringMatcher(strings.Trim(value, "[]")),
    								},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

      // a dilated conv.
      auto stb_paddings = stb_op.getPaddings();
      auto bts_crops = bts_op.getCrops();
      ElementsAttr stb_paddings_attr, bts_crops_attr;
      if (!matchPattern(stb_paddings, m_Constant(&stb_paddings_attr)) ||
          !matchPattern(bts_crops, m_Constant(&bts_crops_attr))) {
        return rewriter.notifyMatchFailure(
            op,
            "either SpaceToBatchND or BatchToSpaceND "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      // Extract k constant tensor and check value = 0.
      ElementsAttr k;
      if (!matchPattern(tf_matrix_diag_v2_or_v3_op.getK(), m_Constant(&k)))
        return false;
      if (ExtractSingleElementAsInteger(k).getInt() != 0) return false;
    
      // Extract num_rows constant tensor and check value = -1.
      ElementsAttr num_rows;
      if (!matchPattern(tf_matrix_diag_v2_or_v3_op.getNumRows(),
                        m_Constant(&num_rows)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. pilot/pkg/security/model/authentication_test.go

    						DefaultValidationContext: &auth.CertificateValidationContext{MatchSubjectAltNames: []*matcher.StringMatcher{
    							{MatchPattern: &matcher.StringMatcher_Prefix{Prefix: spiffe.URIPrefix + "alias-1.domain" + "/"}},
    							{MatchPattern: &matcher.StringMatcher_Prefix{Prefix: spiffe.URIPrefix + "some-other-alias-1.domain" + "/"}},
    							{MatchPattern: &matcher.StringMatcher_Prefix{Prefix: spiffe.URIPrefix + "alias-2.domain" + "/"}},
    						}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:21 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top