Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,928 for perror (0.09 sec)

  1. src/net/fd_windows.go

    }
    
    func (c *conn) writeBuffers(v *Buffers) (int64, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.writeBuffers(v)
    	if err != nil {
    		return n, &OpError{Op: "wsasend", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return n, nil
    }
    
    func (fd *netFD) writeBuffers(buf *Buffers) (int64, error) {
    	n, err := fd.pfd.Writev((*[][]byte)(buf))
    	runtime.KeepAlive(fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics.go

    	}
    	sm.p99Latency = p99Latency
    
    	if me.ErrorOrNil() != nil {
    		return sm, fmt.Errorf("error retrieving some metrics: %v", me.Error())
    	}
    
    	return sm, nil
    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. internal/logger/target/console/console.go

    func (c *Target) Validate() error {
    	return nil
    }
    
    // Endpoint returns the backend endpoint
    func (c *Target) Endpoint() string {
    	return ""
    }
    
    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. fastapi/exceptions.py

        """
        A generic, FastAPI-specific error.
        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * Sends an exception to the user in the <b>error</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error the error that caused this log
         */
        void error(Throwable error);
    
        void error(Supplier<String> content);
    
        void error(Supplier<String> content, Throwable error);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls1.go

    	t8 *int = & /* ERRORx `cannot use .* variable declaration` */ a
    	t10 *int = &42 /* ERROR "cannot take address" */
    	t11 *complex64 = &v
    	t12 complex64 = -(u + *t11) / *&v
    	t13 int = a /* ERROR "shifted operand" */ << d
    	t14 int = i << j
    	t15 math /* ERROR "math is not a type" */
    	t16 math.xxx /* ERROR "undefined" */
    	t17 math /* ERROR "not a type" */ .Pi
    	t18 float64 = math.Pi * 10.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue39634.go

    // crash 15
    func y15() { var a /* ERROR "declared and not used" */ interface{ p() } = G15[string]{} }
    type G15[X any] s /* ERROR "undefined" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top