Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 453 for LISTEN (0.31 sec)

  1. pkg/ctrlz/options.go

    )
    
    // Options defines the set of options supported by Istio's ControlZ component introspection package.
    type Options struct {
    	// The IP port to use for ctrlz.
    	Port uint16
    
    	// The IP address to listen on for ctrlz.
    	Address string
    
    	// If true, pprof will be enabled
    	EnablePprof bool
    }
    
    // DefaultOptions returns a new set of options, initialized to the defaults
    func DefaultOptions() *Options {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/serving_with_loopback_test.go

    	var loopbackClientConfig *rest.Config
    
    	s := (&SecureServingOptions{
    		BindAddress: netutils.ParseIPSloppy("127.0.0.1"),
    	}).WithLoopback()
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		t.Fatalf("failed to listen on 127.0.0.1:0")
    	}
    	defer ln.Close()
    	s.Listener = ln
    	s.BindPort = ln.Addr().(*net.TCPAddr).Port
    
    	if err := s.ApplyTo(&secureServingInfo, &loopbackClientConfig); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. src/net/unixsock.go

    	}
    	return
    }
    
    // ListenUnix acts like [Listen] for Unix networks.
    //
    // The network must be "unix" or "unixpacket".
    func ListenUnix(network string, laddr *UnixAddr) (*UnixListener, error) {
    	switch network {
    	case "unix", "unixpacket":
    	default:
    		return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: 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)
  4. pkg/test/echo/common/model.go

    	TLS bool
    
    	// ServerFirst if a port will be server first
    	ServerFirst bool
    
    	// InstanceIP determines if echo will listen on the instance IP, or wildcard
    	InstanceIP bool
    
    	// LocalhostIP determines if echo will listen on the localhost IP; otherwise, it will listen on wildcard
    	LocalhostIP bool
    
    	// XDSServer, for gRPC servers, will use the xds.NewGRPCServer constructor to rely on XDS configuration.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 05 00:22:45 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. pkg/uds/listener.go

    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that istio-proxy has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_activity_listener_test.cc

    namespace tensorflow {
    namespace {
    
    class TestListener : public XlaActivityListener {
     public:
      Status Listen(
          const XlaAutoClusteringActivity& auto_clustering_activity) override {
        auto_clustering_activity_ = auto_clustering_activity;
        return absl::OkStatus();
      }
    
      Status Listen(
          const XlaJitCompilationActivity& jit_compilation_activity) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/grid/debug.go

    		}
    	}
    }
    
    func getHosts(n int) (hosts []string, listeners []net.Listener, err error) {
    	for i := 0; i < n; i++ {
    		l, err := net.Listen("tcp", "127.0.0.1:0")
    		if err != nil {
    			if l, err = net.Listen("tcp6", "[::1]:0"); err != nil {
    				return nil, nil, fmt.Errorf("httptest: failed to listen on a port: %v", err)
    			}
    		}
    		addr := l.Addr()
    		hosts = append(hosts, "http://"+addr.String())
    		listeners = append(listeners, l)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. cni/pkg/pluginlistener/listener.go

    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/RemovalListener.java

     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @FunctionalInterface
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/config_test.go

    	opts := options.NewOptions()
    	s := (&apiserveroptions.SecureServingOptions{
    		BindAddress: netutils.ParseIPSloppy("127.0.0.1"),
    	}).WithLoopback()
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		t.Fatalf("failed to listen on 127.0.0.1:0")
    	}
    	defer ln.Close()
    	s.Listener = ln
    	s.BindPort = ln.Addr().(*net.TCPAddr).Port
    	opts.SecureServing = s
    
    	completedOptions, err := opts.Complete(nil, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 12:14:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top