Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,099 for host2 (0.04 sec)

  1. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pkg/proxy/endpointslicecache_test.go

    			namespacedName: types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			hostname:       "host1",
    			endpointSlices: []*discovery.EndpointSlice{
    				generateEndpointSliceWithOffset("svc1", "ns1", 1, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80)}),
    				generateEndpointSliceWithOffset("svc1", "ns1", 2, 1, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](8080)}),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. tests/integration/pilot/mirror_test.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    //	Virtual service topology
    //
    //	    a                      b                     c
    //	|-------|             |-------|    mirror   |-------|
    //	| Host0 | ----------> | Host1 | ----------> | Host2 |
    //	|-------|             |-------|             |-------|
    //
    
    type VirtualServiceMirrorConfig struct {
    	Name       string
    	Absent     bool
    	Percent    float64
    	MirrorHost string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/net/http/routing_tree_test.go

    		name       string
    		tree       *routingNode
    		host, path string
    		want       string
    	}{
    		{
    			"post",
    			buildTree("POST /"), "", "/foo",
    			"POST",
    		},
    		{
    			"get",
    			buildTree("GET /"), "", "/foo",
    			"GET,HEAD",
    		},
    		{
    			"host",
    			hostTree, "", "/foo",
    			"",
    		},
    		{
    			"host",
    			hostTree, "", "/foo/bar",
    			"POST",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http:\\\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:///host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\//host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:/\\/host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://\\host/path"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier_test.go

    				{"10.0.1.1", testHostname},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    		},
    		{
    			name:                  "internalTrafficPolicy is set and there are no local endpoints",
    			internalTrafficPolicy: ptr.To(v1.ServiceInternalTrafficPolicyLocal),
    			endpoints: []endpoint{
    				{"10.0.1.1", "host0"},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier_test.go

    				{"10.0.1.1", testHostname},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    		},
    		{
    			name:                  "internalTrafficPolicy is set and there are no local endpoints",
    			internalTrafficPolicy: ptr.To(v1.ServiceInternalTrafficPolicyLocal),
    			endpoints: []endpoint{
    				{"10.0.1.1", "host0"},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  8. src/net/url/url.go

    		zone := strings.Index(host[:i], "%25")
    		if zone >= 0 {
    			host1, err := unescape(host[:zone], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			host2, err := unescape(host[zone:i], encodeZone)
    			if err != nil {
    				return "", err
    			}
    			host3, err := unescape(host[i:], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			return host1 + host2 + host3, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    				{"10.0.1.1", testHostname},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    		},
    		{
    			name:                  "internalTrafficPolicy is set and there are no local endpoints",
    			internalTrafficPolicy: ptr.To(v1.ServiceInternalTrafficPolicyLocal),
    			endpoints: []endpoint{
    				{"10.0.1.1", "host0"},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  10. src/net/http/cgi/host.go

    	port := "80"
    	if req.TLS != nil {
    		port = "443"
    	}
    	if matches := trailingPort.FindStringSubmatch(req.Host); len(matches) != 0 {
    		port = matches[1]
    	}
    
    	env := []string{
    		"SERVER_SOFTWARE=go",
    		"SERVER_PROTOCOL=HTTP/1.1",
    		"HTTP_HOST=" + req.Host,
    		"GATEWAY_INTERFACE=CGI/1.1",
    		"REQUEST_METHOD=" + req.Method,
    		"QUERY_STRING=" + req.URL.RawQuery,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top