- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ipStr (0.1 sec)
-
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
String ipStr = "192.168.0.1"; // Shouldn't hit DNS, because it's an IP string literal. InetAddress ipv4Addr = InetAddress.getByName(ipStr); assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); assertTrue(InetAddresses.isInetAddress(ipStr)); } public void testForStringIPv4NonAsciiInput() throws UnknownHostException { String ipStr = "૧૯૨.૧૬૮.૦.૧"; // 192.168.0.1 in Gujarati digits
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
pkg/proxy/util/utils_test.go
var ipStr []string for _, ip := range ipMap[ipFamily] { ipStr = append(ipStr, ip.String()) } if !reflect.DeepEqual(testcase.expectCorrect, ipStr) { t.Errorf("Test %v failed: expected %v, got %v", testcase.desc, testcase.expectCorrect, ipMap[ipFamily]) } ipStr = nil for _, ip := range ipMap[otherIPFamily] { ipStr = append(ipStr, ip.String()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
} if cfg.Discovery.BootstrapToken != nil { ipstr, _, err := net.SplitHostPort(cfg.Discovery.BootstrapToken.APIServerEndpoint) if err == nil { checks = append(checks, HTTPProxyCheck{Proto: "https", Host: ipstr}, ) if ip := netutils.ParseIPSloppy(ipstr); ip != nil { if netutils.IsIPv4(ip) { checks = addIPv4Checks(checks) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
return ServicePortName{ NamespacedName: makeNSN(ns, name), Port: port, Protocol: protocol, } } func makeIPs(ipStr ...string) []net.IP { var ips []net.IP for _, s := range ipStr { ips = append(ips, netutils.ParseIPSloppy(s)) } return ips } func mustMakeCIDRs(cidrStr ...string) []*net.IPNet { var cidrs []*net.IPNet for _, s := range cidrStr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0)