- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,882 for perror (0.14 sec)
-
cmd/kubeadm/app/util/apiclient/idempotency_test.go
return true, nil, nil }) }, expectedError: false, }, { name: "create configmap returns error", setupClient: func(client *clientsetfake.Clientset) { client.PrependReactor("create", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) { return true, nil, errors.New("unknown error") }) }, expectedError: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
cmd/admin-handler-utils.go
} return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err)) } // wraps import error for more context func importError(ctx context.Context, err error, fname, entity string) APIError { if entity == "" { return toAPIError(ctx, fmt.Errorf("error importing %s with: %w", fname, err)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go
// Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*AdmissionConfiguration)(nil), (*apiserver.AdmissionConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 00:57:24 UTC 2024 - 50K bytes - Viewed (0) -
pkg/apis/resource/v1alpha2/zz_generated.conversion.go
// Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*v1alpha2.AllocationResult)(nil), (*resource.AllocationResult)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1alpha2_AllocationResult_To_resource_AllocationResult(a.(*v1alpha2.AllocationResult), b.(*resource.AllocationResult), scope)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 103.6K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
SE_EventStatus event_status = stream_executor_->get_event_status(device_, event_handle_); switch (event_status) { case SE_EVENT_ERROR: return Event::Status::kError; case SE_EVENT_PENDING: return Event::Status::kPending; case SE_EVENT_COMPLETE: return Event::Status::kComplete; default: return Event::Status::kUnknown; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 8K bytes - Viewed (0) -
tests/prepared_stmt_test.go
tx.Rollback() } }() if err := tx.Error; err != nil { t.Errorf("Failed to start transaction, got error %v\n", err) } if err := tx.Where("name=?", "zzjin").Delete(&User{}).Error; err != nil { tx.Rollback() t.Errorf("Failed to run one transaction, got error %v\n", err) } if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil { tx.Rollback() t.Errorf("Failed to run one transaction, got error %v\n", err)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 07:55:43 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
assertOnError: func(t *testing.T, err error) { if err != nil { t.Errorf("expected nil error, got: %v", err) } }, }, { name: "error determining gvk", metaFactory: stubMetaFactory{err: errors.New("test")}, assertOnError: func(t *testing.T, err error) { if err == nil || err.Error() != "test" { t.Errorf("expected error \"test\", got: %v", err) } }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
test/fixedbugs/issue31747.go
_ = 0x0p1 // ERROR "hexadecimal floating-point" _ = 1_000i // ERROR "underscore" _ = 0b111i // ERROR "binary" _ = 0o567i // ERROR "octal" _ = 0xabci // ERROR "hexadecimal floating-point" _ = 0x0p1i // ERROR "hexadecimal floating-point" ) // signed shift counts var ( s int _ = 1 << s // ERROR "invalid operation: 1 << s \(signed shift count type int\) requires go1.13 or later|signed shift count"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_mock.go
func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error { args := m.Called(name, ip, ipProto) return args.Error(0) } func (m *MockedIpsetDeps) flush(name string) error { args := m.Called(name) return args.Error(0) } func (m *MockedIpsetDeps) clearEntriesWithComment(name, comment string) error { args := m.Called(name, comment) return args.Error(0) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
src/internal/types/testdata/spec/range_int.go
} for range 1 /* ERROR "cannot range over 1 + 0i (untyped complex constant (1 + 0i))" */ + 0i { } for range 1.1 /* ERROR "cannot range over 1.1 (untyped float constant)" */ { } for range 1i /* ERROR "cannot range over 1i (untyped complex constant (0 + 1i))" */ { } for i := range 10.0 /* ERROR "cannot range over 10.0 (untyped float constant 10)" */ { _ = i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:56:00 UTC 2024 - 4.7K bytes - Viewed (0)