Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for MatchPattern (0.67 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        if (auto rhs = bmm_op.getY(); !matchPattern(rhs, m_Constant(&constant))) {
          // The constant may be preceded by QDQs in models with QDQ format, so we
          // should set it to the real constant.
          auto dq = dyn_cast_or_null<DequantizeOp>(rhs.getDefiningOp());
          if (!dq) return failure();
          auto q = dyn_cast_or_null<QuantizeOp>(dq.getInput().getDefiningOp());
          if (!q || !matchPattern(q.getInput(), m_Constant(&constant))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

            ArtifactRepository repository = new DefaultArtifactRepository("snapshots.repo", "http://whatever", null);
            String pattern = "external:*, !snapshots.repo";
            assertFalse(DefaultMirrorSelector.matchPattern(repository, pattern));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. 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)
Back to top