- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of about 10,000 for perror (0.28 sec)
-
src/cmd/cgo/internal/testcarchive/testdata/main4.c
#include "libgo4.h" #ifdef _AIX // On AIX, CSIGSTKSZ is too small to handle Go sighandler. #define CSIGSTKSZ 0x4000 #else #define CSIGSTKSZ SIGSTKSZ #endif static void die(const char* msg) { perror(msg); exit(EXIT_FAILURE); } static int ok = 1; static void ioHandler(int signo, siginfo_t* info, void* ctxt) { } // Set up the SIGIO signal handler in a high priority constructor, so
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main2.c
#include <stdlib.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include <sched.h> #include <time.h> #include <errno.h> #include "libgo2.h" static void die(const char* msg) { perror(msg); exit(EXIT_FAILURE); } static volatile sig_atomic_t sigioSeen; static volatile sig_atomic_t sigpipeSeen; // Use up some stack space. static void recur(int i, char *p) { char a[1024];
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main5.c
if (resetSIGIO == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling ResetSIGIO\n"); } resetSIGIO(); sawSIGIO = (bool (*)(void))dlsym(handle, "SawSIGIO"); if (sawSIGIO == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main3.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sched.h> #include <unistd.h> #include <pthread.h> #include "libgo3.h" static void die(const char* msg) { perror(msg); exit(EXIT_FAILURE); } static volatile sig_atomic_t sigioSeen; static void ioHandler(int signo, siginfo_t* info, void* ctxt) { sigioSeen = 1; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
} *nullPointer = '\0'; fprintf(stderr, "continued after address error\n"); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling dlsym\n"); } // Make sure that a SIGSEGV in Go causes a run-time panic. fn = (void (*)(void))dlsym(handle, "TestSEGV"); if (fn == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (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) -
internal/bucket/lifecycle/error.go
package lifecycle import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/bucket/versioning/error.go
package versioning import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
cni/pkg/nodeagent/error.go
package nodeagent import ( "errors" "fmt" ) var ErrPartialAdd = errors.New("partial add error") type PartialAddError struct { inner error } func (e *PartialAddError) Error() string { return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner) } func (e *PartialAddError) Unwrap() []error { return []error{ErrPartialAdd, e.inner} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1K bytes - Viewed (0) -
security/pkg/pki/error/error.go
CertGenError // CAIllegalConfig means the configuration/deployment parameters for CA are incorrect CAIllegalConfig // CAInitFail means some other unexpected and fatal initilization failure CAInitFail ) // Error encapsulates the short and long errors. type Error struct { t ErrType err error } // Error returns the string error message. func (e Error) Error() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 17:41:21 UTC 2020 - 2.1K bytes - Viewed (0) -
internal/bucket/replication/error.go
package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0)