- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 56 for strerror (0.45 sec)
-
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
printf("var errors = [...]string {\n"); qsort(errors, nelem(errors), sizeof errors[0], intcmp); for(i=0; i<nelem(errors); i++) { e = errors[i]; if(i > 0 && errors[i-1] == e) continue; strcpy(buf, strerror(e)); // lowercase first letter: Bad -> bad, but STREAM -> STREAM. if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z) buf[0] += a - A; printf("\t%d: \"%s\",\n", e, buf); } printf("}\n\n");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (0) -
security/pkg/pki/error/error_test.go
err: fmt.Errorf("test error1"), message: "CA_NOT_READY", code: codes.Internal, }, "CSR_ERROR": { eType: CSRError, err: fmt.Errorf("test error2"), message: "CSR_ERROR", code: codes.InvalidArgument, }, "TTL_ERROR": { eType: TTLError, err: fmt.Errorf("test error3"), message: "TTL_ERROR", code: codes.InvalidArgument, }, "CERT_GEN_ERROR": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2K bytes - Viewed (0) -
security/pkg/pki/ra/common.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 19:57:30 UTC 2023 - 4.4K bytes - Viewed (0) -
src/internal/testpty/pty.go
import ( "errors" "fmt" "os" ) type PtyError struct { FuncName string ErrorString string Errno error } func ptyError(name string, err error) *PtyError { return &PtyError{name, err.Error(), err} } func (e *PtyError) Error() string { return fmt.Sprintf("%s: %s", e.FuncName, e.ErrorString) } func (e *PtyError) Unwrap() error { return e.Errno }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 19:00:20 UTC 2022 - 970 bytes - Viewed (0) -
cmd/sts-errors.go
ErrSTSIAMNotInitialized ErrSTSUpstreamError ErrSTSInternalError ) type stsErrorCodeMap map[STSErrorCode]STSError func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError { apiErr, ok := e[errCode] if !ok { return e[ErrSTSInternalError] } return apiErr } // error code to STSError structure, these fields carry respective // descriptions for all the error responses. var stsErrCodes = stsErrorCodeMap{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/s3select/errors.go
HTTPStatusCode() int Error() string } type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
internal/s3select/json/errors.go
package json type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
src/internal/testpty/pty_darwin.go
if err != nil { return nil, "", ptyError("posix_openpt", err) } if err := unix.Grantpt(m); err != nil { syscall.Close(m) return nil, "", ptyError("grantpt", err) } if err := unix.Unlockpt(m); err != nil { syscall.Close(m) return nil, "", ptyError("unlockpt", err) } processTTY, err = unix.Ptsname(m) if err != nil { syscall.Close(m) return nil, "", ptyError("ptsname", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 19:00:19 UTC 2022 - 790 bytes - Viewed (0) -
internal/s3select/sql/errors.go
package sql import "fmt" type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
cmd/dummy-handlers.go
return } // Allow getBucketCors if policy action is set, since this is a dummy call // we are simply re-purposing the bucketPolicyAction. if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Validate if bucket exists, before proceeding further... _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.1K bytes - Viewed (0)