Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 5MiB (0.02 sec)

  1. cmd/xl-storage-format_test.go

    		{4 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 3, 0},
    		// part size 2MiB, total size 5MiB
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 3, 1 * humanize.MiByte},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. cmd/erasure-decode_test.go

    	}
    	disks := setup.disks
    	erasure, err := NewErasure(context.Background(), dataBlocks, parityBlocks, blockSize)
    	if err != nil {
    		t.Fatalf("failed to create ErasureStorage: %v", err)
    	}
    	// Prepare a slice of 5MiB with random data.
    	data := make([]byte, 5*humanize.MiByte)
    	length := int64(len(data))
    	_, err = rand.Read(data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	writers := make([]io.Writer, len(disks))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    	}
    	res, err := obj.NewMultipartUpload(context.Background(), "bucket", "key", opts)
    	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 PartInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top