Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for caerror (0.14 sec)

  1. src/encoding/gob/error.go

    // Panics caused by user error (that is, everything except run-time panics
    // such as "index out of bounds" errors) do not leave the file that caused
    // them, but are instead turned into plain error returns. Encoding and
    // decoding functions and methods that do not return an error either use
    // panic to report an error or are guaranteed error-free.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:03:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/error.go

    // to get an error that will return true for Interrupted(err).
    var errWaitTimeout = errInterrupted{}
    
    func (e errInterrupted) Unwrap() error        { return e.cause }
    func (e errInterrupted) Is(target error) bool { return target == errWaitTimeout }
    func (e errInterrupted) Error() string {
    	if e.cause == nil {
    		// returns the same error message as historical behavior
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/error.go

    type strictDecodingError struct {
    	errors []error
    }
    
    // NewStrictDecodingError creates a new strictDecodingError object.
    func NewStrictDecodingError(errors []error) error {
    	return &strictDecodingError{
    		errors: errors,
    	}
    }
    
    func (e *strictDecodingError) Error() string {
    	var s strings.Builder
    	s.WriteString("strict decoding error: ")
    	for i, err := range e.errors {
    		if i != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue4029.go

    	this_process := C.dlopen4029(nil, C.RTLD_NOW)
    	if this_process == 0 {
    		t.Error("dlopen:", C.GoString(C.dlerror()))
    		return
    	}
    	defer C.dlclose4029(this_process)
    
    	symbol_address := C.dlsym4029(this_process, C.CString(symbol))
    	if symbol_address == 0 {
    		t.Error("dlsym:", C.GoString(C.dlerror()))
    		return
    	}
    	t.Log(symbol, symbol_address)
    	C.call4029(symbol_address)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue33460.go

    func f(v int) {
    	switch v {
    	case zero, one:
    	case two, one: // ERROR "previous case at LINE-1|duplicate case .*in.* switch"
    
    	case three:
    	case 3: // ERROR "previous case at LINE-1|duplicate case .*in.* switch"
    	case iii: // ERROR "previous case at LINE-2|duplicate case .*in.* switch"
    	}
    }
    
    const b = "b"
    
    var _ = map[string]int{
    	"a": 0,
    	b:   1,
    	"a": 2, // ERROR "previous key at LINE-2|duplicate key.*in map literal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 825 bytes
    - Viewed (0)
  7. pkg/scheduler/framework/interface_test.go

    			}
    
    			if test.status.AsError() == test.expectedAsError {
    				return
    			}
    
    			if test.status.AsError().Error() != test.expectedAsError.Error() {
    				t.Errorf("expect status.AsError() returns %v, but %v", test.expectedAsError, test.status.AsError())
    			}
    		})
    	}
    }
    
    func TestPreFilterResultMerge(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. src/plugin/plugin_dlopen.go

    	if (h == NULL) {
    		*err = (char*)dlerror();
    	}
    	return (uintptr_t)h;
    }
    
    static void* pluginLookup(uintptr_t h, const char* name, char** err) {
    	void* r = dlsym((void*)h, name);
    	if (r == NULL) {
    		*err = (char*)dlerror();
    	}
    	return r;
    }
    */
    import "C"
    
    import (
    	"errors"
    	"sync"
    	"unsafe"
    )
    
    func open(name string) (*Plugin, error) {
    	cPath := make([]byte, C.PATH_MAX+1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. security/pkg/server/ca/monitoring.go

    // monitoringMetrics are counters for certificate signing related operations.
    type monitoringMetrics struct {
    	CSR               monitoring.Metric
    	AuthnError        monitoring.Metric
    	Success           monitoring.Metric
    	CSRError          monitoring.Metric
    	IDExtractionError monitoring.Metric
    	certSignErrors    monitoring.Metric
    }
    
    // newMonitoringMetrics creates a new monitoringMetrics.
    func newMonitoringMetrics() monitoringMetrics {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue23823.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type I1 = interface {
    	I2
    }
    
    // BAD: type loop should mention I1; see also #41669
    type I2 interface { // GC_ERROR "invalid recursive type: I2 refers to itself"
    	I1 // GCCGO_ERROR "invalid recursive interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 397 bytes
    - Viewed (0)
Back to top