- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 94 for 20 (0.12 sec)
-
tests/query_test.go
} } func TestLimit(t *testing.T) { users := []User{ {Name: "LimitUser1", Age: 1}, {Name: "LimitUser2", Age: 10}, {Name: "LimitUser3", Age: 20}, {Name: "LimitUser4", Age: 10}, {Name: "LimitUser5", Age: 20}, {Name: "LimitUser6", Age: 20}, } DB.Create(&users) var users1, users2, users3 []User DB.Order("age desc").Limit(3).Find(&users1).Limit(5).Find(&users2).Limit(-1).Find(&users3)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
OutputLocation OutputLocation `xml:"OutputLocation,omitempty"` } // Maximum 2MiB size per restore object request. const maxRestoreObjectRequestSize = 2 << 20 // parseRestoreRequest parses RestoreObjectRequest from xml func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) { req := RestoreObjectRequest{}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 33.1K bytes - Viewed (0) -
cmd/post-policy_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 29.6K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
objSize: 11 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20, }, want: false, }, { // 2MiB < 10MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, }, want: true, }, { // 2MiB > 1MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ LowerBound: 1 << 20, },
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 08 23:22:28 GMT 2024 - 3.3K bytes - Viewed (0) -
internal/etag/etag_test.go
}{ {String: "3b83ef96387f1465", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101}}, // 0 {String: "3b83ef96387f14655fc854ddc3c6bd57", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}}, // 1 {String: `"3b83ef96387f14655fc854ddc3c6bd57"`, ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}}, // 2
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 12.6K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
// Test case with keyMarker set to 0. (Test number 19). {bucketNames[0], "", "min", "", "", 0, listMultipartResults[6], nil, true}, // Test case with keyMarker less than 0. (Test number 20). // {bucketNames[0], "", "min", "", "", -1, listMultipartResults[7], nil, true}, // The result contains only one entry. The KeyPrefix is set to the object name in the result.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
cmd/object-handlers.go
const ( compressionAlgorithmV1 = "golang/snappy/LZ77" compressionAlgorithmV2 = "klauspost/compress/s2" // When an upload exceeds encryptBufferThreshold ... encryptBufferThreshold = 1 << 20 // add an input buffer of this size. encryptBufferSize = 1 << 20 // minCompressibleSize is the minimum size at which we enable compression. minCompressibleSize = 4096 ) // setHeadGetRespHeaders - set any requested parameters as response headers.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 20:15:54 GMT 2024 - 125.2K bytes - Viewed (0) -
cmd/scannermetric_string.go
_ = x[scannerMetricHealAbandonedObject-15] _ = x[scannerMetricLastRealtime-16] _ = x[scannerMetricScanFolder-17] _ = x[scannerMetricScanCycle-18] _ = x[scannerMetricScanBucketDrive-19] _ = x[scannerMetricCompactFolder-20] _ = x[scannerMetricLast-21] }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 25 05:15:31 GMT 2023 - 1.7K bytes - Viewed (0) -
tests/scan_test.go
Address *Address `gorm:"embedded"` } func TestScan(t *testing.T) { user1 := User{Name: "ScanUser1", Age: 1} user2 := User{Name: "ScanUser2", Age: 10} user3 := User{Name: "ScanUser3", Age: 20} DB.Save(&user1).Save(&user2).Save(&user3) type result struct { ID uint Name string Age int } var res result DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&res)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat May 28 14:18:07 GMT 2022 - 8.2K bytes - Viewed (0) -
cmd/format_string.go
_ = x[formatGzip-1] _ = x[formatZstd-2] _ = x[formatLZ4-3] _ = x[formatS2-4] _ = x[formatBZ2-5] } const _format_name = "UnknownGzipZstdLZ4S2BZ2" var _format_index = [...]uint8{0, 7, 11, 15, 18, 20, 23} func (i format) String() string { if i < 0 || i >= format(len(_format_index)-1) { return "format(" + strconv.FormatInt(int64(i), 10) + ")" } return _format_name[_format_index[i]:_format_index[i+1]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 737 bytes - Viewed (0)