Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.cc

                                           const std::vector<std::string>& filter,
                                           bool exact_match) {
      if (filter.empty()) return true;
      for (const std::string& filter_str : filter) {
        if (str == filter_str) return true;
        if (!exact_match && str.find(filter_str) != std::string::npos) return true;
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 22:29:51 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h

      // Returns `true` iff any of the strings in `filter` matches `str`, either
      // exactly or as a substring, depending on `exact_match`.
      static bool MatchesFilter(const std::string& str,
                                const std::vector<std::string>& filter,
                                bool exact_match);
    
      // Only log pass invocations whose pass name exactly matches any string in
      // `pass_filter_` (or when `pass_filter_` is empty).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 22:29:51 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go

    	assert.Equal(t, 1, precisePrefixCount)
    	http.Get(s.URL + "/publicPrefix/but-more-precise/more-stuff")
    	assert.Equal(t, 2, precisePrefixCount)
    
    	http.Get(s.URL + "/publicPrefix/exactmatch")
    	assert.Equal(t, 1, exactMatchCount)
    	http.Get(s.URL + "/publicPrefix/exactmatch/")
    	assert.Equal(t, 4, publicPrefixCount)
    	http.Get(s.URL + "/otherPublic/exactmatchslash")
    	assert.Equal(t, 3, fallThroughCount)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 16:15:13 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/nodes/AbstractRenderableDependencyResult.java

            return getActual();
        }
    
        @Override
        public String getName() {
            ComponentSelector requested = getRequested();
            ComponentIdentifier selected = getActual();
    
            if(exactMatch(requested, selected)) {
                return getSimpleName();
            }
    
            if(requested instanceof ModuleComponentSelector && selected instanceof ModuleComponentIdentifier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 06 01:35:57 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/nodes/InvertedRenderableModuleResult.java

                }
            }
            return new LinkedHashSet<>(children.values());
        }
    
        @Override
        public String getDescription() {
            if (dependencyResult != null) {
                if (!exactMatch(dependencyResult.getRequested(), dependencyResult.getSelected().getId())) {
                    return "(requested " + dependencyResult.getRequested() + ")";
                }
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 27 14:58:38 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/nodes/AbstractRenderableDependency.java

            return Collections.emptySet();
        }
    
        @Override
        public List<Section> getExtraDetails() {
            return Collections.emptyList();
        }
    
        protected boolean exactMatch(ComponentSelector requested, ComponentIdentifier selected) {
            if (requested instanceof ModuleComponentSelector) {
                VersionConstraint versionConstraint = ((ModuleComponentSelector) requested).getVersionConstraint();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 10 22:44:30 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. 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)
Back to top