- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 118 for sigaddr (0.13 sec)
-
src/runtime/defs_linux_mipsx.go
sa_restorer uintptr } type siginfoFields struct { si_signo int32 si_code int32 si_errno int32 // below here is a union; si_addr is the only field we use si_addr uint32 } type siginfo struct { siginfoFields // Pad struct to the max size in the kernel. _ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/defs_linux_ppc64le.go
sa_flags uint64 sa_restorer uintptr sa_mask uint64 } type siginfoFields struct { si_signo int32 si_errno int32 si_code int32 // below here is a union; si_addr is the only field we use si_addr uint64 } type siginfo struct { siginfoFields // Pad struct to the max size in the kernel. _ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.7K bytes - Viewed (0) -
src/net/iprawsock.go
// BUG(mikio): On Windows, the File method of IPConn is not // implemented. // IPAddr represents the address of an IP end point. type IPAddr struct { IP IP Zone string // IPv6 scoped addressing zone } // Network returns the address's network name, "ip". func (a *IPAddr) Network() string { return "ip" } func (a *IPAddr) String() string { if a == nil { return "<nil>" } ip := ipEmptyString(a.IP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 7.1K bytes - Viewed (0) -
test/escape_slice.go
} func setupTestData() { resolveIPAddrTests = append(resolveIPAddrTests, []resolveIPAddrTest{ // ERROR "\[\]resolveIPAddrTest{...} does not escape" {"ip", "localhost", &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr{...} escapes to heap" nil}, {"ip4", "localhost", &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr{...} escapes to heap" nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/defs_linux_arm.go
_ [_sigev_max_size - unsafe.Sizeof(sigeventFields{})]byte } type siginfoFields struct { si_signo int32 si_errno int32 si_code int32 // below here is a union; si_addr is the only field we use si_addr uint32 } type siginfo struct { siginfoFields // Pad struct to the max size in the kernel. _ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.9K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config_test.go
"testing" ) var tesrLocalIPAddrs = func(ips []netip.Addr) ([]net.Addr, error) { var IPAddrs []net.Addr for i := 0; i < len(ips); i++ { var ipAddr net.Addr ipNetAddr := &net.IPNet{IP: net.ParseIP(ips[i].String())} ipAddr = ipNetAddr IPAddrs = append(IPAddrs, ipAddr) } return IPAddrs, nil } func TestGetLocalIP(t *testing.T) { tests := []struct { name string lipas func() ([]net.Addr, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 2.6K bytes - Viewed (0) -
src/net/sock_posix.go
// 3) the one passed to us as the raddr parameter. lsa, _ = syscall.Getsockname(fd.pfd.Sysfd) if crsa != nil { fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(crsa)) } else if rsa, _ = syscall.Getpeername(fd.pfd.Sysfd); rsa != nil { fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(rsa)) } else { fd.setAddr(fd.addrFunc()(lsa), raddr) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.3K bytes - Viewed (0) -
src/net/interface_windows.go
return nil, os.NewSyscallError("sockaddr", err) } switch sa := sa.(type) { case *syscall.SockaddrInet4: ifat = append(ifat, &IPAddr{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3])}) case *syscall.SockaddrInet6: ifa := &IPAddr{IP: make(IP, IPv6len)} copy(ifa.IP, sa.Addr[:]) ifat = append(ifat, ifa) } } } } return ifat, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 10:25:02 UTC 2024 - 5.5K bytes - Viewed (0) -
src/net/ipsock.go
// and ipv6only. It returns every address when the filter is nil. // The result contains at least one address when error is nil. func filterAddrList(filter func(IPAddr) bool, ips []IPAddr, inetaddr func(IPAddr) Addr, originalAddr string) (addrList, error) { var addrs addrList for _, ip := range ips { if filter == nil || filter(ip) { addrs = append(addrs, inetaddr(ip)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
} mockCertChain := []string{"cert", "cert_chain", "root_cert"} mockIPAddr := &net.IPAddr{IP: net.IPv4(192, 168, 1, 1)} testCerts := map[string]struct { certChain [][]*x509.Certificate caller *security.Caller fakeAuthInfo *mockAuthInfo code codes.Code ipAddr *net.IPAddr }{ // no client certificate is presented "No client certificate": { certChain: nil,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0)