- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 3,593 for perror (0.32 sec)
-
src/encoding/base32/base32_test.go
// supplied reader returns an error. func TestIssue20044(t *testing.T) { badErr := errors.New("bad reader error") testCases := []struct { r badReader res string err error dbuflen int }{ // Check valid input data accompanied by an error is processed and the error is propagated. {r: badReader{data: []byte("MY======"), errs: []error{badErr}}, res: "f", err: badErr},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0) -
src/os/user/lookup.go
// returned error is of type [UnknownGroupError]. func LookupGroup(name string) (*Group, error) { return lookupGroup(name) } // LookupGroupId looks up a group by groupid. If the group cannot be found, the // returned error is of type [UnknownGroupIdError]. func LookupGroupId(gid string) (*Group, error) { return lookupGroupId(gid) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/object_api_suite_test.go
if err == nil { t.Fatal("Expected error but found nil") } if err.Error() != "Bucket not found: bucket1" { t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket1", err.Error()) } } // Wrapper for calling testBucketRecreateFails for both Erasure and FS.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 33.4K bytes - Viewed (0) -
test/alias2.go
type _ = reflect.ValueOf // ERROR "reflect.ValueOf .*is not a type|expected type" func (A1) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type" func (A2) m() {} // ERROR "invalid receiver type" func (A3) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:09:14 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go
// Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*v1beta1.CredentialProvider)(nil), (*config.CredentialProvider)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta1_CredentialProvider_To_config_CredentialProvider(a.(*v1beta1.CredentialProvider), b.(*config.CredentialProvider), scope)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 48.9K bytes - Viewed (0) -
src/os/dir.go
// Readdir returns an empty slice, it will return a non-nil error // explaining why. At the end of a directory, the error is [io.EOF]. // // If n <= 0, Readdir returns all the FileInfo from the directory in // a single slice. In this case, if Readdir succeeds (reads all // the way to the end of the directory), it returns the slice and a // nil error. If it encounters an error before the end of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/probe/exec/exec_test.go
if status != test.expectedStatus { t.Errorf("[%d] expected %v, got %v", i, test.expectedStatus, status) } if err != nil && !test.expectError { t.Errorf("[%d] unexpected error: %v", i, err) } if err == nil && test.expectError { t.Errorf("[%d] unexpected non-error", i) } if test.output != output { t.Errorf("[%d] expected %s, got %s", i, test.output, output) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/sync/atomic/doc.go
func LoadUint32(addr *uint32) (val uint32) // LoadUint64 atomically loads *addr. // Consider using the more ergonomic and less error-prone [Uint64.Load] instead // (particularly if you target 32-bit platforms; see the bugs section). func LoadUint64(addr *uint64) (val uint64) // LoadUintptr atomically loads *addr. // Consider using the more ergonomic and less error-prone [Uintptr.Load] instead.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
x := new(ValueType) pp := m.(*Profile) pp.PeriodType = x return decodeMessage(b, x) }, // int64 period = 12 func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).Period) }, // repeated int64 comment = 13 func(b *buffer, m message) error { return decodeInt64s(b, &m.(*Profile).commentX) }, // int64 defaultSampleType = 14
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
src/internal/types/testdata/check/importdecl0/importdecl0a.go
_ "math" _ "net/rpc" init /* ERROR "cannot import package as init" */ "fmt" // reflect defines a type "flag" which shows up in the gc export data "reflect" . /* ERROR "imported and not used" */ "reflect" ) import "math" /* ERROR "imported and not used" */ import m /* ERROR "imported as m and not used" */ "math" import _ "math" import ( "math/big" /* ERROR "imported and not used" */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 1.3K bytes - Viewed (0)