Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,599 for matchLen (0.19 sec)

  1. tensorflow/compiler/jit/node_matchers.h

    // Matches the first output of a node that matches `node`.
    inline ::testing::Matcher<impl::OutEdge> Out(
        ::testing::Matcher<const Node*> node) {
      return Out(0, node);
    }
    
    // Matches a node with control dependences `control_deps`.
    //
    // `control_deps` are unordered and will match the control deps of a node in any
    // order.
    template <typename... Ts>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java

                }
            };
        }
    
        @Factory
        public static Matcher<Throwable> hasMessage(final Matcher<String> matcher) {
            return new BaseMatcher<Throwable>() {
                @Override
                public boolean matches(Object o) {
                    Throwable t = (Throwable) o;
                    return matcher.matches(t.getMessage());
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelector.java

            this.comparator = comparator;
    
            Matcher matcher;
            matcher = FINITE_RANGE.matcher(selector);
            if (matcher.matches()) {
                lowerBound = matcher.group(1);
                lowerInclusive = selector.startsWith(OPEN_INC);
                upperBound = matcher.group(2);
                upperInclusive = selector.endsWith(CLOSE_INC);
            } else {
                matcher = LOWER_INFINITE_RANGE.matcher(selector);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ResourceVersionLister.java

        }
    
        private List<String> filterMatchedValues(List<String> all, final Pattern p) {
            List<String> ret = new ArrayList<>(all.size());
            for (String path : all) {
                Matcher m = p.matcher(path);
                if (m.matches()) {
                    String value = m.group(1);
                    ret.add(value);
                }
            }
            return ret;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

                return matches.get(0).getArtifacts();
            } else if (matches.size() > 1) {
                // Request is ambiguous. Rerun matching again, except capture an explanation this time for reporting.
                TraceDiscardedVariants newExpBuilder = new TraceDiscardedVariants();
                matches = matcher.matches(variants, componentRequested, newExpBuilder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/test/resources/org/gradle/plugins/ide/eclipse/model/customProject.xml

                        <matcher>
                            <id>org.eclipse.ui.ide.multiFilter</id>
                            <arguments>1.0-name-matches-false-false-node_modules</arguments>
                        </matcher>
                        <matcher>
                            <id>org.eclipse.ui.ide.multiFilter</id>
                            <arguments>1.0-name-matches-false-false-target</arguments>
                        </matcher>
                    </arguments>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    	GetMatchResources() v1.MatchResources
    }
    
    // Matcher decides if a request matches against matchCriteria
    type Matcher struct {
    	namespaceMatcher *namespace.Matcher
    	objectMatcher    *object.Matcher
    }
    
    func (m *Matcher) GetNamespace(name string) (*corev1.Namespace, error) {
    	return m.namespaceMatcher.GetNamespace(name)
    }
    
    // NewMatcher initialize the matcher with dependencies requires
    func NewMatcher(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/versionmapping/DefaultVersionMappingStrategy.java

            if (!attributeBasedMappings.isEmpty()) {
                AttributeMatcher matcher = schema.matcher();
                Set<ImmutableAttributes> candidates = attributeBasedMappings.keySet();
                List<ImmutableAttributes> matches = matcher.matches(candidates, variantAttributes, AttributeMatchingExplanationBuilder.NO_OP);
                if (matches.size() == 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/match/match_test.go

    				inner := NewDestinationIP()
    				inner.OnNoMatch = ToMatcher(leaf.Matcher)
    
    				root := NewDestinationPort()
    				root.OnNoMatch = ToMatcher(inner.Matcher)
    				return root
    			},
    			want: func() *matcher.Matcher {
    				// src port
    				// 15001: chain
    				want := NewSourceIP()
    				want.Map["1.2.3.4"] = ToChain("chain")
    				return want.Matcher
    			},
    		},
    		{
    			name: "empty map at depths = 1 and 2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. pkg/test/framework/resource/matcher_test.go

    	cases := []struct {
    		name      string
    		input     []string
    		matches   []string
    		nomatches []string
    	}{
    		{
    			name:      "empty",
    			input:     []string{},
    			matches:   []string{},
    			nomatches: []string{"", "foo", "foo/bar", ".*"},
    		},
    		{
    			name:      "single",
    			input:     []string{"Foo"},
    			matches:   []string{"TestFoo", "TestMyFooBar", "TestFoo/TestBar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top