Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,593 for net (0.28 sec)

  1. pkg/proxy/util/nodeport_addresses.go

    			switch v := addr.(type) {
    			case *net.IPAddr:
    				ip = v.IP
    			case *net.IPNet:
    				ip = v.IP
    			default:
    				continue
    			}
    
    			if cidr.Contains(ip) {
    				addresses[ip.String()] = ip
    			}
    		}
    	}
    
    	ips := make([]net.IP, 0, len(addresses))
    	for _, ip := range addresses {
    		ips = append(ips, ip)
    	}
    
    	return ips, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/net/tcpsock_solaris.go

    			return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    		}
    		if err := setKeepAliveInterval(c.fd, config.Interval); err != nil {
    			return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    		}
    		if err := setKeepAliveCount(c.fd, config.Count); err != nil {
    			return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. internal/http/listener.go

    	}
    
    	return nil
    }
    
    // Addr - net.Listener interface compatible method returns net.Addr.  In case of multiple TCP listeners, it returns '0.0.0.0' as IP address.
    func (listener *httpListener) Addr() (addr net.Addr) {
    	addr = listener.listeners[0].Addr()
    	if len(listener.listeners) == 1 {
    		return addr
    	}
    
    	tcpAddr := addr.(*net.TCPAddr)
    	if ip := net.ParseIP("0.0.0.0"); ip != nil {
    		tcpAddr.IP = ip
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_issue37438.txt

    # not error out on the (unrelated) latest one.
    
    go get example.net/a/p@v0.2.0
    
    -- go.mod --
    module example
    
    go 1.15
    
    require example.net/a v0.1.0
    
    replace (
    	example.net/a v0.1.0 => ./a1
    	example.net/a v0.2.0 => ./a2
    	example.net/a v0.3.0 => ./a1
    )
    
    -- a1/go.mod --
    module example.net/a
    
    go 1.15
    -- a1/README --
    package example.net/a/p does not exist at this version.
    
    -- a2/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 798 bytes
    - Viewed (0)
  5. test/stress/parsego.go

    	"math/big",
    	"math/cmplx",
    	"math/rand",
    	"mime",
    	"mime/multipart",
    	"net",
    	"net/http",
    	"net/http/cgi",
    	"net/http/cookiejar",
    	"net/http/fcgi",
    	"net/http/httptest",
    	"net/http/httputil",
    	"net/http/pprof",
    	"net/mail",
    	"net/rpc",
    	"net/rpc/jsonrpc",
    	"net/smtp",
    	"net/textproto",
    	"net/url",
    	"os",
    	"os/exec",
    	"os/signal",
    	"os/user",
    	"path",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.1K bytes
    - Viewed (0)
  6. pkg/proxy/healthcheck/common.go

    limitations under the License.
    */
    
    package healthcheck
    
    import (
    	"net"
    	"net/http"
    )
    
    // listener allows for testing of ServiceHealthServer and ProxierHealthServer.
    type listener interface {
    	// Listen is very much like net.Listen, except the first arg (network) is
    	// fixed to be "tcp".
    	Listen(addr string) (net.Listener, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 29 09:11:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/bitmap.go

    func (r *Range) Restore(net *net.IPNet, data []byte) error {
    	if !net.IP.Equal(r.net.IP) || net.Mask.String() != r.net.Mask.String() {
    		return ErrMismatchedNetwork
    	}
    	snapshottable, ok := r.alloc.(allocator.Snapshottable)
    	if !ok {
    		return fmt.Errorf("not a snapshottable allocator")
    	}
    	if err := snapshottable.Restore(net.String(), data); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. api/go1.6.txt

    pkg net/http, const MethodHead ideal-string
    pkg net/http, const MethodOptions = "OPTIONS"
    pkg net/http, const MethodOptions ideal-string
    pkg net/http, const MethodPatch = "PATCH"
    pkg net/http, const MethodPatch ideal-string
    pkg net/http, const MethodPost = "POST"
    pkg net/http, const MethodPost ideal-string
    pkg net/http, const MethodPut = "PUT"
    pkg net/http, const MethodPut ideal-string
    pkg net/http, const MethodTrace = "TRACE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  9. pkg/proxy/util/network.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"net"
    )
    
    // NetworkInterfacer defines an interface for several net library functions. Production
    // code will forward to net library functions, and unit tests will override the methods
    // for testing purposes.
    type NetworkInterfacer interface {
    	InterfaceAddrs() ([]net.Addr, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 08:08:19 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. src/net/ipsock_plan9.go

    	if err != nil {
    		f.Close()
    		return nil, &OpError{Op: "announce", Net: net, Source: laddr, Addr: nil, Err: err}
    	}
    	laddr, err = readPlan9Addr(net, netdir+"/"+proto+"/"+name+"/local")
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    	return newFD(proto, name, nil, f, nil, laddr, nil)
    }
    
    func (fd *netFD) netFD() (*netFD, error) {
    	return newFD(fd.net, fd.n, fd.listen, fd.ctl, fd.data, fd.laddr, fd.raddr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top