- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,763 for perror (0.09 sec)
-
internal/logger/logonce.go
} } const unwrapErrsDepth = 3 // unwrapErrs upto the point where errors.Unwrap(err) returns nil func unwrapErrs(err error) (leafErr error) { uerr := errors.Unwrap(err) depth := 1 for uerr != nil { // Save the current `uerr` leafErr = uerr // continue to look for leaf errors underneath uerr = errors.Unwrap(leafErr) depth++ if depth == unwrapErrsDepth { // If we have reached enough depth we
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/volume/plugins_test.go
} pod = &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: "pv-recycler", }, }, }, } // want = an error if got := ValidateRecyclerPodTemplate(pod); got == nil { t.Errorf("isPodTemplateValid(%v) returned (%v), want (%v)", pod.String(), got, "Error: pod specification does not contain any volume(s).") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 4.3K bytes - Viewed (0) -
src/testing/fstest/testfs_test.go
if err == nil { t.Fatal("error expected") } t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err) if !errors.Is(err, fs.ErrPermission) { t.Errorf("error should be a wrapped ErrPermission: %#v", err) } // TestFS is expected to return a list of errors. // Enforce that the list can be extracted for browsing. var errs interface{ Unwrap() []error } if !errors.As(err, &errs) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/coverage/coverage.go
// running program to the directory specified in 'dir'. An error will // be returned if the operation can't be completed successfully (for // example, if the currently running program was not built with // "-cover", or if the directory does not exist). func WriteMetaDir(dir string) error { return cfile.WriteMetaDir(dir) } // WriteMeta writes the meta-data content (the payload that would
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 2.5K bytes - Viewed (0) -
api/go1.23.txt
pkg crypto/x509, func ParseOID(string) (OID, error) #66249 pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249 pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249 pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249 pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249 pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
func (a *resolverFuncConn) Read(p []byte) (n int, err error) { return a.rbuf.Read(p) } func (a *resolverFuncConn) Write(packet []byte) (n int, err error) { if len(packet) < 2 { return 0, fmt.Errorf("short write of %d bytes; want 2+", len(packet)) } reqLen := int(packet[0])<<8 | int(packet[1]) req := packet[2:] if len(req) != reqLen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/net_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) } case err == nil: t.Errorf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err) } }) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kube-proxy/app/conntrack.go
// SetUDPTimeout adjusts nf_conntrack_udp_timeout. SetUDPTimeout(ctx context.Context, seconds int) error // SetUDPStreamTimeout adjusts nf_conntrack_udp_timeout_stream. SetUDPStreamTimeout(ctx context.Context, seconds int) error } type realConntracker struct { } var errReadOnlySysFS = errors.New("readOnlySysFS") func (rct realConntracker) SetMax(ctx context.Context, max int) error { logger := klog.FromContext(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/StandardStreamsCrossVersionSpec.groovy
output.toString().contains("quiet logging") if (targetVersion.baseVersion >= GradleVersion.version('4.7')) { // Changed handling of error log messages output.toString().contains("error logging") } else { error.toString().contains("error logging") } and: !stdOutAndErr.stdOut.contains("logging") !stdOutAndErr.stdErr.contains("logging") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
// Otherwise Switch prints all the errors using base.Error. // // See https://go.dev/doc/toolchain#switch. type Switcher struct { TooNew *gover.TooNewError // max go requirement observed Errors []error // errors collected so far } // Error reports the error to the Switcher, // which saves it for processing during Switch. func (s *Switcher) Error(err error) { s.Errors = append(s.Errors, err) s.addTooNew(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0)