Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for strerror (0.24 sec)

  1. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	}
    
    	scenarios := map[string]struct {
    		testNamespace           *v1.Namespace
    		kubeClientActionSet     sets.String
    		metadataClientActionSet sets.String
    		gvrError                error
    		expectErrorOnDelete     error
    		expectStatus            *v1.NamespaceStatus
    	}{
    		"pending-finalize": {
    			testNamespace: testNamespacePendingFinalize,
    			kubeClientActionSet: sets.NewString(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Check for auth type to return S3 compatible error.
    	cred, _, s3Error := checkRequestAuthTypeCredential(ctx, r, policy.GetObjectAction)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	target, err := globalLambdaTargetList.Lookup(r.Form.Get("lambdaArn"))
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    func NewFixedBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result:    buffer,
    		fixedSize: true,
    	}
    }
    
    // SetError sets the value to be returned as the error from Bytes. Writes
    // performed after calling SetError are ignored.
    func (b *Builder) SetError(err error) {
    	b.err = err
    }
    
    // Bytes returns the bytes written by the builder or an error if one has
    // occurred during building.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	So_linger    int16
    	So_state     int16
    	So_pcb       uint32
    	Xso_protocol int32
    	Xso_family   int32
    	So_qlen      int16
    	So_incqlen   int16
    	So_qlimit    int16
    	So_timeo     int16
    	So_error     uint16
    	So_pgid      int32
    	So_oobmark   uint32
    	So_rcv       XSockbuf
    	So_snd       XSockbuf
    	So_uid       uint32
    }
    
    type XSocket64 struct {
    	Xso_len      uint32
    	_            [8]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    	So_linger    int16
    	So_state     int16
    	So_pcb       uint32
    	Xso_protocol int32
    	Xso_family   int32
    	So_qlen      int16
    	So_incqlen   int16
    	So_qlimit    int16
    	So_timeo     int16
    	So_error     uint16
    	So_pgid      int32
    	So_oobmark   uint32
    	So_rcv       XSockbuf
    	So_snd       XSockbuf
    	So_uid       uint32
    }
    
    type XSocket64 struct {
    	Xso_len      uint32
    	_            [8]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/cmds.go

    			// Either use it systematically or remove it.
    			if len(args) == 1 {
    				return nil, stopError{msg: args[0]}
    			}
    			return nil, stopError{}
    		})
    }
    
    // stopError is the sentinel error type returned by the Stop command.
    type stopError struct {
    	msg string
    }
    
    func (s stopError) Error() string {
    	if s.msg == "" {
    		return "stop"
    	}
    	return "stop: " + s.msg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/encoding/xml/xml_test.go

    func TestIssue20396(t *testing.T) {
    
    	var attrError = UnmarshalError("XML syntax error on line 1: expected attribute name in element")
    
    	testCases := []struct {
    		s       string
    		wantErr error
    	}{
    		{`<a:te:st xmlns:a="abcd"/>`, // Issue 20396
    			UnmarshalError("XML syntax error on line 1: expected element name after <")},
    		{`<a:te=st xmlns:a="abcd"/>`, attrError},
    		{`<a:te&st xmlns:a="abcd"/>`, attrError},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    				Code:  ErrSiteReplicationInvalidRequest,
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    }
    
    // Verify if request has valid AWS Signature Version '2'.
    func isReqAuthenticatedV2(r *http.Request) (s3Error APIErrorCode) {
    	if isRequestSignatureV2(r) {
    		return doesSignV2Match(r)
    	}
    	return doesPresignV2SignatureMatch(r)
    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_mips64.go

    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Pad_cgo_0 [4]byte
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Pad_cgo_1 [4]byte
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    	Pad_cgo_2 [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top