- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 906 for errh (0.03 sec)
-
cmd/format-erasure.go
- // countErrs - count a specific error.
- func countErrs(errs []error, err error) int {
- i := 0
- for _, err1 := range errs {
- if err1 == err || errors.Is(err1, err) {
- i++
- }
- }
- return i
- }
- // Does all errors indicate we need to initialize all disks?.
- func shouldInitErasureDisks(errs []error) bool {
- return countErrs(errs, errUnformattedDisk) == len(errs)
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/httprange_test.go
- for i, irs := range invalidRangeSpecs {
- var err1, err2 error
- var rs *HTTPRangeSpec
- var o, l int64
- rs, err1 = parseRequestRangeSpec(irs)
- if err1 == nil {
- o, l, err2 = rs.GetOffsetLength(resourceSize)
- }
- if isErrInvalidRange(err1) || (err1 == nil && isErrInvalidRange(err2)) {
- continue
- }
- t.Errorf("Case %d: Expected errInvalidRange but: %v %v %d %d %v", i, rs, err1, o, l, err2)
- }
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/erasure-healing_test.go
- if err != nil {
- t.Fatal(err)
- }
- // Checking abandoned parts should do nothing
- err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true})
- if err != nil {
- t.Fatal(err)
- }
- _, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan})
- if err != nil {
- t.Fatal(err)
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
- }
- var rhs Value
- var err error
- var eltVal *Value
- switch {
- case e.JPathExpr != nil:
- eltVal, err = e.JPathExpr.evalNode(r, tableAlias)
- if err != nil {
- return nil, err
- }
- case e.ListExpr != nil:
- eltVal, err = e.ListExpr.evalNode(r, tableAlias)
- if err != nil {
- return nil, err
- }
- default:
- return nil, errInvalidASTNode
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:56:26 UTC 2024 - 34.5K bytes - Viewed (0) -
cmd/site-replication.go
- }
- if globalDNSConfig != nil {
- if err := globalDNSConfig.Delete(bucket); err != nil {
- return err
- }
- }
- err := objAPI.DeleteBucket(ctx, bucket, opts)
- if err != nil {
- if globalDNSConfig != nil {
- if err2 := globalDNSConfig.Put(bucket); err2 != nil {
- replLogIf(ctx, fmt.Errorf("Unable to restore bucket DNS entry %w, please fix it manually", err2))
- }
- }
- return err
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
cmd/erasure-server-pool.go
- if err = checkGetObjArgs(ctx, bucket, object); err != nil {
- return objInfo, err
- }
- // This is a special call attempted first to check for SOS-API calls.
- objInfo, err = veeamSOSAPIHeadObject(ctx, bucket, object, opts)
- if err == nil {
- return objInfo, nil
- }
- // reset any error to 'nil', and object info to be empty.
- err = nil
- objInfo = ObjectInfo{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0) -
cmd/object-api-utils.go
- off, length, skipLen, seqNumber, partStart, err = oi.GetDecryptedRange(rs)
- if err != nil {
- return nil, 0, 0, err
- }
- var decSize int64
- decSize, err = oi.DecryptedSize()
- if err != nil {
- return nil, 0, 0, err
- }
- var decRangeLength int64
- decRangeLength, err = rs.GetLength(decSize)
- if err != nil {
- return nil, 0, 0, err
- }
- // We define a closure that performs decryption given
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 37.1K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
- q, err := d.Quantity.evalNode(r, tableAlias)
- if err != nil {
- return nil, err
- }
- inferTypeForArithOp(q)
- qty, ok := q.ToFloat()
- if !ok {
- return nil, fmt.Errorf("QUANTITY must be a numeric argument to %s()", sqlFnDateAdd)
- }
- ts, err := d.Timestamp.evalNode(r, tableAlias)
- if err != nil {
- return nil, err
- }
- if err = inferTypeAsTimestamp(ts); err != nil {
- return nil, err
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
- if err != nil {
- t.Fatalf("Failed to getLatestFileInfo %v", err)
- }
- for j := range partsMetadata {
- if errs[j] != nil {
- t.Fatalf("expected error to be nil: %s", errs[j])
- }
- partsMetadata[j].ModTime = test.modTimes[j]
- }
- tamperedIndex := -1
- switch test._tamperBackend {
- case deletePart:
- for index, err := range test.errs {
- if err != nil {
- continue
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K bytes - Viewed (0)