- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for ipString (0.34 sec)
-
android/guava/src/com/google/common/net/InetAddresses.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 47.1K bytes - Viewed (0) -
pkg/proxy/util/utils_test.go
desc string ipString []string wantIPv6 bool expectCorrect []string expectIncorrect []string }{ { desc: "empty input IPv4", ipString: []string{}, wantIPv6: false, expectCorrect: nil, expectIncorrect: nil, }, { desc: "empty input IPv6", ipString: []string{}, wantIPv6: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
ImmutableSet<String> ipStrings = ImmutableSet.of("7::0.128.0.127", "7::0.128.0.128", "7::128.128.0.127", "7::0.128.128.127"); for (String ipString : ipStrings) { // Shouldn't hit DNS, because it's an IP string literal. InetAddress ipv6Addr = InetAddress.getByName(ipString); assertEquals(ipv6Addr, InetAddresses.forString(ipString)); assertTrue(InetAddresses.isInetAddress(ipString)); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go
) func TestGetClientIP(t *testing.T) { ipString := "10.0.0.1" ip := netutils.ParseIPSloppy(ipString) invalidIPString := "invalidIPString" testCases := []struct { Request http.Request ExpectedIP net.IP }{ { Request: http.Request{}, }, { Request: http.Request{ Header: map[string][]string{ "X-Real-Ip": {ipString}, }, }, ExpectedIP: ip, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:21:56 UTC 2023 - 24.5K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/fake.go
} h.localAddresses[dev] = make([]string, 0) h.localAddresses[dev] = append(h.localAddresses[dev], ips...) return nil } func (h *FakeNetlinkHandle) isValidForSet(ipString string) bool { ip := net.ParseIPSloppy(ipString) if h.IsIPv6 != (ip.To4() == nil) { return false } if h.IsIPv6 && ip.IsLinkLocalUnicast() { return false } if ip.IsLoopback() { return false } return true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.5K bytes - Viewed (0) -
operator/pkg/translate/translate_test.go
appProtocol: HTTP ` cases := []struct { name string iopString string expectValue string expectExist bool }{ { name: "without appProtocol", iopString: iopString, expectExist: false, }, { name: "with appProtocol", iopString: iopString2, expectExist: true, expectValue: "HTTP", }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 5.1K bytes - Viewed (0) -
test/named.go
isSlice(*&slice) asString(str) isString(str) asString(str + "a") isString(str + "a") asString("a" + str) isString("a" + str) asString(str + str) isString(str + str) str += "a" str += str asString(String('a')) isString(String('a')) asString(String([]byte(slice))) isString(String([]byte(slice))) asString(String([]byte(nil))) isString(String([]byte(nil))) asString("hello")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/basic.go
// Properties of basic types. const ( IsBoolean BasicInfo = 1 << iota IsInteger IsUnsigned IsFloat IsComplex IsString IsUntyped IsOrdered = IsInteger | IsFloat | IsString IsNumeric = IsInteger | IsFloat | IsComplex IsConstType = IsBoolean | IsNumeric | IsString ) // A Basic represents a basic type. type Basic struct { kind BasicKind info BasicInfo name string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 01 22:17:50 UTC 2021 - 1.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReader.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0)