Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,747 for error (0.2 sec)

  1. cmd/sts-errors.go

    )
    
    // writeSTSErrorResponse writes error headers
    func writeSTSErrorResponse(ctx context.Context, w http.ResponseWriter, errCode STSErrorCode, err error) {
    	stsErr := stsErrCodes.ToSTSErr(errCode)
    
    	// Generate error response.
    	stsErrorResponse := STSErrorResponse{}
    	stsErrorResponse.Error.Code = stsErr.Code
    	stsErrorResponse.RequestID = w.Header().Get(xhttp.AmzRequestID)
    	stsErrorResponse.Error.Message = stsErr.Description
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/store/store.go

    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) error
    	PutMultiple(item []I) error
    	Get(key string) (I, error)
    	GetRaw(key string) ([]byte, error)
    	Len() int
    	List() ([]string, error)
    	Del(key string) error
    	DelList(key []string) error
    	Open() error
    	Delete() error
    	Extension() string
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    		t.Fatalf("Error happened when append Account, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Account", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Account").Clear(); err != nil {
    		t.Errorf("Error happened when clear Account, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Account", 0, "after clear")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVF	$1, X5				// ERROR "unsupported constant load"
    	MOVBU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVHU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVWU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVF	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOVD	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOV	X10, X11, X12			// ERROR "illegal MOV instruction"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    	return e.Expression.aggregateRow(r, tableAlias)
    }
    
    func (e *Expression) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.And {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *ListExpr) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.Elements {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. cni/pkg/ipset/ipset.go

    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. internal/rest/client_test.go

    				if errors.As(n, &netErrInterface) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    			} else {
    				if errors.As(n, &tt.target) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil_test.go

    		b, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("Case %d: Unexpected err %v", i, err)
    		}
    		if string(b) != testCase.expected {
    			t.Errorf("Case %d: Got wrong result: %v", i, string(b))
    		}
    	}
    }
    
    func TestSameFile(t *testing.T) {
    	f, err := os.CreateTemp("", "")
    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    	f.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/server.go

    	ConstructInitialSnapshot(ambientPods []*corev1.Pod) error
    	Start(ctx context.Context)
    
    	//	IsPodInMesh(ctx context.Context, pod *metav1.ObjectMeta, netNs string) (bool, error)
    	AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error
    	RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error
    	DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error
    
    	Stop()
    }
    
    type Server struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top