- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for ipString (0.22 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) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
} private static String replaceAll(String regex, CharSequence inString, String byString) { return replaceAll(Pattern.compile(regex), inString, byString); } private static String replaceAll(Pattern pattern, CharSequence inString, String byString) { return pattern.matcher(inString).replaceAll(byString); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
operator/pkg/validate/common.go
// each element. func validateStringList(vf ValidatorFunc) ValidatorFunc { return func(path util.Path, val any) util.Errors { msg := fmt.Sprintf("validateStringList %v", val) if !util.IsString(val) { err := fmt.Errorf("validateStringList %s got %T, want string", path, val) printError(err) return util.NewErrs(err) } var errs util.Errors for _, s := range strings.Split(val.(string), ",") {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0) -
cmd/postpolicyform.go
return int64(v), nil case string: i, err := strconv.Atoi(v) return int64(i), err default: return 0, errors.New("Invalid number format") } } // isString - Safely check if val is of type string without causing panic. func isString(val interface{}) bool { _, ok := val.(string) return ok } // ContentLengthRange - policy content-length-range field. type contentLengthRange struct { Min int64
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 10:52:41 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/const.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0) -
src/go/types/predicates.go
func isFloat(t Type) bool { return isBasic(t, IsFloat) } func isComplex(t Type) bool { return isBasic(t, IsComplex) } func isNumeric(t Type) bool { return isBasic(t, IsNumeric) } func isString(t Type) bool { return isBasic(t, IsString) } func isIntegerOrFloat(t Type) bool { return isBasic(t, IsInteger|IsFloat) } func isConstType(t Type) bool { return isBasic(t, IsConstType) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0)