- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isLoopback (0.06 sec)
-
cmd/net.go
// This case is needed when all ips in the list // have same last octets, Following just ensures that // 127.0.0.1 is moved to the end of the list. if ipV4s[i].IsLoopback() { return false } if ipV4s[j].IsLoopback() { return true } return []byte(ipV4s[i].To4())[3] > []byte(ipV4s[j].To4())[3] }) var ips []string for _, ip := range ipV4s { ips = append(ips, ip.String())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
api/go1.18.txt
pkg net/netip, method (Addr) IsInterfaceLocalMulticast() bool pkg net/netip, method (Addr) IsLinkLocalMulticast() bool pkg net/netip, method (Addr) IsLinkLocalUnicast() bool pkg net/netip, method (Addr) IsLoopback() bool pkg net/netip, method (Addr) IsMulticast() bool pkg net/netip, method (Addr) IsPrivate() bool pkg net/netip, method (Addr) IsUnspecified() bool pkg net/netip, method (Addr) IsValid() bool
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
while (interfaces.hasMoreElements()) { NetworkInterface ni = interfaces.nextElement(); if (!ni.isUp() || ni.isLoopback() || ni.isVirtual()) { continue; } Enumeration<InetAddress> addresses = ni.getInetAddresses(); while (addresses.hasMoreElements()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
try { List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces()); interfaces.removeIf(ni -> { try { return ni.isLoopback() || !ni.isUp() || ni.isVirtual(); } catch (Exception e) { return true; } }); return interfaces; } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
cmd/endpoint.go
hostIPs, err := getHostIP(endpoint.Hostname()) if err != nil { return false } var loopback int for _, hostIP := range hostIPs.ToSlice() { if net.ParseIP(hostIP).IsLoopback() { loopback++ } } return loopback == len(hostIPs) } // UpdateIsLocal - resolves the host and discovers the local host. func (endpoints Endpoints) UpdateIsLocal() error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
cmd/endpoint_test.go
}() globalMinioPort = "9000" // Filter ipList by IPs those do not start with '127.'. nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool { return !net.ParseIP(ip).IsLoopback() }, "") if len(nonLoopBackIPs) == 0 { t.Fatalf("No non-loop back IP address found for this host") } nonLoopBackIP := nonLoopBackIPs.ToSlice()[0] mustAbs := func(s string) string {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
while (interfaces.hasMoreElements()) { NetworkInterface ni = interfaces.nextElement(); if (!ni.isUp() || ni.isLoopback() || ni.isVirtual()) { continue; } Enumeration<InetAddress> addresses = ni.getInetAddresses(); while (addresses.hasMoreElements()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
api/go1.txt
pkg net, method (IP) IsGlobalUnicast() bool pkg net, method (IP) IsInterfaceLocalMulticast() bool pkg net, method (IP) IsLinkLocalMulticast() bool pkg net, method (IP) IsLinkLocalUnicast() bool pkg net, method (IP) IsLoopback() bool pkg net, method (IP) IsMulticast() bool pkg net, method (IP) IsUnspecified() bool pkg net, method (IP) Mask(IPMask) IP pkg net, method (IP) String() string pkg net, method (IP) To16() IP
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)