- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 358 for adir (0.05 sec)
-
src/net/platform_test.go
} var ip IP var wildcard bool switch addr := addr.(type) { case *TCPAddr: ip = addr.IP wildcard = addr.isWildcard() case *UDPAddr: ip = addr.IP wildcard = addr.isWildcard() case *IPAddr: ip = addr.IP wildcard = addr.isWildcard() } // Test wildcard IP addresses. if wildcard && !testenv.HasExternalNetwork() { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/ip.go
type IP struct { netip.Addr } var ( IPType = cel.OpaqueType("net.IP") ) // ConvertToNative implements ref.Val.ConvertToNative. func (d IP) ConvertToNative(typeDesc reflect.Type) (any, error) { if reflect.TypeOf(d.Addr).AssignableTo(typeDesc) { return d.Addr, nil } if reflect.TypeOf("").AssignableTo(typeDesc) { return d.Addr.String(), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:33 UTC 2023 - 2.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/address.go
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/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go
package unix import "unsafe" // SysvShmAttach attaches the Sysv shared memory segment associated with the // shared memory identifier id. func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) { addr, errno := shmat(id, addr, flag) if errno != nil { return nil, errno } // Retrieve the size of the shared memory to enable slice creation var info SysvShmDesc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
} func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string { addr := ep.GetEndpoint().GetAddress() if addr := addr.GetSocketAddress(); addr != nil { return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue())) } if addr := addr.GetPipe(); addr != nil { return addr.GetPath() } if internal := addr.GetEnvoyInternalAddress(); internal != nil { switch an := internal.GetAddressNameSpecifier().(type) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
func stat(path string, edir []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 unsafe.Pointer if len(edir) > 0 { _p1 = unsafe.Pointer(&edir[0]) } else { _p1 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(edir))) n = int(r0) if int32(r0) == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_darwin.c
x_cgo_getstackbound(uintptr bounds[2]) { void* addr; size_t size; pthread_t p; p = pthread_self(); addr = pthread_get_stackaddr_np(p); // high address (!) size = pthread_get_stacksize_np(p); // bounds points into the Go stack. TSAN can't see the synchronization // in Go around stack reuse. _cgo_tsan_acquire(); bounds[0] = (uintptr)addr - size; bounds[1] = (uintptr)addr; _cgo_tsan_release();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 01:32:45 UTC 2024 - 617 bytes - Viewed (0) -
internal/http/listener.go
listener.listeners[i].Close() } return nil } // Addr - net.Listener interface compatible method returns net.Addr. In case of multiple TCP listeners, it returns '0.0.0.0' as IP address. func (listener *httpListener) Addr() (addr net.Addr) { addr = listener.listeners[0].Addr() if len(listener.listeners) == 1 { return addr } tcpAddr := addr.(*net.TCPAddr) if ip := net.ParseIP("0.0.0.0"); ip != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go
func parseCidrOrIP(ip string) (netip.Addr, error) { if strings.Contains(ip, "/") { prefix, err := netip.ParsePrefix(ip) if err != nil { return netip.Addr{}, err } if !prefix.IsSingleIP() { return netip.Addr{}, fmt.Errorf("only single IP CIDR is allowed") } return prefix.Addr(), nil } return netip.ParseAddr(ip) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 22 20:35:23 UTC 2024 - 7.2K bytes - Viewed (0)