- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,910 for nvalid (0.13 sec)
-
src/encoding/json/number_test.go
if !isValidNumber(test) { t.Errorf("%s should be valid", test) } var f float64 if err := Unmarshal([]byte(test), &f); err != nil { t.Errorf("%s should be valid but Unmarshal failed: %v", test, err) } if !jsonNumberRegexp.MatchString(test) { t.Errorf("%s should be valid but regexp does not match", test) } } invalidTests := []string{ "", "invalid", "1.0.1", "1..1", "-1-2",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 05:40:28 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation.go
var allErrs field.ErrorList for i, stage := range omitStages { valid := false for _, validOmitStage := range validOmitStages { if string(stage) == validOmitStage { valid = true break } } if !valid { allErrs = append(allErrs, field.Invalid(fldPath.Index(i), string(stage), "allowed stages are "+strings.Join(validOmitStages, ","))) } } return allErrs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 15 14:13:07 UTC 2019 - 4.6K bytes - Viewed (0) -
src/net/testdata/invalid-ndots-resolv.conf
Dan Peterson <******@****.***> 1468427735 -0600
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 15:20:24 UTC 2016 - 21 bytes - Viewed (0) -
pkg/util/net/ip_test.go
remoteAddr: "192.168.1.100:8080", expected: false, }, { name: "Public IPv4", remoteAddr: "8.8.8.8:8080", expected: false, }, { name: "Invalid Remote Address", remoteAddr: "invalid", expected: false, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { req := httptest.NewRequest("GET", "/", nil)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 14:41:40 UTC 2024 - 8.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go
testStringLength = 32 ) func TestString(t *testing.T) { valid := "bcdfghjklmnpqrstvwxz2456789" for _, l := range []int{0, 1, 2, 10, 123} { s := String(l) if len(s) != l { t.Errorf("expected string of size %d, got %q", l, s) } for _, c := range s { if !strings.ContainsRune(valid, c) { t.Errorf("expected valid characters, got %v", c) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 07 13:45:36 UTC 2021 - 2.5K bytes - Viewed (0) -
testing/internal-testing/src/main/resources/valid-precondition-combinations.csv
Justin Van Dort <******@****.***> 1717185987 -0400
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:38 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/validation.go
} if len(u.Fragment) != 0 { allErrors = append(allErrors, field.Invalid(fldPath, u.Fragment, "fragments are not permitted in the URL")) } if len(u.RawQuery) != 0 { allErrors = append(allErrors, field.Invalid(fldPath, u.RawQuery, "query parameters are not permitted in the URL")) } } return allErrors }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 19 23:14:37 UTC 2022 - 3.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/telemetry-invalid-provider.yaml
zirain <******@****.***> 1667573761 +0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 04 14:56:01 UTC 2022 - 230 bytes - Viewed (0) -
pkg/apis/policy/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 9.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go
expectedOutput: "foo", }, { name: "valid output format and invalid --template argument results in a parsing from the printer", outputFormat: "jsonpath", templateArg: "{invalid}", expectedParseError: "unrecognized identifier invalid", }, { name: "no printer is matched on an invalid outputFormat", outputFormat: "invalid", expectNoMatch: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 6.7K bytes - Viewed (0)