- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for addr1 (0.05 sec)
-
pkg/proxy/util/nodeport_addresses_test.go
cidrs: []string{}, itfAddrsPairs: []InterfaceAddrsPair{ { itf: net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}, addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("2001:db8::1"), Mask: net.CIDRMask(64, 128)}}, }, { itf: net.Interface{Index: 1, MTU: 0, Name: "lo", HardwareAddr: nil, Flags: 0},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K 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) -
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
// Partition addresses into two sets: ones with a known object file, and ones without. var addrs, unprocessed []uint64 for addr, info := range addrMap { if info.obj != nil { addrs = append(addrs, addr) } else { unprocessed = append(unprocessed, addr) } } sort.Slice(addrs, func(i, j int) bool { return addrs[i] < addrs[j] }) const expand = 500 // How much to expand range to pick up nearby addresses.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31.3K bytes - Viewed (0) -
src/net/cgo_unix.go
sa := (*syscall.RawSockaddrInet4)(unsafe.Pointer(*_C_ai_addr(r))) addr := IPAddr{IP: copyIP(sa.Addr[:])} addrs = append(addrs, addr) case _C_AF_INET6: sa := (*syscall.RawSockaddrInet6)(unsafe.Pointer(*_C_ai_addr(r))) addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))} addrs = append(addrs, addr) } } return addrs, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K 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) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go
res := []model.AddressInfo{} type kindindex struct { k kind.Kind index int } addrm := map[netip.Addr]kindindex{} for _, wl := range a.workloads.List() { overwrite := -1 write := true for _, addr := range wl.Addresses { a := byteIPToAddr(addr) if existing, f := addrm[a]; f { // This address was already found. We want unique addresses in the result. // Pod > WorkloadEntry
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 19 17:19:41 UTC 2024 - 15.8K bytes - Viewed (0) -
src/net/lookup_test.go
} defer dnsWaitGroup.Wait() for _, tt := range lookupGoogleHostTests { addrs, err := LookupHost(tt.name) if err != nil { t.Fatal(err) } if len(addrs) == 0 { t.Error("got no record") } for _, addr := range addrs { if ParseIP(addr) == nil { t.Errorf("got %q; want a literal IP address", addr) } } } } func TestLookupLongTXT(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
src/net/tcpsock.go
func TCPAddrFromAddrPort(addr netip.AddrPort) *TCPAddr { return &TCPAddr{ IP: addr.Addr().AsSlice(), Zone: addr.Addr().Zone(), Port: int(addr.Port()), } } // TCPConn is an implementation of the [Conn] interface for TCP network // connections. type TCPConn struct { conn } // KeepAliveConfig contains TCP keep-alive options. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
// Find IP addr of excluded interfaces and add to a map for instant lookup for _, ifaceName := range exclusions { iface, err := net.InterfaceByName(ifaceName) if err != nil { log.Warnf("Unable to get interface %s: %v", ifaceName, err) continue } addrs, err := iface.Addrs() if err != nil { log.Warnf("Unable to get IP addr(s) of interface %s: %v", ifaceName, err) continue
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
src/runtime/sema.go
} releaseSudog(s) } func semrelease(addr *uint32) { semrelease1(addr, false, 0) } func semrelease1(addr *uint32, handoff bool, skipframes int) { root := semtable.rootFor(addr) atomic.Xadd(addr, 1) // Easy case: no waiters? // This check must happen after the xadd, to avoid a missed wakeup // (see loop in semacquire). if root.nwait.Load() == 0 { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 19K bytes - Viewed (0)