- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 511 for int64 (0.07 sec)
-
tests/soft_delete_test.go
"testing" "github.com/jinzhu/now" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestSoftDelete(t *testing.T) { user := *GetUser("SoftDelete", Config{}) DB.Save(&user) var count int64 var age uint if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 { t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
cmd/copy-part-range.go
// copy object part. This API requires having specific start and end range values // e.g. 'bytes=3-10'. Other use cases will be rejected. func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) { if rs == nil { return nil } if rs.IsSuffixLength || rs.Start >= resourceSize || rs.End >= resourceSize { return errInvalidRangeSource } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
cmd/object-api-interface.go
CopyObjectPart(ctx context.Context, srcBucket, srcObject, destBucket, destObject string, uploadID string, partID int, startOffset int64, length int64, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (info PartInfo, err error) PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions) (info PartInfo, err error)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
internal/config/identity/openid/jwks.go
if err != nil { return nil, errMalformedJWKRSAKey } var n, e big.Int n.SetBytes(nbuf) e.SetBytes(ebuf) return &rsa.PublicKey{ E: int(e.Int64()), N: &n, }, nil case "EC": if key.Crv == "" || key.X == "" || key.Y == "" { return nil, errMalformedJWKECKey } var curve elliptic.Curve switch key.Crv { case "P-224":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 02 23:02:35 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/s3select/select_test.go
} func newBytesRSC(b []byte) io.ReadSeekCloser { r := bytes.NewReader(b) segmentReader := func(offset int64) (io.ReadCloser, error) { _, err := r.Seek(offset, io.SeekStart) if err != nil { return nil, err } return io.NopCloser(r), nil } return NewObjectReadSeekCloser(segmentReader, int64(len(b))) } type testResponseWriter struct { statusCode int response []byte }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
src/bytes/buffer.go
// buffer becomes too large, ReadFrom will panic with [ErrTooLarge]. func (b *Buffer) ReadFrom(r io.Reader) (n int64, err error) { b.lastRead = opInvalid for { i := b.grow(MinRead) b.buf = b.buf[:i] m, e := r.Read(b.buf[i:cap(b.buf)]) if m < 0 { panic(errNegativeRead) } b.buf = b.buf[:i+m] n += int64(m) if e == io.EOF { return n, nil // e is EOF, so return nil explicitly } if e != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
internal/event/event.go
OwnerIdentity Identity `json:"ownerIdentity"` ARN string `json:"arn"` } // Object represents object metadata of the event. type Object struct { Key string `json:"key"` Size int64 `json:"size,omitempty"` ETag string `json:"eTag,omitempty"` ContentType string `json:"contentType,omitempty"` UserMetadata map[string]string `json:"userMetadata,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 3.4K bytes - Viewed (0) -
cmd/xl-storage.go
return dataUsageInfo, nil } func (s *xlStorage) getDeleteAttribute() uint64 { attr := "user.total_deletes" buf, err := xattr.LGet(s.formatFile, attr) if err != nil { // We start off with '0' if we can read the attributes return 0 } return binary.LittleEndian.Uint64(buf[:8]) } func (s *xlStorage) getWriteAttribute() uint64 { attr := "user.total_writes" buf, err := xattr.LGet(s.formatFile, attr)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1/generated.proto
// Data is the serialized representation of the state. optional k8s.io.apimachinery.pkg.runtime.RawExtension data = 2; // Revision indicates the revision of the state represented by Data. optional int64 revision = 3; } // ControllerRevisionList is a resource containing a list of ControllerRevision objects. message ControllerRevisionList {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 34.5K bytes - Viewed (0) -
api/go1.21.txt
pkg log/slog, method (Value) Int64() int64 #56345 pkg log/slog, method (Value) Kind() Kind #56345 pkg log/slog, method (Value) LogValuer() LogValuer #56345 pkg log/slog, method (Value) Resolve() Value #56345 pkg log/slog, method (Value) String() string #56345 pkg log/slog, method (Value) Time() time.Time #56345 pkg log/slog, method (Value) Uint64() uint64 #56345 pkg log/slog, type Attr struct #56345
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0)