- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,639 for erros (0.06 seconds)
-
internal/s3select/progress.go
func (pr *progressReader) Read(p []byte) (n int, err error) { // This ensures that Close will block until Read has completed. // This allows another goroutine to close the reader. pr.closedMu.Lock() defer pr.closedMu.Unlock() if pr.closed { return 0, errors.New("progressReader: read after Close") } return pr.processedReader.Read(p) } func (pr *progressReader) Close() error { pr.closedMu.Lock() defer pr.closedMu.Unlock()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 22 00:33:43 GMT 2024 - 4.3K bytes - Click Count (0) -
internal/config/storageclass/storage-class_test.go
nil, }, { "AB:4", StorageClass{ Parity: 4, }, errors.New("Unsupported scheme AB. Supported scheme is EC"), }, { "EC:4:5", StorageClass{ Parity: 4, }, errors.New("Too many sections in EC:4:5"), }, { "EC:A", StorageClass{ Parity: 4, }, errors.New(`strconv.Atoi: parsing "A": invalid syntax`), }, { "AB", StorageClass{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0) -
tests/named_argument_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Dec 21 11:50:00 GMT 2021 - 2.7K bytes - Click Count (0) -
cmd/server-main.go
// One of these retriable errors shall be retried. return errors.Is(err, errDiskNotFound) || errors.Is(err, errConfigNotFound) || errors.Is(err, context.DeadlineExceeded) || errors.Is(err, errErasureWriteQuorum) || errors.Is(err, errErasureReadQuorum) || errors.Is(err, io.ErrUnexpectedEOF) || errors.As(err, &rquorum) || errors.As(err, &wquorum) || isErrObjectNotFound(err) ||
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
cmd/erasure-server-pool-decom.go
} } var ( errDecommissionAlreadyRunning = errors.New("decommission is already in progress") errDecommissionComplete = errors.New("decommission is complete, please remove the servers from command-line") errDecommissionNotStarted = errors.New("decommission is not in progress") ) func (p *poolMeta) Decommission(idx int, pi poolSpaceInfo) error { // Return an error when there is decommission on going - the user needs
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 42.2K bytes - Click Count (1) -
cmd/erasure.go
return er.setDriveCount - er.defaultParityCount } func diskErrToDriveState(err error) (state string) { switch { case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded): state = madmin.DriveStateOffline case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend): state = madmin.DriveStateCorrupt case errors.Is(err, errUnformattedDisk): state = madmin.DriveStateUnformatted
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
internal/s3select/sql/statement.go
} } return stmt, err } func validateTableName(from *TableExpression) error { if !strings.EqualFold(from.Table.BaseKey.String(), baseTableName) { return errBadTableName(errors.New("table name must be `s3object`")) } if len(from.Table.PathExpr) > 0 { if !from.Table.PathExpr[0].ArrayWildcard { return errBadTableName(errors.New("keypath table name is invalid - please check the service documentation")) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
internal/grid/stream.go
package grid import ( "context" "errors" ) // A Stream is a two-way stream. // All responses *must* be read by the caller. // If the call is canceled through the context, // the appropriate error will be returned. type Stream struct { // responses from the remote server. // Channel will be closed after error or when remote closes.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
tests/preload_test.go
t.Errorf("failed to query, got error %v, account: %#v", err, user4.Account) } if err := DB.Preload(clause.Associations, func(tx *gorm.DB) *gorm.DB { return tx.Unscoped() }).Take(&user4, "id = ?", users3[0].ID).Error; err != nil || user4.Account.ID == 0 { t.Errorf("failed to query, got error %v, account: %#v", err, user4.Account) } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 10:00:47 GMT 2024 - 15.9K bytes - Click Count (0) -
internal/event/target/elasticsearch.go
type esClient interface { isAtleastV7() bool createIndex(ElasticsearchArgs) error ping(context.Context, ElasticsearchArgs) (bool, error) stop() entryExists(context.Context, string, string) (bool, error) removeEntry(context.Context, string, string) error updateEntry(context.Context, string, string, event.Event) error addEntry(context.Context, string, event.Event) error } // ElasticsearchArgs - Elasticsearch target arguments.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15K bytes - Click Count (0)