Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sigaddr (0.13 sec)

  1. src/net/lookup_plan9.go

    		for _, a := range addrs {
    			if a == addr {
    				continue loop
    			}
    		}
    		addrs = append(addrs, addr)
    	}
    	return
    }
    
    func (r *Resolver) lookupIP(ctx context.Context, network, host string) (addrs []IPAddr, err error) {
    	if order, conf := systemConf().hostLookupOrder(r, host); order != hostLookupCgo {
    		return r.goLookupIP(ctx, network, host, order, conf)
    	}
    
    	lits, err := r.lookupHost(ctx, host)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/nettest.go

    func hasRoutableIP(network string, ifi *net.Interface) (net.IP, bool) {
    	ifat, err := ifi.Addrs()
    	if err != nil {
    		return nil, false
    	}
    	for _, ifa := range ifat {
    		switch ifa := ifa.(type) {
    		case *net.IPAddr:
    			if ip, ok := routableIP(network, ifa.IP); ok {
    				return ip, true
    			}
    		case *net.IPNet:
    			if ip, ok := routableIP(network, ifa.IP); ok {
    				return ip, true
    			}
    		}
    	}
    	return nil, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. internal/http/listener_test.go

    		t.Fatalf("%s.  Unable to get IP addresses of this host.", err)
    	}
    
    	for _, addr := range addrs {
    		var ip net.IP
    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    
    		if ip.To4() != nil {
    			localIP4.Add(ip.String())
    		}
    	}
    
    	// Filter ipList by IPs those do not start with '127.'.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status.go

    	}
    
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    		return err
    	}
    	for _, addr := range addrs {
    		var ip net.IP
    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    		if ip != nil && ip.Equal(nodeIP) {
    			return nil
    		}
    	}
    	return fmt.Errorf("node IP: %q not found in the host's network interfaces", nodeIP.String())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcdata", 0), ldr.SymSect(s))
    
    	s = ldr.LookupOrCreateSym("runtime.gcbss", 0)
    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcbss", 0), ldr.SymSect(s))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    			continue
    		}
    		if v.Type.IsTuple() && v.Type.FieldType(1).IsMemory() {
    			// We could handle this situation however it is likely
    			// to be very rare.
    			return false
    		}
    		if v.Op.SymEffect()&SymAddr != 0 {
    			// This case prevents an operation that calculates the
    			// address of a local variable from being forced to schedule
    			// before its corresponding VarDef.
    			// See issue 28445.
    			//   v1 = LOAD ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top