Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,218 for npattern (0.1 sec)

  1. src/net/http/server_test.go

    	} {
    		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 {
    		pattern  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    			}
    			bits = 0
    		case '+', '-':
    			if c == '+' && result == false {
    				// Have already seen a -. Should be - from here on.
    				return nil, &parseError{"invalid pattern syntax (+ after -): " + pattern}
    			}
    			if i > 0 {
    				n := (i - start) * wid
    				if n > 64 {
    					return nil, &parseError{"pattern bits too long: " + pattern}
    				}
    				if n <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. src/html/template/template.go

    // It accepts a list of glob patterns.
    // (Note that most file names serve as glob patterns matching only themselves.)
    func (t *Template) ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
    	return parseFS(t, fs, patterns)
    }
    
    func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
    	var filenames []string
    	for _, pattern := range patterns {
    		list, err := fs.Glob(fsys, pattern)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java

            super(delegate);
            ImmutableList.Builder<String> patterns = ImmutableList.builder();
            ImmutableMap.Builder<PathMatcher, ResourceEntryFilter> filters = ImmutableMap.builder();
            propertiesFileFilters.forEach((pattern, resourceEntryFilter) -> {
                filters.put(PatternMatcherFactory.compile(false, pattern), resourceEntryFilter);
                patterns.add(pattern);
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/govcs.txt

    # bad patterns are reported (for more bad patterns, see TestGOVCSErrors)
    env GOVCS='git'
    ! go get github.com/google/go-cmp
    stderr '^go: github.com/google/go-cmp: malformed entry in GOVCS \(missing colon\): "git"$'
    
    env GOVCS=github.com:hg,github.com:git
    ! go get github.com/google/go-cmp
    stderr '^go: github.com/google/go-cmp: unreachable pattern in GOVCS: "github.com:git" after "github.com:hg"$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    // Adds the HLO to TF rewrite patterns to the specified pattern list.
    void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
                                         MLIRContext* context);
    
    // Adds the HLO to TFLite rewrite patterns to the specified pattern list.
    void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns,
                                             MLIRContext* context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          }
        }
        return success();
      }
    };
    
    // Populates common patterns that are usually compute heavy or memory bound.
    void PopulateCommonQuantizationPatterns(
        MLIRContext& ctx, RewritePatternSet& patterns,
        bool enable_per_channel_quantized_weight);
    
    // Populates conversion patterns for all quantizable ops, including
    // ops that are not compute-heavy and data movement ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopySpecWrapper.java

        }
    
        @Override
        public CopySpec filesMatching(String pattern, Action<? super FileCopyDetails> action) {
            delegate.filesMatching(pattern, action);
            return this;
        }
    
        @Override
        public CopySpec filesMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) {
            delegate.filesMatching(patterns, action);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // input is a scalar or not. Restrict pattern to ranked inputs so that input to
    // the Sum op is also ranked.
    
    // TODO(hinsu): Support scalar inputs by introducing reshape to 1D.
    def NonScalarType : Type<Neg<HasAnyRankOfPred<[0]>>, "Non scalar type">;
    
    def LowerSoftmaxCrossEntropyWithLogitsOp : Pattern<
      (TF_SoftmaxCrossEntropyWithLogitsOp AnyRankedTensor:$features,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top