- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for KiByte (0.05 sec)
-
cmd/benchmark-utils_test.go
object := getRandomObjectName() // create bucket. err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) } objSize := 128 * humanize.MiByte // PutObjectPart returns etag of the object inserted. // etag variable is assigned with that value. var etag string // get text data generated for number of bytes equal to object size.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/utils.go
// use cases where users are going to upload large files // using 'curl' and presigned URL. globalMaxObjectSize = 5 * humanize.TiByte // Minimum Part size for multipart upload is 5MiB globalMinPartSize = 5 * humanize.MiByte // Maximum Part ID for multipart upload is 10000 // (Acceptable values range from 1 to 10000 inclusive) globalMaxPartID = 10000 )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 33K bytes - Viewed (0) -
cmd/server-main.go
Hidden: true, EnvVar: "MINIO_MEMLIMIT", }, cli.IntFlag{ Name: "send-buf-size", Value: 4 * humanize.MiByte, EnvVar: "MINIO_SEND_BUF_SIZE", Hidden: true, }, cli.IntFlag{ Name: "recv-buf-size", Value: 4 * humanize.MiByte, EnvVar: "MINIO_RECV_BUF_SIZE", Hidden: true, }, cli.StringFlag{ Name: "log-dir",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
cmd/erasure-encode_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
cmd/erasure-object_test.go
if err != nil { t.Fatal(err) } fiveMBBytes := bytes.Repeat([]byte("a"), 5*humanize.MiByte) md5Hex := getMD5Hash(fiveMBBytes) _, err = objLayer.PutObjectPart(ctx, "bucket1", "mpartObj1", res.UploadID, 1, mustGetPutObjReader(t, bytes.NewReader(fiveMBBytes), 5*humanize.MiByte, md5Hex, ""), opts) if err != nil { t.Fatal(err) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
cmd/handler-api.go
if err != nil { // The kernel can return valid but non integer values // but still, no need to interpret more return 0 } if limit >= 100*humanize.TiByte { // No limit set, or unreasonably high. Ignore return 0 } return limit } func availableMemory() (available uint64) { available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/post-policy_test.go
malformedBody: false, ignoreContentLength: false, }, // Failed with entity too large. { objectName: "test", data: bytes.Repeat([]byte("a"), (1*humanize.MiByte)+1), expectedRespStatus: http.StatusBadRequest, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, malformedBody: false, ignoreContentLength: false, },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.6K bytes - Viewed (0) -
cmd/generic-handlers.go
) const ( // Maximum allowed form data field values. 64MiB is a guessed practical value // which is more than enough to accommodate any form data fields and headers. requestFormDataSize = 64 * humanize.MiByte // For any HTTP request, request body should be not more than 16GiB + requestFormDataSize // where, 16GiB is the maximum allowed object size for object upload. requestMaxBodySize = globalMaxObjectSize + requestFormDataSize
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
cmd/object_api_suite_test.go
if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } uploadID := res.UploadID // Create a byte array of 5MiB. data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16) completedParts := CompleteMultipartUpload{} for i := 1; i <= 10; i++ { expectedETaghex := getMD5Hash(data) var calcPartInfo PartInfoRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
cmd/batch-handlers.go
ctx := r.Context() objectAPI, creds := validateAdminReq(ctx, w, r, policy.StartBatchJobAction) if objectAPI == nil { return } buf, err := io.ReadAll(xioutil.HardLimitReader(r.Body, humanize.MiByte*4)) if err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } user := creds.AccessKey if creds.ParentUser != "" { user = creds.ParentUser }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0)