- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 2,444 for Errorf (0.09 sec)
-
tests/migrate_test.go
if err != nil { t.Errorf("AutoMigrate err:%v", err) } err = db.Table("objects").Create(&Object1{}).Error if err != nil { t.Errorf("create err:%v", err) } // AddColumn err = db.Table("objects").AutoMigrate(&Object2{}) if err != nil { t.Errorf("AutoMigrate err:%v", err) } err = db.Table("objects").Take(&Object2{}).Error if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
internal/crypto/sse-c.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/logger/target/http/http.go
} } } var err error if !isDirQueue { err = h.send(ctx, buf.Bytes(), count, h.payloadType, h.httpTimeout) } else { _, err = h.store.PutMultiple(entries) } if err != nil { if errors.Is(err, context.Canceled) { return } h.config.LogOnceIf( context.Background(),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
internal/bucket/replication/tag.go
Key string `xml:"Key,omitempty" json:"Key,omitempty"` Value string `xml:"Value,omitempty" json:"Value,omitempty"` } var ( errInvalidTagKey = Errorf("The TagKey you have provided is invalid") errInvalidTagValue = Errorf("The TagValue you have provided is invalid") ) func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
// Disabled State = "Disabled" only used by MFA Delete not supported yet. Suspended State = "Suspended" ) var ( errExcludedPrefixNotSupported = Errorf("excluded prefixes extension supported only when versioning is enabled") errTooManyExcludedPrefixes = Errorf("too many excluded prefixes") ) // ExcludedPrefix - holds individual prefixes excluded from being versioned. type ExcludedPrefix struct { Prefix string }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Errorf("Case: %d %#v, expected: %s, got :%s", i+1, testCase, testCase.expectedErr, err) } // Expected error returned, proceed further to validate the returned results. if err != nil && testCase.expectedErr == nil { t.Errorf("Case: %d %#v, expected: %s, got :%s", i+1, testCase, testCase.expectedErr, err) } if err == nil { if !bytes.Equal(testCase.expectedBuf, buf) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
src/arena/arena_test.go
func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 { t.Errorf("Slice() len = %d, want 99", len(ts)) } if cap(ts) != 100 { t.Errorf("Slice() cap = %d, want 100", cap(ts)) } ts[1].n = 42 } func TestSmokeLarge(t *testing.T) { a := arena.NewArena() defer a.Free() for i := 0; i < 10*64; i++ {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (0) -
cmd/utils.go
} // IsErrIgnored returns whether given error is ignored or not. func IsErrIgnored(err error, ignoredErrs ...error) bool { return IsErr(err, ignoredErrs...) } // IsErr returns whether given error is exact error. func IsErr(err error, errs ...error) bool { for _, exactErr := range errs { if errors.Is(err, exactErr) { return true } } return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
continue } responses = append(responses, resp) } token = list.ListMeta.GetContinue() if token == "" { break } } } else { // If there is a specific pod name in ResourceName, use the agent in the pod. if len(dr.ResourceNames) != 1 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
t.Errorf("Write error: got %T, want testError1", err) } if _, err := rb.TryWrite(nil); err != (testError1{}) { t.Errorf("Write error: got %T, want testError1", err) } if _, err := rb.TryWrite([]byte{1}); err != (testError1{}) { t.Errorf("Write error: got %T, want testError1", err) } if err := rb.TryWriteByte(0); err != (testError1{}) { t.Errorf("Write error: got %T, want testError1", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0)