Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 201 for strerror (0.21 sec)

  1. 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)
  2. src/syscall/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: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	printf("} {\n");
    	qsort(errors, nelem(errors), sizeof errors[0], tuplecmp);
    	for(i=0; i<nelem(errors); i++) {
    		e = errors[i].num;
    		if(i > 0 && errors[i-1].num == e)
    			continue;
    		strncpy(buf, strerror(e), sizeof(buf) - 1);
    		buf[sizeof(buf) - 1] = '\0';
    		// 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;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    }
    inline int Write(int fd, const void* buf, unsigned int count) {
      return static_cast<int>(write(fd, buf, count));
    }
    inline int Close(int fd) { return close(fd); }
    inline const char* StrError(int errnum) { return strerror(errnum); }
    #endif
    inline const char* GetEnv(const char* name) {
    #if GTEST_OS_WINDOWS_MOBILE
      // We are on Windows CE, which has no environment variables.
      return NULL;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    }
    inline int Write(int fd, const void* buf, unsigned int count) {
      return static_cast<int>(write(fd, buf, count));
    }
    inline int Close(int fd) { return close(fd); }
    inline const char* StrError(int errnum) { return strerror(errnum); }
    #endif
    inline const char* GetEnv(const char* name) {
    #if GTEST_OS_WINDOWS_MOBILE
      // We are on Windows CE, which has no environment variables.
      return NULL;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  6. 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)
  7. security/pkg/pki/ra/common.go

    	if forCA {
    		return requestedLifetime, raerror.NewError(raerror.CSRError,
    			fmt.Errorf("unable to generate CA certifificates"))
    	}
    	if !ValidateCSR(csrPEM, subjectIDs) {
    		return requestedLifetime, raerror.NewError(raerror.CSRError, fmt.Errorf(
    			"unable to validate SAN Identities in CSR"))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 19:57:30 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top