- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for exact_match (0.63 sec)
-
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) -
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) -
samples/ratelimit/local-rate-limit-service.yaml
- actions: - remote_address: {} - actions: - header_value_match: descriptor_value: "productpage" expect_match: true headers: - name: :path string_match: prefix: /productpage ignore_case: true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 31 08:22:09 UTC 2023 - 3.1K bytes - Viewed (0) -
src/net/http/server_test.go
{"/a/b/{$}", "/a/b/", true}, {"/a/", "/a/b/", false}, } { var n *routingNode if test.pattern != "" { pat := mustParsePattern(t, test.pattern) n = &routingNode{pattern: pat} } got := exactMatch(n, test.path) if got != test.want { t.Errorf("%q, %s: got %t, want %t", test.pattern, test.path, got, test.want) } } } func TestEscapedPathsAndPatterns(t *testing.T) { matches := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 13:54:22 UTC 2024 - 7.3K bytes - Viewed (0) -
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) -
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) -
src/net/http/server.go
// or the URL already has a trailing slash, then we're done. if !exactMatch(n, path) && u != nil && !strings.HasSuffix(path, "/") { // If there is an exact match with a trailing slash, then redirect. path += "/" n2, _ := mux.tree.match(host, method, path) if exactMatch(n2, path) { return nil, nil, &url.URL{Path: cleanPath(u.Path) + "/", RawQuery: u.RawQuery} } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)