Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 608 for perror (0.28 sec)

  1. test/alias2.go

    type _ = reflect.ValueOf // ERROR "reflect.ValueOf .*is not a type|expected type"
    
    func (A1) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
    func (A2) m() {} // ERROR "invalid receiver type"
    func (A3) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/os/dir.go

    // Readdir returns an empty slice, it will return a non-nil error
    // explaining why. At the end of a directory, the error is [io.EOF].
    //
    // If n <= 0, Readdir returns all the FileInfo from the directory in
    // a single slice. In this case, if Readdir succeeds (reads all
    // the way to the end of the directory), it returns the slice and a
    // nil error. If it encounters an error before the end of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pkg/probe/exec/exec_test.go

    		if status != test.expectedStatus {
    			t.Errorf("[%d] expected %v, got %v", i, test.expectedStatus, status)
    		}
    		if err != nil && !test.expectError {
    			t.Errorf("[%d] unexpected error: %v", i, err)
    		}
    		if err == nil && test.expectError {
    			t.Errorf("[%d] unexpected non-error", i)
    		}
    		if test.output != output {
    			t.Errorf("[%d] expected %s, got %s", i, test.output, output)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    	_ "math"
    	_ "net/rpc"
    	init /* ERROR "cannot import package as init" */ "fmt"
    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    	. /* ERROR "imported and not used" */ "reflect"
    )
    
    import "math" /* ERROR "imported and not used" */
    import m /* ERROR "imported as m and not used" */ "math"
    import _ "math"
    
    import (
    	"math/big" /* ERROR "imported and not used" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/testdata/harness.go

    	slws       slicewriter.WriteSeeker
    }
    
    func (f *failingWriter) Write(p []byte) (n int, err error) {
    	c := f.writeCount
    	f.writeCount++
    	if f.writeLimit < 0 || c < f.writeLimit {
    		return f.slws.Write(p)
    	}
    	return 0, fmt.Errorf("manufactured write error")
    }
    
    func (f *failingWriter) Seek(offset int64, whence int) (int64, error) {
    	return f.slws.Seek(offset, whence)
    }
    
    func (f *failingWriter) reset(lim int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error)
    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
    	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Example, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/runtime/impl.go

    	NewRemoteImageService(endpoint string, connectionTimeout time.Duration) (criapi.ImageManagerService, error)
    	Status(ctx context.Context, runtimeService criapi.RuntimeService, verbose bool) (*runtimeapi.StatusResponse, error)
    	ListPodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, filter *runtimeapi.PodSandboxFilter) ([]*runtimeapi.PodSandbox, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. security/pkg/server/ca/server.go

    		return nil, status.Errorf(signErr.(*caerror.Error).HTTPErrorCode(), "CSR signing error (%v)", signErr.(*caerror.Error))
    	}
    	if certSigner == "" {
    		respCertChain = []string{string(cert)}
    		if len(certChainBytes) != 0 {
    			respCertChain = append(respCertChain, string(certChainBytes))
    			serverCaLog.Debugf("Append cert chain to response, %s", string(certChainBytes))
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/runtime/runtime.go

    type ContainerRuntime interface {
    	Connect() error
    	SetImpl(impl)
    	IsRunning() error
    	ListKubeContainers() ([]string, error)
    	RemoveContainers(containers []string) error
    	PullImage(image string) error
    	PullImagesInParallel(images []string, ifNotPresent bool) error
    	ImageExists(image string) bool
    	SandboxImage() (string, error)
    }
    
    // CRIRuntime is a struct that interfaces with the CRI
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. pkg/volume/plugins_test.go

    	}
    
    	pod = &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name: "pv-recycler",
    				},
    			},
    		},
    	}
    	// want = an error
    	if got := ValidateRecyclerPodTemplate(pod); got == nil {
    		t.Errorf("isPodTemplateValid(%v) returned (%v), want (%v)", pod.String(), got, "Error: pod specification does not contain any volume(s).")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top