Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,283 for GetWork (0.25 sec)

  1. src/net/iprawsock.go

    // IP addresses.
    //
    // See func [Dial] for a description of the network and address
    // parameters.
    func ResolveIPAddr(network, address string) (*IPAddr, error) {
    	if network == "" { // a hint wildcard for Go 1.0 undocumented behavior
    		network = "ip"
    	}
    	afnet, _, err := parseNetwork(context.Background(), network, false)
    	if err != nil {
    		return nil, err
    	}
    	switch afnet {
    	case "ip", "ip4", "ip6":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/net/udpsock.go

    //
    // See func Dial for a description of the network and address
    // parameters.
    func ResolveUDPAddr(network, address string) (*UDPAddr, error) {
    	switch network {
    	case "udp", "udp4", "udp6":
    	case "": // a hint wildcard for Go 1.0 undocumented behavior
    		network = "udp"
    	default:
    		return nil, UnknownNetworkError(network)
    	}
    	addrs, err := DefaultResolver.internetAddrList(context.Background(), network, address)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/mesh_network_test.go

    				{sa: "foo", network: "network-1", address: "1.2.3.4", version: "v1"},
    				// same network, no address is ignored and doesn't affect weight
    				{sa: "foo", network: "network-1", address: "", version: "vj"},
    				// these will me merged giving the remote gateway a weight of 2
    				{sa: "foo", network: "network-2", address: "", version: "v1"},
    				{sa: "foo", network: "network-2", address: "", version: "v1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. src/net/platform_test.go

    // testableListenArgs reports whether arguments are testable on the
    // current platform configuration.
    func testableListenArgs(network, address, client string) bool {
    	if !testableNetwork(network) || !testableAddress(network, address) {
    		return false
    	}
    
    	var err error
    	var addr Addr
    	switch net, _, _ := strings.Cut(network, ":"); net {
    	case "tcp", "tcp4", "tcp6":
    		addr, err = ResolveTCPAddr("tcp", address)
    	case "udp", "udp4", "udp6":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. releasenotes/notes/47574.yaml

    - |
      **Added** support for automatically set default network to Ambient workloads if they are added to the Ambient before the network topology is set.
      Before, when you set `topology.istio.io/network` on your Istio root namespace, you need to manually rollout the Ambient workloads to make the network change take effect. 
      Now, the network of Ambient workloads will be automatically updated even if they do not have a network label.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 22 06:59:24 UTC 2023
    - 733 bytes
    - Viewed (0)
  6. src/net/mockserver_test.go

    			ch <- perr
    		}
    		ch <- err
    		return
    	}
    	ls.cl = append(ls.cl, c)
    
    	network := ln.Addr().Network()
    	if c.LocalAddr().Network() != network || c.RemoteAddr().Network() != network {
    		ch <- fmt.Errorf("got %v->%v; expected %v->%v", c.LocalAddr().Network(), c.RemoteAddr().Network(), network, network)
    		return
    	}
    	c.SetDeadline(time.Now().Add(someTimeout))
    	c.SetReadDeadline(time.Now().Add(someTimeout))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			},
    		},
    		{
    			name: "network only ",
    			ctl: testController{
    				network: "mynetwork",
    			},
    			podLabels: labels.Instance{
    				"k1": "v1",
    			},
    			expected: labels.Instance{
    				"k1":                       "v1",
    				label.TopologyNetwork.Name: "mynetwork",
    			},
    		},
    		{
    			name: "network priority",
    			ctl: testController{
    				network: "ns-network",
    			},
    			podLabels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/net/external_test.go

    	}
    
    	for _, network := range []string{"tcp", "tcp4", "tcp6"} {
    		addr, err := ResolveTCPAddr(network, "www.google.com:http")
    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		switch {
    		case network == "tcp" && addr.IP.To4() == nil:
    			fallthrough
    		case network == "tcp4" && addr.IP.To4() == nil:
    			t.Errorf("got %v; want an IPv4 address on %s", addr, network)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/net/http/socks_bundle.go

    	if err := d.validateTarget(network, address); err != nil {
    		proxy, dst, _ := d.pathAddrs(address)
    		return nil, &net.OpError{Op: d.cmd.String(), Net: network, Source: proxy, Addr: dst, Err: err}
    	}
    	if ctx == nil {
    		proxy, dst, _ := d.pathAddrs(address)
    		return nil, &net.OpError{Op: d.cmd.String(), Net: network, Source: proxy, Addr: dst, Err: errors.New("nil context")}
    	}
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
        flags: Int,
        executor: Executor,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top