Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,897 for perror (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/error.go

    //	} else ...
    func Interrupted(err error) bool {
    	switch {
    	case errors.Is(err, errWaitTimeout),
    		errors.Is(err, context.Canceled),
    		errors.Is(err, context.DeadlineExceeded):
    		return true
    	default:
    		return false
    	}
    }
    
    // errInterrupted
    type errInterrupted struct {
    	cause error
    }
    
    // ErrorInterrupted returns an error that indicates the wait was ended
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. src/encoding/gob/error.go

    type gobError struct {
    	err error
    }
    
    // errorf is like error_ but takes Printf-style arguments to construct an error.
    // It always prefixes the message with "gob: ".
    func errorf(format string, args ...any) {
    	error_(fmt.Errorf("gob: "+format, args...))
    }
    
    // error_ wraps the argument error and uses it as the argument to panic.
    func error_(err error) {
    	panic(gobError{err})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:03:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/html/template/error.go

    	}
    	return "html/template: " + e.Description
    }
    
    // errorf creates an error given a format string f and args.
    // The template Name still needs to be supplied.
    func errorf(k ErrorCode, node parse.Node, line int, f string, args ...any) *Error {
    	return &Error{k, node, "", line, fmt.Sprintf(f, args...)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/error.go

    	os.Exit(code)
    }
    
    // CheckErr prints a user friendly error to STDERR and exits with a non-zero
    // exit code. Unrecognized errors will be printed with an "error: " prefix.
    //
    // This method is generic to the command in use and may be used by non-Kubectl
    // commands.
    func CheckErr(err error) {
    	checkErr(err, fatal)
    }
    
    // preflightError allows us to know if the error is a preflight error or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. pkg/network/error.go

    // limitations under the License.
    
    package network
    
    import (
    	"errors"
    	"net"
    	"net/http"
    )
    
    func IsUnexpectedListenerError(err error) bool {
    	if err == nil {
    		return false
    	}
    	if errors.Is(err, net.ErrClosed) {
    		return false
    	}
    	if errors.Is(err, http.ErrServerClosed) {
    		return false
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 08:25:27 UTC 2023
    - 858 bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/error/error.jsp

    	type="text/css" />
    <link href="${fe:url('/css/style.css')}" rel="stylesheet"
    	type="text/css" />
    <link href="${fe:url('/css/font-awesome.min.css')}"
    	rel="stylesheet" type="text/css" />
    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.error_title" />
    			</h2>
    			<div>
    				<la:info id="msg" message="true">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top