Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,286 for GetWork (0.14 sec)

  1. src/net/unixsock.go

    //
    // The network must be a Unix network name.
    //
    // See func [Dial] for a description of the network and address
    // parameters.
    func ResolveUnixAddr(network, address string) (*UnixAddr, error) {
    	switch network {
    	case "unix", "unixgram", "unixpacket":
    		return &UnixAddr{Name: address, Net: network}, nil
    	default:
    		return nil, UnknownNetworkError(network)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/net/file_test.go

    		switch tt.network {
    		case "udp":
    			c := newLocalPacketListener(t, tt.network)
    			defer c.Close()
    			network = c.LocalAddr().Network()
    			address = c.LocalAddr().String()
    		default:
    			handler := func(ls *localServer, ln Listener) {
    				c, err := ln.Accept()
    				if err != nil {
    					return
    				}
    				defer c.Close()
    				var b [1]byte
    				c.Read(b[:])
    			}
    			ls := newLocalServer(t, tt.network)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/nettest/nettest.go

    	return rawSocketSess
    }
    
    // TestableNetwork reports whether network is testable on the current
    // platform configuration.
    //
    // See func Dial of the standard library for the supported networks.
    func TestableNetwork(network string) bool {
    	ss := strings.Split(network, ":")
    	switch ss[0] {
    	case "ip+nopriv":
    		// This is an internal network name for testing on the
    		// package net of the standard library.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pilot/pkg/xds/eds_sh_test.go

    	// Set up a cluster registry for network 1 with 1 instance for the service 'service5'
    	// Network has 1 gateway
    	initRegistry(s, 1, []string{"159.122.219.1"}, 1)
    	// Set up a cluster registry for network 2 with 2 instances for the service 'service5'
    	// Network has 1 gateway
    	initRegistry(s, 2, []string{"159.122.219.2"}, 2)
    	// Set up a cluster registry for network 3 with 3 instances for the service 'service5'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/hns_test.go

    	t.Skip("Skipping failing test on Windows.")
    	hns := hns{hcn: newHcnImpl()}
    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    
    	if !strings.EqualFold(network.id, Network.Id) {
    		t.Errorf("%v does not match %v", network.id, Network.Id)
    	}
    	err = Network.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

      /**
       * Returns a view of {@code network} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code network} will be reflected in the view.
       */
      public static <N, E> Network<N, E> transpose(Network<N, E> network) {
        if (!network.isDirected()) {
          return network; // the transpose of an undirected network is an identical network
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. tests/integration/pilot/workloadentry_test.go

    				t.Skip("must have an east-west for each network")
    			}
    
    			// we have an imaginary network for each network called {name}-manual-discovery
    			gwTmpl := `
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: Gateway
    metadata:
      name: remote-gateway-manual-discovery-%s
      labels:
        topology.istio.io/network: "%s-manual-discovery"
    spec:
      gatewayClassName: istio-remote
      addresses:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/net/iprawsock_posix.go

    	network, proto, err := parseNetwork(ctx, sd.network, true)
    	if err != nil {
    		return nil, err
    	}
    	switch network {
    	case "ip", "ip4", "ip6":
    	default:
    		return nil, UnknownNetworkError(sd.network)
    	}
    	ctrlCtxFn := sd.Dialer.ControlContext
    	if ctrlCtxFn == nil && sd.Dialer.Control != nil {
    		ctrlCtxFn = func(ctx context.Context, network, address string, c syscall.RawConn) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/net/dial.go

    		}
    		return network, 0, nil
    	}
    	afnet = network[:i]
    	switch afnet {
    	case "ip", "ip4", "ip6":
    		protostr := network[i+1:]
    		proto, i, ok := dtoi(protostr)
    		if !ok || i != len(protostr) {
    			proto, err = lookupProtocol(ctx, protostr)
    			if err != nil {
    				return "", 0, err
    			}
    		}
    		return afnet, proto, nil
    	}
    	return "", 0, UnknownNetworkError(network)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. 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)
Back to top