- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for baseError (0.29 sec)
-
src/strconv/export_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package strconv var ( BitSizeError = bitSizeError BaseError = baseError
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 13:37:40 UTC 2017 - 240 bytes - Viewed (0) -
src/strconv/atoi.go
func syntaxError(fn, str string) *NumError { return &NumError{fn, stringslite.Clone(str), ErrSyntax} } func rangeError(fn, str string) *NumError { return &NumError{fn, stringslite.Clone(str), ErrRange} } func baseError(fn, str string, base int) *NumError { return &NumError{fn, stringslite.Clone(str), errors.New("invalid base " + Itoa(base))} } func bitSizeError(fn, str string, bitSize int) *NumError {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
src/strconv/atoi_test.go
} } } } func bitSizeErrStub(name string, bitSize int) error { return BitSizeError(name, "0", bitSize) } func baseErrStub(name string, base int) error { return BaseError(name, "0", base) } func noErrStub(name string, arg int) error { return nil } type parseErrorTest struct { arg int errStub func(name string, arg int) error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 05:09:21 UTC 2023 - 17.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java
hasError = false; } else { hasError = true; errors.forEach(this.errors::add); } } public int getNumberOfSuggestDocs() { return numberOfSuggestDocs; } public int getNumberOfInputDocs() { return numberOfInputDocs; } public boolean hasError() { return hasError; }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/sync/sync_test.go
t.Errorf("%v, %v; fake.events = %#v, want %#v", tc.desc, tc.mode, tc.fake.events, tc.events) } var hasError bool for _, r := range tc.fake.results { hasError = hasError || (r != nil) } if hasError != tc.wantError { t.Errorf("%v, %v; hasError = %t, errors = %v, want %t", tc.desc, tc.mode, hasError, tc.fake.events, tc.wantError) } } } func TestNodeSyncResync(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 7.6K bytes - Viewed (0) -
src/text/template/parse/parse_test.go
{"undefined variable", "{{$x}}", hasError, ""}, {"variable undefined after end", "{{with $x := 4}}{{end}}{{$x}}", hasError, ""}, {"variable undefined in template", "{{template $v}}", hasError, ""}, {"declare with field", "{{with $x.Y := 4}}{{end}}", hasError, ""}, {"template with field ref", "{{template .X}}", hasError, ""}, {"template with var", "{{template $v}}", hasError, ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
pkg/scheduler/framework/interface_test.go
} if test.status.AsError() == test.expectedAsError { return } if test.status.AsError().Error() != test.expectedAsError.Error() { t.Errorf("expect status.AsError() returns %v, but %v", test.expectedAsError, test.status.AsError()) } }) } } func TestPreFilterResultMerge(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 22 04:41:59 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
pvc *v1.PersistentVolumeClaim expansionCalled bool hasError bool expectedAnnotation map[string]string }{ { name: "when pvc has no PV binding", pvc: getFakePersistentVolumeClaim("no-pv-pvc", "", "1Gi", "1Gi", ""), pvcKey: "default/no-pv-pvc", hasError: true, }, { name: "when pvc and pv has everything for in-tree plugin",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
if !hasError(errs, needle) { t.Errorf("missing %q in\n%v", needle, errorsAsString(errs)) } needle = `status.conditions[0].status: Unsupported value: "unknown": supported values: "False", "True", "Unknown"` if !hasError(errs, needle) { t.Errorf("missing %q in\n%v", needle, errorsAsString(errs)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0)