- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 182 for error_1 (0.34 sec)
-
pkg/kubelet/container/sync_result_test.go
} // If the PodSyncResult is failed, it should be error result = PodSyncResult{} result.AddSyncResult(okResults...) result.Fail(errors.New("error")) if result.Error() == nil { t.Errorf("PodSyncResult should be error: %v", result) } // If the PodSyncResult is added an error PodSyncResult, it should be error errResult := PodSyncResult{} errResult.AddSyncResult(errResults...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 16:48:17 UTC 2019 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
// An errorDesc describes part of a type-checking error. type errorDesc struct { pos syntax.Pos msg string } // An error_ represents a type-checking error. // A new error_ is created with Checker.newError. // To report an error_, call error_.report. type error_ struct { check *Checker desc []errorDesc code Code soft bool // TODO(gri) eventually determine this from an error code }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/doc/testdata/error1.1.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error } // type T0 struct { ExportedField interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 440 bytes - Viewed (0) -
src/go/types/errors.go
// An errorDesc describes part of a type-checking error. type errorDesc struct { posn positioner msg string } // An error_ represents a type-checking error. // A new error_ is created with Checker.newError. // To report an error_, call error_.report. type error_ struct { check *Checker desc []errorDesc code Code soft bool // TODO(gri) eventually determine this from an error code }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/go/doc/testdata/error1.0.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
src/go/doc/testdata/error1.2.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
src/go/doc/testdata/error1.go
package error1 type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } type T0 struct { ExportedField interface { // error should be visible error } } type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 498 bytes - Viewed (0) -
src/encoding/gob/error.go
type gobError struct { err error } // errorf is like error_ but takes Printf-style arguments to construct an error. // It always prefixes the message with "gob: ". func errorf(format string, args ...any) { error_(fmt.Errorf("gob: "+format, args...)) } // error_ wraps the argument error and uses it as the argument to panic. func error_(err error) { panic(gobError{err})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:03:07 UTC 2022 - 1.3K bytes - Viewed (0) -
pkg/filewatcher/filewatcher_test.go
errors1 = w.Errors(watchFile1) g.Expect(errors1).To(BeNil()) events2 = w.Events(watchFile2) g.Expect(events2).To(BeNil()) errors2 = w.Errors(watchFile2) g.Expect(errors2).To(BeNil()) } func TestErrors(t *testing.T) { w := NewWatcher() if ch := w.Errors("XYZ"); ch != nil { t.Error("Expected no channel") } if ch := w.Events("XYZ"); ch != nil { t.Error("Expected no channel")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy
renderer.reportFailure(onlyIgnoredKeys("Ivy")) } when: generateReport() def errors1 = errorsFor(":someConfiguration") def errors2 = errorsFor(":other:configuration") then: verifyAll(errors1[0]) { module == 'org:foo:1.0' artifact == 'foo-1.0.jar' artifactTooltip == "From repository 'Maven'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.6K bytes - Viewed (0)