Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 730 for HOST (0.05 sec)

  1. src/net/http/cookiejar/jar_test.go

    	{
    		"Retrieval of a plain host cookie.",
    		"http://www.host.test/",
    		[]string{"A=a"},
    		"A=a",
    		[]query{
    			{"http://www.host.test", "A=a"},
    			{"http://www.host.test/", "A=a"},
    			{"http://www.host.test/some/path", "A=a"},
    			{"https://www.host.test", "A=a"},
    			{"https://www.host.test/", "A=a"},
    			{"https://www.host.test/some/path", "A=a"},
    			{"ftp://www.host.test", ""},
    			{"ftp://www.host.test/", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. pkg/volume/testing/volume_host.go

    	host := &fakeAttachDetachVolumeHost{}
    	host.rootDir = rootDir
    	host.kubeClient = kubeClient
    	host.nodeName = nodeName
    	host.csiDriverLister = driverLister
    	host.volumeAttachmentLister = volumeAttachLister
    	host.mounter = mount.NewFakeMounter(nil)
    	host.hostUtil = hostutil.NewFakeHostUtil(pathToTypeMap)
    	host.exec = &testingexec.FakeExec{DisableScripts: true}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. cmd/endpoint.go

    			if endpoint.IsLocal && endpoint.Host != "" {
    				u := &url.URL{
    					Scheme: endpoint.Scheme,
    					Host:   endpoint.Host,
    				}
    				return u.String()
    			}
    		}
    	}
    	host := globalMinioHost
    	if host == "" {
    		host = sortIPs(localIP4.ToSlice())[0]
    	}
    	return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort))
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/net/ipsock.go

    // IPv6 addresses, then JoinHostPort returns "[host]:port".
    //
    // See func Dial for a description of the host and port parameters.
    func JoinHostPort(host, port string) string {
    	// We assume that host is a literal IPv6 address if host has
    	// colons.
    	if bytealg.IndexByteString(host, ':') >= 0 {
    		return "[" + host + "]:" + port
    	}
    	return host + ":" + port
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar.go

    	if isIP(host) {
    		return host
    	}
    
    	var i int
    	if psl == nil {
    		i = strings.LastIndex(host, ".")
    		if i <= 0 {
    			return host
    		}
    	} else {
    		suffix := psl.PublicSuffix(host)
    		if suffix == host {
    			return host
    		}
    		i = len(host) - len(suffix)
    		if i <= 0 || host[i-1] != '.' {
    			// The provided public suffix list psl is broken.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/net/url/url.go

    	if colon != -1 && validOptionalPort(host[colon:]) {
    		host, port = host[:colon], host[colon+1:]
    	}
    
    	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
    		host = host[1 : len(host)-1]
    	}
    
    	return
    }
    
    // Marshaling interface implementations.
    // Would like to implement MarshalText/UnmarshalText but that will change the JSON representation of URLs.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  7. 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)
  8. cmd/notification.go

    	allPeerClients []*peerRESTClient // Includes nil client for self
    }
    
    // NotificationPeerErr returns error associated for a remote peer.
    type NotificationPeerErr struct {
    	Host xnet.Host // Remote host on which the rpc call was initiated
    	Err  error     // Error returned by the remote peer for an rpc call
    }
    
    // A NotificationGroup is a collection of goroutines working on subtasks that are part of
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    			}
    
    			// check that the loopback client can connect
    			host := "127.0.0.1"
    			if len(test.LoopbackClientBindAddressOverride) != 0 {
    				host = test.LoopbackClientBindAddressOverride
    			}
    			s.LoopbackClientConfig.Host = net.JoinHostPort(host, strconv.Itoa(secureOptions.BindPort))
    
    			client, err := discovery.NewDiscoveryClientForConfig(s.LoopbackClientConfig)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

                    "host": "hostValue",
                    "scheme": "schemeValue",
                    "httpHeaders": [
                      {
                        "name": "nameValue",
                        "value": "valueValue"
                      }
                    ]
                  },
                  "tcpSocket": {
                    "port": "portValue",
                    "host": "hostValue"
                  },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top