- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 950 for cast (0.01 seconds)
-
statement.go
} case clause.Interface: c := clause.Clause{Name: v.Name()} v.MergeClause(&c) c.Build(stmt) case clause.Expression: v.Build(stmt) case driver.Valuer: stmt.Vars = append(stmt.Vars, v) stmt.DB.Dialector.BindVarTo(writer, stmt, v) case []byte: stmt.Vars = append(stmt.Vars, v) stmt.DB.Dialector.BindVarTo(writer, stmt, v) case []interface{}: if len(v) > 0 {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 20.9K bytes - Click Count (0) -
cmd/warm-backend-s3.go
if err != nil { return nil, err } // Validation code switch { case conf.AWSRoleWebIdentityTokenFile == "" && conf.AWSRoleARN != "" || conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN == "": return nil, errors.New("both the token file and the role ARN are required") case conf.AccessKey == "" && conf.SecretKey != "" || conf.AccessKey != "" && conf.SecretKey == "":Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
internal/config/scanner/scanner.go
case "fastest": cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second case "fast": cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute case "default": cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute case "slow": cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute case "slowest":
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.5K bytes - Click Count (0) -
cmd/object-handlers_test.go
switch test.fault { case MissingContentLength: req.ContentLength = -1 // Setting the content length to a value greater than the max allowed size of a part. // Used in test case 4. case TooBigObject: req.ContentLength = globalMaxObjectSize + 1 // Malformed signature. // Used in test case 6. case BadSignature:Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
internal/store/store.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/object-api-datatypes_gen.go
return } switch msgp.UnsafeString(field) { case "Name": z.Name, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "Name") return } case "Created": z.Created, bts, err = msgp.ReadTimeBytes(bts) if err != nil { err = msgp.WrapError(err, "Created") return } case "Deleted": z.Deleted, bts, err = msgp.ReadTimeBytes(bts)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 71.7K bytes - Click Count (0) -
cmd/xl-storage_test.go
expectedErr error }{ // TestXLStorage case - 1. // A valid case, volume creation is expected to succeed. { volName: "success-vol", expectedErr: nil, }, // TestXLStorage case - 2. // Case where a file exists by the name of the volume to be created. { volName: "vol-as-file", expectedErr: errVolumeExists, }, // TestXLStorage case - 3. { volName: "existing-vol",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
internal/s3select/sql/aggregation.go
// Stores if at least one record has been seen seen bool } func newAggVal(fn FuncName) *aggVal { switch fn { case aggFnAvg, aggFnSum: return &aggVal{runningSum: FromFloat(0)} case aggFnMin: return &aggVal{runningMin: FromInt(0)} case aggFnMax: return &aggVal{runningMax: FromInt(0)} default: return &aggVal{} } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 7.9K bytes - Click Count (0) -
cmd/update_test.go
t.Fatal(err) } result, err := downloadReleaseURL(u, 1*time.Second, "") switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err) } case err == nil: t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 10.4K bytes - Click Count (0) -
cmd/batch-replicate_gen.go
return } switch msgp.UnsafeString(field) { case "AccessKey": z.AccessKey, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "AccessKey") return } case "SecretKey": z.SecretKey, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SecretKey") return } case "SessionToken": z.SessionToken, err = dc.ReadString() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.7K bytes - Click Count (0)