Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,551 for nmatch (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/networking/core/listenertest/match.go

    	Filters []string
    
    	// TotalMatch will require that the all elements exactly match (eg, if I have 3 elements in the
    	// check, the listener must as well). Otherwise, we only validate the assertions we provided are
    	// present.
    	TotalMatch bool
    }
    
    type FilterChainTest struct {
    	// Match a filter chain by name
    	Name string
    	// Match filter chain by 'type'. This can be important since Name is currently not unique
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/path/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.
    func Match(pattern, name string) (matched bool, err error) {
    Pattern:
    	for len(pattern) > 0 {
    		var star bool
    		var chunk string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    	rMatch := rp.Match.GetRouteConfiguration()
    	if rMatch == nil {
    		return true
    	}
    
    	vMatch := rMatch.Vhost
    	if vMatch == nil {
    		// match any virtual host in the named httpRoute configuration
    		return true
    	}
    
    	match := vMatch.Route
    	if match == nil {
    		// match any httpRoute in the virtual host
    		return true
    	}
    
    	if httpRoute == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. src/testing/match.go

    	elem := strings.Split(name, "/")
    
    	// filter must match.
    	// accept partial match that may produce full match later.
    	ok, partial = m.filter.matches(elem, m.matchFunc)
    	if !ok {
    		return name, false, false
    	}
    
    	// skip must not match.
    	// ignore partial match so we can get to more precise match later.
    	skip, partialSkip := m.skip.matches(elem, m.matchFunc)
    	if skip && !partialSkip {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top