- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,126 for Errorfs (0.05 seconds)
-
internal/disk/stat_linux_s390x.go
if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return IOStats{}, errors.New("operation unsupported")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
errorString := errorStringBuilder.String() if resp.StatusCode == http.StatusConflict { return ErrBucketConflict(Error{bucket, errors.New(errorString)}) } return newError(bucket, fmt.Errorf("service create for bucket %s, failed with status %s, error %s", bucket, resp.Status, errorString)) } return nil } func newError(bucket string, err error) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
cmd/erasure-object_test.go
if tt.expectedError != nil && err == nil { t.Errorf("Expected %s, got %s", tt.expectedError, err) } if tt.expectedError == nil && err != nil { t.Errorf("Expected %s, got %s", tt.expectedError, err) } if tt.expectedReadQuorum != actualReadQuorum { t.Errorf("Expected Read Quorum %d, got %d", tt.expectedReadQuorum, actualReadQuorum) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.3K bytes - Click Count (0) -
cmd/batch-handlers.go
} if len(data) <= 4 { return fmt.Errorf("%s: no data", ri.JobType) } // Read header switch binary.LittleEndian.Uint16(data[0:2]) { case format: default: return fmt.Errorf("%s: unknown format: %d", ri.JobType, binary.LittleEndian.Uint16(data[0:2])) } switch binary.LittleEndian.Uint16(data[2:4]) { case version: default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1) -
tests/helper_test.go
} func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) { if pet.ID != 0 { var newPet Pet if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil { t.Fatalf("errors happened when query: %v", err) } else { AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 8K bytes - Click Count (0) -
internal/disk/stat_bsd.go
if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return IOStats{}, errors.New("operation unsupported")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.7K bytes - Click Count (0) -
cmd/untar.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "archive/tar" "bufio" "bytes" "context" "errors" "fmt" "io" "io/fs" "os" "path" "runtime" "sync" "time" "github.com/cosnicolaou/pbzip2" "github.com/klauspost/compress/s2" "github.com/klauspost/compress/zstd"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
cmd/erasure-healing.go
}) return nil } var ( errLegacyXLMeta = errors.New("legacy XL meta") errOutdatedXLMeta = errors.New("outdated XL meta") errPartCorrupt = errors.New("part corrupt") errPartMissing = errors.New("part missing") ) // Only heal on disks where we are sure that healing is needed. We can expand // this list as and when we figure out more errors can be added to this list safely.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
docs/sts/web-identity.go
return nil, errors.New("invalid token") } return &credentials.WebIdentityToken{ Token: oauth2Token.Extra("id_token").(string), Expiry: int(oauth2Token.Expiry.Sub(time.Now().UTC()).Seconds()), }, nil } } sts, err := credentials.NewSTSWebIdentity(stsEndpoint, getWebTokenExpiry) if err != nil { log.Println(fmt.Errorf("Could not get STS credentials: %s", err))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
internal/etag/etag.go
if strict && len(etag) != 16 { // AWS S3 ETags are always 128 bit long return nil, fmt.Errorf("etag: invalid length %d", len(etag)) } return ETag(etag), nil } prefix, suffix := s[:n], s[n:] if len(prefix) != 32 { return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix)) } if len(suffix) <= 1 { return nil, errors.New("etag: suffix is not a part number") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0)