Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 608 for perror (0.1 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    		res *v1.ImageStatusResponse
    		err error
    	}
    	listPodSandboxReturns struct {
    		res []*v1.PodSandbox
    		err error
    	}
    	newRemoteImageServiceReturns struct {
    		res cri.ImageManagerService
    		err error
    	}
    	newRemoteRuntimeServiceReturns struct {
    		res cri.RuntimeService
    		err error
    	}
    	pullImageReturns struct {
    		res string
    		err error
    	}
    	removePodSandboxReturns struct {
    		res error
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/decls2/decls2a.go

    // T2's method declared before the type.
    func (*T2) f /* ERROR "field and method" */ () {}
    
    type T2 struct {
    	f int
    }
    
    // Methods declared without a declared type.
    func (undefined /* ERROR "undefined" */) m() {}
    func (x *undefined /* ERROR "undefined" */) m() {}
    
    func (pi /* ERROR "not a type" */) m1() {}
    func (x pi /* ERROR "not a type" */) m2() {}
    func (x *pi /* ERROR "not a type" */ ) m3() {}
    
    // Blank types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    func assertErrorMessage(want string) func(*testing.T, error) {
    	return func(t *testing.T, got error) {
    		if got == nil {
    			t.Error("expected non-nil error")
    			return
    		}
    		if got.Error() != want {
    			t.Errorf("got error %q, want %q", got.Error(), want)
    		}
    	}
    }
    
    func assertIdenticalError[E error](expected E) func(*testing.T, error) {
    	return assertOnConcreteError(func(t *testing.T, actual E) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/labels.go

    package labels
    
    var x int
    
    func f0() {
    L1 /* ERROR "label L1 declared and not used" */ :
    	for {
    	}
    L2 /* ERROR "label L2 declared and not used" */ :
    	select {
    	}
    L3 /* ERROR "label L3 declared and not used" */ :
    	switch {
    	}
    L4 /* ERROR "label L4 declared and not used" */ :
    	if true {
    	}
    L5 /* ERROR "label L5 declared and not used" */ :
    	f0()
    L6:
    	f0()
    L6 /* ERROR "label L6 already declared" */ :
    	f0()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/naughty-disk_test.go

    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                    error(UnsupportedSyntax(DanglingExpr)[251..251]
                    error(UnsupportedSyntax(ElementWithExplicitReceiver)[259..261]
                    error(UnsupportedSyntax(AssignmentWithExplicitReceiver)[267..273]
                    error(UnsupportedSyntax(LocalVal)[279..287]
                    error(SyntaxError(Parsing failure, unexpected tokenType in expression: POSTFIX_EXPRESSION)[307..319]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/storage-interface.go

    	NSScanner(ctx context.Context, cache dataUsageCache, updates chan<- dataUsageEntry, scanMode madmin.HealScanMode, shouldSleep func() bool) (dataUsageCache, error)
    
    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top