- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 121 for caerror (0.12 sec)
-
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
} }) } } func hasError(errs field.ErrorList, needle string) bool { for _, curr := range errs { if curr.Error() == needle { return true } } return false } func hasPrefixError(errs field.ErrorList, prefix string) bool { for _, curr := range errs { if strings.HasPrefix(curr.Error(), prefix) { return true } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
test/fixedbugs/issue11361.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 351 bytes - Viewed (0) -
test/fixedbugs/bug412.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type t struct { x int // GCCGO_ERROR "duplicate field name .x." x int // GC_ERROR "duplicate field x|x redeclared" } func f(t *t) int { return t.x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 11 02:26:58 UTC 2022 - 339 bytes - Viewed (0)