Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for exact_match (0.73 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

                return MatchResult.EXACT_MATCH;
            }
            for (Capability capability : capabilitiesSet) {
                capability = unwrap(capability);
                if (group.equals(capability.getGroup()) && name.equals(capability.getName())) {
                    boolean exactMatch = capabilitiesSet.size() == 1;
                    return exactMatch ? MatchResult.EXACT_MATCH : MatchResult.MATCHES_ALL;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins.
        var exactMatch: String? = null
        for (i in domainLabelsUtf8Bytes.indices) {
          val rule = publicSuffixListBytes.binarySearch(domainLabelsUtf8Bytes, i)
          if (rule != null) {
            exactMatch = rule
            break
          }
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    	return nil, nil
    }
    
    func TestShouldCallHook(t *testing.T) {
    	a := &Webhook{
    		namespaceMatcher: &namespace.Matcher{},
    		objectMatcher:    &object.Matcher{},
    	}
    
    	allScopes := v1.AllScopes
    	exactMatch := v1.Exact
    	equivalentMatch := v1.Equivalent
    
    	mapper := runtime.NewEquivalentResourceRegistryWithIdentity(func(resource schema.GroupResource) string {
    		if resource.Resource == "deployments" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    }
    
    func TestMatcher(t *testing.T) {
    	a := &Matcher{namespaceMatcher: &namespace.Matcher{}, objectMatcher: &object.Matcher{}}
    
    	allScopes := v1.AllScopes
    	exactMatch := v1.Exact
    	equivalentMatch := v1.Equivalent
    
    	mapper := runtime.NewEquivalentResourceRegistryWithIdentity(func(resource schema.GroupResource) string {
    		if resource.Resource == "deployments" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_internal_test.go

    						Prefix: "/",
    					},
    					Headers: []*route.HeaderMatcher{
    						{
    							Name: "Authentication",
    							HeaderMatchSpecifier: &route.HeaderMatcher_ExactMatch{
    								ExactMatch: "test",
    							},
    						},
    					},
    				},
    			},
    			want: false,
    		},
    		{
    			name: "uri regex with headers",
    			route: &route.Route{
    				Name: "non-catch-all",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    			// nonExactMatch pending first
    			if previousOp.operationPending {
    				return true, previousOpIndex
    			}
    			// nonExactMatch with no pending, set opIndex to the first nonExactMatch
    			// exactMatch can override opIndex to expected
    			if opIndex == -1 || (podNameExactMatch && nodeNameExactMatch) {
    				opIndex = previousOpIndex
    			}
    		}
    	}
    	return opIndex != -1, opIndex
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/fields/selector_test.go

    	expectMatch(t, "x=y", Set{"x": "y"})
    	expectMatch(t, "x=y,z=w", Set{"x": "y", "z": "w"})
    	expectMatch(t, "x!=y,z!=w", Set{"x": "z", "z": "a"})
    	expectMatch(t, "notin=in", Set{"notin": "in"}) // in and notin in exactMatch
    	expectNoMatch(t, "x=y", Set{"x": "z"})
    	expectNoMatch(t, "x=y,z=w", Set{"x": "w", "z": "w"})
    	expectNoMatch(t, "x!=y,z!=w", Set{"x": "z", "z": "w"})
    
    	fieldset := Set{
    		"foo":     "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 08:00:38 UTC 2017
    - 11.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    	expectMatch(t, "x=y", Set{"x": "y"})
    	expectMatch(t, "x=y,z=w", Set{"x": "y", "z": "w"})
    	expectMatch(t, "x!=y,z!=w", Set{"x": "z", "z": "a"})
    	expectMatch(t, "notin=in", Set{"notin": "in"}) // in and notin in exactMatch
    	expectMatch(t, "x", Set{"x": "z"})
    	expectMatch(t, "!x", Set{"y": "z"})
    	expectMatch(t, "x>1", Set{"x": "2"})
    	expectMatch(t, "x<1", Set{"x": "0"})
    	expectNoMatch(t, "x=z", Set{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
Back to top