- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,069 for Err (0.04 sec)
-
internal/etag/etag.go
} if len(suffix) <= 1 { return nil, errors.New("etag: suffix is not a part number") } etag, err := hex.DecodeString(prefix) if err != nil { return nil, err } partNumber, err := strconv.Atoi(suffix[1:]) // suffix[0] == '-' Therefore, we start parsing at suffix[1] if err != nil { return nil, err } if strict && (partNumber == 0 || partNumber > 10000) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
break } return err } if se, ok := t.(xml.StartElement); ok { switch se.Name.Local { case "Rule": var r Rule if err = d.DecodeElement(&r, &se); err != nil { return err } lc.Rules = append(lc.Rules, r) case "ExpiryUpdatedAt": var t time.Time if err = d.DecodeElement(&t, &start); err != nil { return err } lc.ExpiryUpdatedAt = &t
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/s3select/errors.go
statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message } func errMalformedXML(err error) *s3Error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
cmd/peer-s3-client.go
for idx, client := range sys.peerClients { idx := idx client := client g.Go(func() error { if client == nil { return errPeerOffline } res, err := client.HealBucket(ctx, bucket, opts) if err != nil { return err } healBucketResults[idx] = res return nil }, idx) } errs = g.Wait() for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 15.4K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
return this; } public Builder out(OutputStream out) { this.out = out; return this; } public Builder err(OutputStream err) { this.err = err; return this; } public ParserRequest build() { return new ParserRequestImpl( command, commandName,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 04 12:23:10 UTC 2024 - 13.7K bytes - Viewed (0) -
tests/prepared_stmt_test.go
tx.Rollback() } }() if err := tx.Error; err != nil { t.Errorf("Failed to start transaction, got error %v\n", err) } if err := tx.Where("name=?", "zzjin").Delete(&User{}).Error; err != nil { tx.Rollback() t.Errorf("Failed to run one transaction, got error %v\n", err) } if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil { tx.Rollback()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
finisher_api.go
// returned to the connection pool. func (db *DB) Connection(fc func(tx *DB) error) (err error) { if db.Error != nil { return db.Error } tx := db.getInstance() sqlDB, err := tx.DB() if err != nil { return } conn, err := sqlDB.Conn(tx.Statement.Context) if err != nil { return } defer conn.Close() tx.Statement.ConnPool = conn return fc(tx) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
RunE: func(c *cobra.Command, args []string) error { if err := opts.prepare(ctx); err != nil { return err } client, err := ctx.CLIClient() if err != nil { return err } out, warn, err := CreateRemoteSecret(client, opts) if err != nil { _, _ = fmt.Fprintf(c.OutOrStderr(), "error: %v\n", err) return err } if warn != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
if err == nil { t.Errorf("Test %d: Expected to failed but passed. %s", i+1, err) } if err != nil && err != testCaseFailure.err { t.Errorf("Test %d: Expected err %s, but got %s", i+1, testCaseFailure.err, err) } } } func BenchmarkXlMetaV2Shallow(b *testing.B) { fi := FileInfo{ Volume: "volume", Name: "object-name",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
func CheckKubernetesVersion(versionInfo *version.Info) (bool, error) { v, err := extractKubernetesVersion(versionInfo) if err != nil { return false, err } return MinK8SVersion <= v, nil } // extractKubernetesVersion returns the Kubernetes minor version. For example, `v1.19.1` will return `19` func extractKubernetesVersion(versionInfo *version.Info) (int, error) { ver, err := goversion.NewVersion(versionInfo.String()) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 2.6K bytes - Viewed (0)