- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 2,750 for errPos (0.09 seconds)
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
tests/associations_has_many_test.go
if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } if err := DB.Model(&user).Association("Languages").Replace(Language{Name: "DE", Code: "de"}, Language{Name: "FR", Code: "fr"}); err != nil { t.Error("expected association error to be not nil") } var result User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
cmd/config-common.go
package cmd import ( "bytes" "context" "errors" "io" "net/http" "github.com/minio/minio/internal/hash" ) var errConfigNotFound = errors.New("config file not found") func readConfigWithMetadata(ctx context.Context, store objectIO, configFile string, opts ObjectOptions) ([]byte, ObjectInfo, error) { r, err := store.GetObjectNInfo(ctx, minioMetaBucket, configFile, nil, http.Header{}, opts)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 3.1K bytes - Click Count (0) -
tests/associations_has_one_test.go
user := User{Name: "jinzhu", Account: Account{Number: "1"}} if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } if err := DB.Model(&user).Association("Languages").Replace(Account{Number: "2"}); err == nil { t.Error("expected association error to be not nil") }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.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 Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java
} private void maybeLogAndCollectError(Set<ValidationMessage> messages, Map<File, Set<String>> errors, File file) { final String fileType = getFileType(); for (ValidationMessage message : messages) { getLogger().error("[validate {}][ERROR][{}][{}]", fileType, file.getName(), message.toString()); errors.computeIfAbsent(file, k -> new LinkedHashSet<>())Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 28 11:09:58 GMT 2021 - 5.4K bytes - Click Count (0) -
cmd/iam-object-store.go
if err := iamOS.loadPolicyDoc(ctx, policyName, m); err != nil && !errors.Is(err, errNoSuchPolicy) { return err } } return nil } func (iamOS *IAMObjectStore) loadSecretKey(ctx context.Context, user string, userType IAMUserType) (string, error) { var u UserIdentity err := iamOS.loadIAMConfig(ctx, &u, getUserIdentityPath(user, userType)) if err != nil { if errors.Is(err, errConfigNotFound) { return "", errNoSuchUser
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0) -
cmd/batch-expire.go
} allErrs := make([]error, 0, len(objsToDel)) for { count := len(objsToDel) if count == 0 { break } if count > maxDeleteList { count = maxDeleteList } _, errs := api.DeleteObjects(ctx, r.Bucket, objsToDel[:count], opts) allErrs = append(allErrs, errs...) // Next batch of deletion objsToDel = objsToDel[count:] } return allErrs } const (
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 22 11:16:32 GMT 2025 - 23K bytes - Click Count (0) -
tests/preload_test.go
if err := tx.Preload("Team").Find(&user2).Error; err != nil { t.Error(err) } }() } wg.Wait() } func TestPreloadWithDiffModel(t *testing.T) { user := *GetUser("preload_with_diff_model", Config{Account: true}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } var result struct { Something string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:00:47 GMT 2024 - 15.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
return success(model, problemsList); } /** * Error with problems describing the cause * * @param problems */ public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) { return error(null, problems); } public static <T> Result<T> error(T model) { return error(model, Collections.emptyList()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 6.9K bytes - Click Count (0)