- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 883 for addrI (0.09 sec)
-
internal/http/listener_test.go
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err) } } addrs := listener.Addrs() addrSet := set.NewStringSet() for _, addr := range addrs { addrSet.Add(addr.String()) } if !addrSet.Equals(testCase.expectedAddrs) { t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs) } listener.Close() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/address.go
} // Family implements the Family method of Addr interface. func (a *Inet6Addr) Family() int { return syscall.AF_INET6 } // Addrs returns a list of interface addresses. // // The provided af must be an address family and name must be a data // link name. The zero value of af or name means a wildcard. func Addrs(af int, name string) ([]Addr, error) { eps, err := newEndpoints(af) if len(eps) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.5K bytes - Viewed (0) -
src/net/dnsclient_unix.go
addr := IPAddr{IP: ip, Zone: zone} addrs = append(addrs, addr) } } sortByRFC6724(addrs) return addrs, canonical } // goLookupIP is the native Go implementation of LookupIP. // The libc versions are in cgo_*.go. func (r *Resolver) goLookupIP(ctx context.Context, network, host string, order hostLookupOrder, conf *dnsConfig) (addrs []IPAddr, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 24.5K bytes - Viewed (0) -
pilot/pkg/xds/eds_sh_test.go
} func getLbEndpointAddrs(eps []*endpoint.LbEndpoint) []string { addrs := make([]string, 0) for _, lbEp := range eps { addrs = append(addrs, lbEp.GetEndpoint().Address.GetSocketAddress().Address) } sort.Strings(addrs) return addrs
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
SizeofRtMetrics = 0x38 ) type ifMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 _ uint16 Data ifData } type IfMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 Data IfData } type ifData struct { Type uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
SizeofRtMetrics = 0x70 ) type ifMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 _ uint16 Data ifData } type IfMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 Data IfData } type ifData struct { Type uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.4K bytes - Viewed (0) -
src/net/dial.go
} switch addr := addr.(type) { case *TCPAddr: if !wildcard && !addr.isWildcard() && !addr.IP.matchAddrFamily(tcp.IP) { continue } naddrs = append(naddrs, addr) case *UDPAddr: if !wildcard && !addr.isWildcard() && !addr.IP.matchAddrFamily(udp.IP) { continue } naddrs = append(naddrs, addr) case *IPAddr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 26.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
SizeofRtMetrics = 0x38 ) type ifMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 _ uint16 Data ifData } type IfMsghdr struct { Msglen uint16 Version uint8 Type uint8 Addrs int32 Flags int32 Index uint16 Data IfData } type ifData struct { Type uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.5K bytes - Viewed (0) -
pilot/pkg/model/network.go
} delete(n.cache, name) addrs, ttl, err := n.resolve(name) // avoid excessive pushes due to small TTL if ttl < MinGatewayTTL { ttl = MinGatewayTTL } expiry := time.Now().Add(ttl) if err != nil { // gracefully retain old addresses in case the DNS server is unavailable addrs = entry.value } n.cache[name] = nameCacheEntry{ value: addrs, expiry: expiry,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 16.9K bytes - Viewed (0) -
src/net/lookup.go
if err != nil { return nil, err } addrs := addrsi.([]IPAddr) if shared { clone := make([]IPAddr, len(addrs)) copy(clone, addrs) addrs = clone } return addrs, nil } // ipAddrsEface returns an empty interface slice of addrs. func ipAddrsEface(addrs []IPAddr) []any { s := make([]any, len(addrs)) for i, v := range addrs { s[i] = v } return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0)