Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for addr1 (0.04 sec)

  1. cni/pkg/ipset/nldeps_linux.go

    }
    
    func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
    	var ipList []netip.Addr
    
    	res, err := netlink.IpsetList(name)
    	if err != nil {
    		return ipList, fmt.Errorf("failed to list ipset %s: %w", name, err)
    	}
    
    	for _, entry := range res.Entries {
    		addr, _ := netip.AddrFromSlice(entry.IP)
    		ipList = append(ipList, addr)
    	}
    
    	return ipList, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/net/lookup_windows_test.go

    	testenv.MustHaveExternalNetwork(t)
    
    	addr, err := localIP()
    	if err != nil {
    		t.Errorf("failed to get local ip: %s", err)
    	}
    	names, err := LookupAddr(addr.String())
    	if err != nil {
    		t.Errorf("failed %s: %s", addr, err)
    	}
    	if len(names) == 0 {
    		t.Errorf("no results")
    	}
    	expected, err := lookupPTR(addr.String())
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/podresources/client.go

    	addr, dialer, err := util.GetAddressAndDialer(socket)
    	if err != nil {
    		return nil, nil, err
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), connectionTimeout)
    	defer cancel()
    
    	conn, err := grpc.DialContext(ctx, addr,
    		grpc.WithTransportCredentials(insecure.NewCredentials()),
    		grpc.WithContextDialer(dialer),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. pkg/test/echo/server/forwarder/http.go

    	newConn := func() *http.Transport {
    		dialContext := func(ctx context.Context, network, addr string) (net.Conn, error) {
    			return newDialer(cfg).DialContext(ctx, network, addr)
    		}
    		if len(cfg.UDS) > 0 {
    			dialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
    				return newDialer(cfg).DialContext(ctx, "unix", cfg.UDS)
    			}
    		}
    		out := &http.Transport{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/boring.go

    	x := uintptr(p)
    	return unsafe.Pointer(x ^ 0)
    }
    
    var zero byte
    
    // addr converts p to its base addr, including a noescape along the way.
    // If p is nil, addr returns a non-nil pointer, so that the result can always
    // be dereferenced.
    //
    //go:nosplit
    func addr(p []byte) *byte {
    	if len(p) == 0 {
    		return &zero
    	}
    	return (*byte)(noescape(unsafe.Pointer(&p[0])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/net/http/export_test.go

    	t.queueForIdleConn(nil)
    }
    
    // PutIdleTestConn reports whether it was able to insert a fresh
    // persistConn for scheme, addr into the idle connection pool.
    func (t *Transport) PutIdleTestConn(scheme, addr string) bool {
    	c, _ := net.Pipe()
    	key := connectMethodKey{"", scheme, addr, false}
    
    	if t.MaxConnsPerHost > 0 {
    		// Transport is tracking conns-per-host.
    		// Increment connection count to account
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    }
    
    type Cmsghdr struct {
    	Len   int32
    	Level int32
    	Type  int32
    }
    
    type Inet4Pktinfo struct {
    	Addr    [4]byte /* in_addr */
    	Ifindex uint32
    }
    
    type Inet6Pktinfo struct {
    	Addr    [16]byte /* in6_addr */
    	Ifindex uint32
    }
    
    type IPv6MTUInfo struct {
    	Addr RawSockaddrInet6
    	Mtu  uint32
    }
    
    type ICMPv6Filter struct {
    	Data [8]uint32
    }
    
    type TCPInfo struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		}
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    			return addr
    		}
    		ip, port, _ := net.SplitHostPort(addr)
    		if s, f := serviceNames[ip]; f {
    			return net.JoinHostPort(s, port)
    		}
    		if w, f := workloadNames[ip]; f {
    			return net.JoinHostPort(w, port)
    		}
    		return addr
    	}
    	fmt.Fprintln(w, "WORKLOAD\tDIRECTION\tLOCAL\tREMOTE\tREMOTE TARGET")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_mipsx.s

    	AND	R2, R4
    	SC	R4, (R3)	// *R3 = R4
    	BEQ	R4, try_and8
    	SYNC
    	RET
    
    // func Or(addr *uint32, v uint32)
    TEXT ·Or(SB), NOSPLIT, $0-8
    	MOVW	ptr+0(FP), R1
    	MOVW	val+4(FP), R2
    
    	SYNC
    	LL	(R1), R3
    	OR	R2, R3
    	SC	R3, (R1)
    	BEQ	R3, -4(PC)
    	SYNC
    	RET
    
    // func And(addr *uint32, v uint32)
    TEXT ·And(SB), NOSPLIT, $0-8
    	MOVW	ptr+0(FP), R1
    	MOVW	val+4(FP), R2
    
    	SYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/net/http/transport_internal_test.go

    			return
    		}
    		connc <- c
    	}()
    
    	tr := new(Transport)
    	req, _ := NewRequest("GET", "http://"+ln.Addr().String(), nil)
    	req = req.WithT(t)
    	ctx, cancel := context.WithCancelCause(context.Background())
    	treq := &transportRequest{Request: req, ctx: ctx, cancel: cancel}
    	cm := connectMethod{targetScheme: "http", targetAddr: ln.Addr().String()}
    	pc, err := tr.getConn(treq, cm)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top