Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for MatchPattern (0.17 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

      // Currently, support symmetric, per-tensor, signed int8
      const bool kIsNarrowRange = true;
      const bool kIsSigned = true;
      const int kBitWidth = 8;
    
      DenseFPElementsAttr attr;
      if (!matchPattern(op->getResult(0), m_Constant(&attr))) return nullptr;
    
      QuantizedType quant_type = mlir::dyn_cast<quant::QuantizedType>(
          quant::GetUniformQuantizedTypeForWeight(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

                                       DenseIntElementsAttr& replica_groups,
                                       Operation* op) {
      DenseIntElementsAttr group_assignment;
      if (!matchPattern(group_assignment_value, m_Constant(&group_assignment))) {
        return op->emitOpError() << "expects constant group_assignment";
      }
      replica_groups = mlir::cast<DenseIntElementsAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top