Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 138 for strerror (0.33 sec)

  1. src/runtime/cgo/gcc_openbsd.c

    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    	}
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void*
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:56:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_linux.c

    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    	}
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void*
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/main4.c

    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGSEGV) < 0) {
    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "sigprocmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	// Don't try this at home.
    	longjmp(jmp, signo);
    
    	// We should never get here.
    	abort();
    }
    
    int main(int argc, char** argv) {
    	int verbose;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_netbsd.c

    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    	}
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void*
    threadentry(void *v)
    {
    	ThreadStart ts;
    	stack_t ss;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_solaris_amd64.c

    	pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    	}
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void*
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top