Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for pattern1 (0.16 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

                logger.debug("pattern1: {}, pattern2: {}", pattern1Str, pattern2Str);
            }
            if (pattern1Str != null) {
                pattern1 = Pattern.compile(pattern1Str);
                pattern2 = Pattern.compile(pattern2Str);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new PatternConcatenationFilter(tokenStream, pattern1, pattern2);
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/text/template/helper.go

    	t.init()
    	return parseFS(t, fsys, 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 {
    			return nil, err
    		}
    		if len(list) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:54:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/net/http/routing_tree.go

    	// If n is an interior node (which means it has a nil pattern),
    	// then we failed to match.
    	if path == "" {
    		if n.pattern == nil {
    			return nil, nil
    		}
    		return n, matches
    	}
    	// Get the first segment of path.
    	seg, rest := firstSegment(path)
    	// First try matching against patterns that have a literal for this position.
    	// We know by construction that such patterns are more specific than those
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. testing/internal-architecture-testing/src/main/java/org/gradle/internal/architecture/PackageCycleTest.java

            String patterns = System.getProperty("package.cycle.exclude.patterns");
            return Arrays.stream(patterns.split(","))
                .map(String::trim);
        }
    
        private static Set<String> ignoredPackagesForCycles() {
            return excludePatterns()
                .filter(pattern -> !isClassNamePattern(pattern))
                .map(pattern -> pattern.replace("/**", ".."))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/net/http/routing_index_test.go

    	"testing"
    )
    
    func TestIndex(t *testing.T) {
    	// Generate every kind of pattern up to some number of segments,
    	// and compare conflicts found during indexing with those found
    	// by exhaustive comparison.
    	patterns := generatePatterns()
    	var idx routingIndex
    	for i, pat := range patterns {
    		got := indexConflicts(pat, &idx)
    		want := trueConflicts(pat, patterns[:i])
    		if !slices.Equal(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize.cc

      RewritePatternSet patterns(&ctx);
      patterns.add<StableHloQuantization, StableHloQuantizationReverse>(&ctx);
    
      PopulateCommonQuantizationPatterns(ctx, patterns,
                                         enable_per_channel_quantized_weight_);
    
      // Quantize all quantizable ops, including ops that are not compute-heavy.
      PopulateAllQuantizablePatterns(ctx, patterns);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 07:08:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/net/http/server_test.go

    		paths121 []string // paths that matched the pattern in Go 1.21.
    	}{
    		{
    			"/a", // this pattern matches a path that unescapes to "/a"
    			[]string{"/a", "/%61"},
    			[]string{"/a", "/%61"},
    		},
    		{
    			"/%62", // patterns are unescaped by segment; matches paths that unescape to "/b"
    			[]string{"/b", "/%62"},
    			[]string{"/%2562"}, // In 1.21, patterns were not unescaped but paths were.
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. src/net/http/servemux121.go

    		panic("http: multiple registrations for " + pattern)
    	}
    
    	if mux.m == nil {
    		mux.m = make(map[string]muxEntry)
    	}
    	e := muxEntry{h: handler, pattern: pattern}
    	mux.m[pattern] = e
    	if pattern[len(pattern)-1] == '/' {
    		mux.es = appendSorted(mux.es, e)
    	}
    
    	if pattern[0] != '/' {
    		mux.hosts = true
    	}
    }
    
    func appendSorted(es []muxEntry, e muxEntry) []muxEntry {
    	n := len(es)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top