- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,278 for adir (0.05 sec)
-
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) -
src/cmd/internal/objfile/elf.go
if err != nil { return nil } var addr, eaddr uint64 for _, s := range elfSyms { if s.Name == start { addr = s.Value } else if s.Name == end { eaddr = s.Value } if addr != 0 && eaddr != 0 { break } } if addr == 0 || eaddr < addr { return nil } size := eaddr - addr data := make([]byte, size) for _, prog := range f.elf.Progs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 20:44:50 UTC 2023 - 3.9K 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) -
pkg/registry/core/service/ipallocator/ipallocator.go
func ipIterator(first netip.Addr, last netip.Addr, offset uint64) func() netip.Addr { // There are no modulo operations for IP addresses modulo := func(addr netip.Addr) netip.Addr { if addr.Compare(last) == 1 { return first } return addr } next := func(addr netip.Addr) netip.Addr { return modulo(addr.Next()) } start, err := addOffsetAddress(first, offset)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K 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) -
pkg/proxy/util/nodeport_addresses_test.go
{ itf: net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}, addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("10.20.30.51"), Mask: net.CIDRMask(24, 32)}}, }, { itf: net.Interface{Index: 2, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0}, addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("100.200.201.1"), Mask: net.CIDRMask(24, 32)}}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service.go
func(context.Context, string) (net.Conn, error) { // Ignoring addr and timeout arguments: // addr - comes from the closure c, err := net.DialUnix(unixProtocol, nil, &net.UnixAddr{Name: addr}) if err != nil { klog.ErrorS(err, "failed to create connection to unix socket", "addr", addr) } else { klog.V(4).InfoS("Successfully dialed Unix socket", "addr", addr) } return c, err }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 23:18:16 UTC 2023 - 4.6K bytes - Viewed (0) -
src/net/error_test.go
} for _, addr := range []Addr{e.Source, e.Addr} { switch addr := addr.(type) { case nil: case *TCPAddr: if addr == nil { return fmt.Errorf("OpError.Source or Addr is non-nil interface: %#v, %v", addr, e) } case *UDPAddr: if addr == nil { return fmt.Errorf("OpError.Source or Addr is non-nil interface: %#v, %v", addr, e) } case *IPAddr: if addr == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/proxy/healthcheck/common.go
type stdNetListener struct{} func (stdNetListener) Listen(addr string) (net.Listener, error) { return net.Listen("tcp", addr) } var _ listener = stdNetListener{} // Implement httpServerFactory in terms of http.Server. type stdHTTPServerFactory struct{} func (stdHTTPServerFactory) New(addr string, handler http.Handler) httpServer { return &http.Server{ Addr: addr, Handler: handler, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 29 09:11:29 UTC 2022 - 1.8K bytes - Viewed (0) -
src/runtime/asan0.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 760 bytes - Viewed (0)