Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,028 for matchDest (0.39 sec)

  1. pkg/proxy/nftables/helpers_test.go

    				verdict := match[1]
    
    				tracer.matches = append(tracer.matches, ruleObj.Rule)
    				tracer.outputs = append(tracer.outputs, strings.ToUpper(verdict))
    				return true
    
    			case returnRegexp.MatchString(rule):
    				// `^return$`
    				// Returns to the calling chain.
    				tracer.matches = append(tracer.matches, ruleObj.Rule)
    				return false
    
    			case dnatRegexp.MatchString(rule):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/path/filepath/match_test.go

    			result = Clean(result)
    		}
    		matches, err := Glob(pattern)
    		if err != nil {
    			t.Errorf("Glob error for %q: %s", pattern, err)
    			continue
    		}
    		if !slices.Contains(matches, result) {
    			t.Errorf("Glob(%#q) = %#v want %v", pattern, matches, result)
    		}
    	}
    	for _, pattern := range []string{"no_match", "../*/no_match"} {
    		matches, err := Glob(pattern)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/path/match_test.go

    // license that can be found in the LICENSE file.
    
    package path_test
    
    import (
    	. "path"
    	"testing"
    )
    
    type MatchTest struct {
    	pattern, s string
    	match      bool
    	err        error
    }
    
    var matchTests = []MatchTest{
    	{"abc", "abc", true, nil},
    	{"*", "abc", true, nil},
    	{"*c", "abc", true, nil},
    	{"a*", "a", true, nil},
    	{"a*", "abc", true, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 14:59:03 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/match/match_test.go

    	tc := []struct {
    		name  string
    		given func() Mapper
    		want  func() *matcher.Matcher
    	}{
    		{
    			name: "empty map at depth = 0",
    			given: func() Mapper {
    				// root (dest port):
    				//   <no matches>
    				//   fallback (dest ip):
    				//     1.2.3.4: chain
    				fallback := NewDestinationIP()
    				fallback.Map["1.2.3.4"] = ToChain("chain")
    
    				root := NewDestinationPort()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class WatchTest extends BaseCIFSTest {
    
        private static final Logger log = LoggerFactory.getLogger(WatchTest.class);
    
        private ExecutorService executor;
        private SmbFile base;
        private Future<List<FileNotifyInformation>> future;
    
    
        public WatchTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  6. src/testing/match_test.go

    Russ Cox <******@****.***> 1659723303 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    Abu Kashem <******@****.***> 1697030441 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. pkg/test/framework/resource/matcher_test.go

    	cases := []struct {
    		name      string
    		input     []string
    		matches   []string
    		nomatches []string
    	}{
    		{
    			name:      "empty",
    			input:     []string{},
    			matches:   []string{},
    			nomatches: []string{"", "foo", "foo/bar", ".*"},
    		},
    		{
    			name:      "single",
    			input:     []string{"Foo"},
    			matches:   []string{"TestFoo", "TestMyFooBar", "TestFoo/TestBar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	// An IP address prefix and domain name can also include a literal port
    	// number (1.2.3.4:80).
    	// A domain name matches that name and all subdomains. A domain name with
    	// a leading "." matches subdomains only. For example "foo.com" matches
    	// "foo.com" and "bar.foo.com"; ".y.com" matches "x.y.com" but not "y.com".
    	// A single asterisk (*) indicates that no proxying should be done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pilot/pkg/model/config.go

    	found := false
    	var matchHost host.Name
    	var matchValue V
    
    	for h, v := range wildcard {
    		if strings.HasSuffix(needle, string(h[1:])) {
    			if !found {
    				matchHost = h
    				matchValue = wildcard[h]
    				found = true
    			} else if host.MoreSpecific(h, matchHost) {
    				matchHost = h
    				matchValue = v
    			}
    		}
    	}
    
    	return matchHost, matchValue, found
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top