- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 186 for errstr (0.1 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/errors/errors.go
if len(errlist) == 0 { return nil } // In case of input error list contains nil var errs []error for _, e := range errlist { if e != nil { errs = append(errs, e) } } if len(errs) == 0 { return nil } return aggregate(errs) } // This helper implements the error and Errors interfaces. Keeping it private // prevents people from making an aggregate of 0 errors, which is not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 09:44:02 UTC 2023 - 6.3K bytes - Viewed (0) -
cmd/ftp-server-driver.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 14K bytes - Viewed (0) -
pkg/webhooks/validation/server/server.go
func validatePort(port int) error { if 1 <= port && port <= 65535 { return nil } return fmt.Errorf("port number %d must be in the range 1..65535", port) } // Validate tests if the Options has valid params. func (o Options) Validate() error { var errs *multierror.Error if err := validatePort(int(o.Port)); err != nil { errs = multierror.Append(errs, err) } return errs.ErrorOrNil()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 04 06:13:56 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
if len(tc.expectErr) > 0 { if errStr := errString(err); tc.expectErr != errStr { t.Fatalf("expected error %q but got %q", tc.expectErr, errStr) } } else if err != nil { t.Fatalf("unexpected error: %v", err) } }) } } func errString(err error) string { if err == nil { return "" } return err.Error() } type fakeGetter struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
src/syscall/asm_plan9_arm.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 14:57:01 UTC 2018 - 3.2K bytes - Viewed (0) -
src/runtime/plugin.go
package runtime import ( "internal/abi" "unsafe" ) //go:linkname plugin_lastmoduleinit plugin.lastmoduleinit func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*initTask, errstr string) { var md *moduledata for pmd := firstmoduledata.next; pmd != nil; pmd = pmd.next { if pmd.bad { md = nil // we only want the last module continue } md = pmd } if md == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
func auditLogDecom(ctx context.Context, apiName, bucket, object, versionID string, err error) { errStr := "" if err != nil { errStr = err.Error() } auditLogInternal(ctx, AuditLogOptions{ Event: "decommission", APIName: apiName, Bucket: bucket, Object: object, VersionID: versionID, Error: errStr, })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 14:30:43 UTC 2024 - 41.5K bytes - Viewed (1) -
src/syscall/exec_plan9.go
if envv != nil { r1, _, _ := RawSyscall(SYS_RFORK, RFCENVG, 0, 0) if int32(r1) == -1 { return NewError(errstr()) } for _, v := range envv { i := 0 for i < len(v) && v[i] != '=' { i++ } fd, e := Create("/env/"+v[:i], O_WRONLY, 0666) if e != nil { return e } _, e = Write(fd, []byte(v[i+1:])) if e != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/sys_plan9_arm.s
//func setfpmasks() // Only used by the 64-bit runtime. TEXT runtime·setfpmasks(SB),NOSPLIT,$0 RET #define ERRMAX 128 /* from os_plan9.h */ // func errstr() string // Only used by package syscall. // Grab error string due to a syscall made // in entersyscall mode, without going // through the allocator (issue 4994). // See ../syscall/asm_plan9_arm.s:/·Syscall/ TEXT runtime·errstr(SB),NOSPLIT,$0-8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 29 14:15:04 UTC 2021 - 7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go
func Open(path string, mode int) (fd int, err error) { fixwd() return open(path, mode) } //sys create(path string, mode int, perm uint32) (fd int, err error) func Create(path string, mode int, perm uint32) (fd int, err error) { fixwd() return create(path, mode, perm) } //sys remove(path string) (err error) func Remove(path string) error { fixwd()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 7K bytes - Viewed (0)