- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,606 for nmatch (0.17 sec)
-
src/regexp/testdata/testregex.c
break; } } static void matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test) { int i; for (; nmatch > nsub + 1; nmatch--) if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION) || match[nmatch-1].rm_so >= 0 && match[nmatch-1].rm_eo >= 0)) break; for (i = 0; i < nmatch; i++) { printf("("); matchoffprint(match[i].rm_so);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 51.3K bytes - Viewed (0) -
src/cmd/go/internal/load/flag_test.go
ppfDirTest("../...sub...", 3, "/my/test/dir/sub", "/my/test/othersub", "/my/test/yellowsubmarine", "/my/other/test"), } func ppfDirTest(pattern string, nmatch int, dirs ...string) ppfTest { var pkgs []ppfTestPackage for i, d := range dirs { flags := []string{} if i < nmatch { flags = []string{"-S"} } pkgs = append(pkgs, ppfTestPackage{path: "p", dir: d, flags: flags}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 15:04:04 UTC 2017 - 3.9K bytes - Viewed (0) -
src/regexp/regexp.go
} template = rest if num >= 0 { if 2*num+1 < len(match) && match[2*num] >= 0 { if bsrc != nil { dst = append(dst, bsrc[match[2*num]:match[2*num+1]]...) } else { dst = append(dst, src[match[2*num]:match[2*num+1]]...) } } } else { for i, namei := range re.subexpNames { if name == namei && 2*i+1 < len(match) && match[2*i] >= 0 { if bsrc != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 38.5K bytes - Viewed (0) -
src/regexp/exec_test.go
continue Testing } match := re.MatchString(text) if match != shouldMatch { t.Errorf("%s:%d: %#q.Match(%#q) = %v, want %v", file, lineno, pattern, text, match, shouldMatch) continue Testing } have := re.FindStringSubmatchIndex(text) if (len(have) > 0) != match {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 20.7K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
} if fallback := innerMapper.GetOnNoMatch(); fallback != nil { // change from: onMatch -> map (empty with fallback) to onMatch -> fallback // that fallback may be an empty map, so we re-queue onMatch in case it still needs fixing onMatch.OnMatch = fallback.OnMatch return []*matcher.Matcher_OnMatch{onMatch} // the inner mapper is gone } // envoy will nack this eventually
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
src/path/filepath/match.go
// '\\' c matches character c // lo '-' hi matches character c for lo <= c <= hi // // Match requires pattern to match all of name, not just a substring. // The only possible returned error is [ErrBadPattern], when pattern // is malformed. // // On Windows, escaping is disabled. Instead, '\\' is treated as // path separator. func Match(pattern, name string) (matched bool, err error) { Pattern: for len(pattern) > 0 { var star bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.7K bytes - Viewed (0) -
tools/bug-report/pkg/util/match/match.go
} } return false } func MatchesGlob(matchString, pattern string) bool { match, err := filepath.Match(pattern, matchString) if err != nil { // Shouldn't be here as prior validation is assumed. log.Errorf("Unexpected filepath error for %s match %s: %s", pattern, matchString, err) return false } return match
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
continue } if tag, index, conf := m.Match(desired...); conf != No { return tag, index } } tag, index, _ = m.Match() return } // Matcher is the interface that wraps the Match method. // // Match returns the best match for any of the given tags, along with // a unique index associated with the returned tag and a confidence // score. type Matcher interface { Match(t ...Tag) (tag Tag, index int, c Confidence) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
pkg/test/loadbalancersim/locality/match.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 27 20:55:37 UTC 2022 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/match.go
// // The matcher uses canonicalization and the parent relationship to find a // match. The resulting match will always be either Und or a language with the // same language and script as the requested language. It will not match // languages for which there is understood to be mutual or one-directional // intelligibility. // // A Match will indicate an Exact match if the language matches after // canonicalization and High if the matched tag is a parent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.9K bytes - Viewed (0)