- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,248 for addr$ (5.61 sec)
-
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) -
staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go
testCases := []struct { tcase string addr []net.Addr family AddressFamily expected net.IP }{ {"no ipv4", []net.Addr{addrStruct{val: "2001::5/64"}}, familyIPv4, nil}, {"no ipv6", []net.Addr{addrStruct{val: "10.128.0.4/32"}}, familyIPv6, nil}, {"invalidV4CIDR", []net.Addr{addrStruct{val: "10.20.30.40.50/24"}}, familyIPv4, nil},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 33.2K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
type machoExe struct { f *macho.File } func (x *machoExe) ReadData(addr, size uint64) ([]byte, error) { for _, load := range x.f.Loads { seg, ok := load.(*macho.Segment) if !ok { continue } if seg.Addr <= addr && addr <= seg.Addr+seg.Filesz-1 { if seg.Name == "__PAGEZERO" { continue } n := seg.Addr + seg.Filesz - addr if n > size { n = size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0) -
src/net/ipsock_plan9.go
ip = ip[:IPv4len] } } switch net { case "tcp", "tcp4", "tcp6": addr = &TCPAddr{IP: ip, Port: port} case "udp", "udp4", "udp6": addr = &UDPAddr{IP: ip, Port: port} default: return nil, UnknownNetworkError(net) } return addr, nil } func startPlan9(ctx context.Context, net string, addr Addr) (ctl *os.File, dest, proto, name string, err error) { var ( ip IP port int )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 20:38:53 UTC 2023 - 7.5K bytes - Viewed (0) -
src/sync/atomic/doc.go
func SwapInt64(addr *int64, new int64) (old int64) // SwapUint32 atomically stores new into *addr and returns the previous *addr value. // Consider using the more ergonomic and less error-prone [Uint32.Swap] instead. func SwapUint32(addr *uint32, new uint32) (old uint32) // SwapUint64 atomically stores new into *addr and returns the previous *addr value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
src/net/netip/inlining_test.go
wantInlinable := []string{ "(*uint128).halves", "Addr.BitLen", "Addr.hasZone", "Addr.Is4", "Addr.Is4In6", "Addr.Is6", "Addr.IsInterfaceLocalMulticast", "Addr.IsValid", "Addr.IsUnspecified", "Addr.Less", "Addr.Unmap", "Addr.Zone", "Addr.v4", "Addr.v6", "Addr.v6u16", "Addr.withoutZone", "AddrPortFrom", "AddrPort.Addr", "AddrPort.Port", "AddrPort.IsValid",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 2K bytes - Viewed (0) -
pkg/api/v1/endpoints/util.go
// associative entity. type keyString string keyToAddrReadyMap := map[keyString]addressSet{} addrReadyMapKeyToPorts := map[keyString][]v1.EndpointPort{} for port, addrs := range portToAddrReadyMap { key := keyString(hashAddresses(addrs)) keyToAddrReadyMap[key] = addrs if port.Port > 0 { // avoid sentinels addrReadyMapKeyToPorts[key] = append(addrReadyMapKeyToPorts[key], port) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 07 07:01:25 UTC 2018 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
} } } } NbtAddress[] getAllByName( Name name, InetAddress addr ) throws UnknownHostException { int n; NameQueryRequest request = new NameQueryRequest( name ); NameQueryResponse response = new NameQueryResponse();
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
src/net/ipsock_test.go
lastByte byte primaries addrList fallbacks addrList }{ {0, addrList{addrs[0]}, addrList{addrs[1], addrs[2]}}, {1, addrList{addrs[0], addrs[2]}, addrList{addrs[1]}}, {2, addrList{addrs[0], addrs[1]}, addrList{addrs[2]}}, {3, addrList{addrs[0], addrs[1], addrs[2]}, nil}, } for i, tt := range cases { // Inverting the function's output should not affect the outcome. for _, invert := range []bool{false, true} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 15 22:22:09 UTC 2017 - 6.8K bytes - Viewed (0) -
src/net/lookup_plan9.go
if len(f) < 2 { continue } addr := f[1] if i := bytealg.IndexByteString(addr, '!'); i >= 0 { addr = addr[:i] // remove port } if ParseIP(addr) == nil { continue } // only return unique addresses for _, a := range addrs { if a == addr { continue loop } } addrs = append(addrs, addr) } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:08:38 UTC 2024 - 9.9K bytes - Viewed (0)