Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for strerror (0.14 sec)

  1. internal/s3select/csv/errors.go

    package csv
    
    import "errors"
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. security/pkg/pki/error/error.go

    // ErrType is the type for CA errors.
    type ErrType int
    
    const (
    	// CANotReady means the CA is not ready to sign CSRs.
    	CANotReady ErrType = iota
    	// CSRError means the CA cannot sign CSR due to CSR error.
    	CSRError
    	// TTLError means the required TTL is invalid.
    	TTLError
    	// CertGenError means an error happened during the certificate generation.
    	CertGenError
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 13 17:41:21 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  3. src/internal/testpty/pty_cgo.go

    	m, err := C.posix_openpt(C.O_RDWR)
    	if m < 0 {
    		return nil, "", ptyError("posix_openpt", err)
    	}
    	if res, err := C.grantpt(m); res < 0 {
    		C.close(m)
    		return nil, "", ptyError("grantpt", err)
    	}
    	if res, err := C.unlockpt(m); res < 0 {
    		C.close(m)
    		return nil, "", ptyError("unlockpt", err)
    	}
    	processTTY = C.GoString(C.ptsname(m))
    	return os.NewFile(uintptr(m), "pty"), processTTY, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 18:38:54 UTC 2023
    - 840 bytes
    - Viewed (0)
  4. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketEncryptionAction, 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.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void setError(final int statusCode, final String message) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message)));
        }
    
        public static void setError(final int statusCode, final Exception e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    		name           string
    		simError       SimulatedError
    		expErrString   string
    		expBindAddr    string
    		expClusterCIDR string
    	}{
    		{
    			name:           "Successful proxy addon",
    			simError:       NoError,
    			expErrString:   "",
    			expBindAddr:    "0.0.0.0",
    			expClusterCIDR: "5.6.7.8/24",
    		}, {
    			name:           "Simulated service account error",
    			simError:       ServiceAccountError,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/encoding/gob/encoder.go

    func (enc *Encoder) pushWriter(w io.Writer) {
    	enc.w = append(enc.w, w)
    }
    
    // popWriter pops the innermost writer.
    func (enc *Encoder) popWriter() {
    	enc.w = enc.w[0 : len(enc.w)-1]
    }
    
    func (enc *Encoder) setError(err error) {
    	if enc.err == nil { // remember the first.
    		enc.err = err
    	}
    }
    
    // writeMessage sends the data item preceded by an unsigned count of its length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_host_send_device_context.cc

        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/syscall/net_fake.go

    )
    
    const (
    	IPPROTO_IP   = 0
    	IPPROTO_IPV4 = 4
    	IPPROTO_IPV6 = 0x29
    	IPPROTO_TCP  = 6
    	IPPROTO_UDP  = 0x11
    )
    
    const (
    	SOMAXCONN = 0x80
    )
    
    const (
    	_ = iota
    	IPV6_V6ONLY
    	SO_ERROR
    )
    
    // Misc constants expected by package net but not supported.
    const (
    	_ = iota
    	F_DUPFD_CLOEXEC
    	SYS_FCNTL = 500 // unsupported
    )
    
    type Sockaddr any
    
    type SockaddrInet4 struct {
    	Port int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 883 bytes
    - Viewed (0)
Back to top