Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for bigbyte (0.1 sec)

  1. cmd/object-api-putobject_test.go

    }
    
    // BenchmarkPutObject100KbErasure - Benchmark Erasure.PutObject() for object size of 100KB.
    func BenchmarkPutObject100KbErasure(b *testing.B) {
    	benchmarkPutObject(b, "Erasure", 100*humanize.KiByte)
    }
    
    // BenchmarkPutObject1MbFS - Benchmark FS.PutObject() for object size of 1MB.
    func BenchmarkPutObject1MbFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 1*humanize.MiByte)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	{"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
    	{"BETWEEN_1_MB_AND_10_MB", humanize.MiByte, humanize.MiByte*10 - 1},
    	{"BETWEEN_10_MB_AND_64_MB", humanize.MiByte * 10, humanize.MiByte*64 - 1},
    	{"BETWEEN_64_MB_AND_128_MB", humanize.MiByte * 64, humanize.MiByte*128 - 1},
    	{"BETWEEN_128_MB_AND_512_MB", humanize.MiByte * 128, humanize.MiByte*512 - 1},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/filter_test.go

    			objSize: 101 * humanize.MiByte,
    			want:    false,
    		},
    		{
    			filter:  fiLt,
    			objSize: 99 * humanize.MiByte,
    			want:    true,
    		},
    		{
    			filter:  fiGt,
    			objSize: 1*humanize.MiByte - 1,
    			want:    false,
    		},
    		{
    			filter:  fiGt,
    			objSize: 1*humanize.MiByte + 1,
    			want:    true,
    		},
    		{
    			filter:  fiLtAndGt,
    			objSize: 1*humanize.MiByte - 1,
    			want:    false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		name     string
    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    		{"10MiB", 10 * humanize.MiByte},
    		{"5MiB-1KiB", 5*humanize.MiByte - 1*humanize.KiByte},
    		{"10MiB-1Kib", 10*humanize.MiByte - 1*humanize.KiByte},
    	}
    
    	for _, test := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            long _999_bytes = 999L;
            assertEquals("999 B", format.format(_999_bytes));
            assertEquals("999 B", format.format(_999_bytes, ScaleUnit.BYTE));
            assertEquals("1.0 kB", format.format(_999_bytes, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(_999_bytes, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(_999_bytes, ScaleUnit.GIGABYTE));
    
            long _1000_bytes = 1000L;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil.go

    	"github.com/minio/minio/internal/disk"
    )
    
    // Block sizes constant.
    const (
    	SmallBlock  = 32 * humanize.KiByte  // Default r/w block size for smaller objects.
    	MediumBlock = 128 * humanize.KiByte // Default r/w block size for medium sized objects.
    	LargeBlock  = 1 * humanize.MiByte   // Default r/w block size for normal objects.
    )
    
    // aligned sync.Pool's
    var (
    	ODirectPoolLarge = sync.Pool{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    	}
    
    	testCases := []struct {
    		offset         int64
    		expectedIndex  int
    		expectedOffset int64
    		expectedErr    error
    	}{
    		{0, 0, 0, nil},
    		{1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil},
    		{1 + humanize.MiByte, 1, 0, nil},
    		{2 + humanize.MiByte, 1, 1, nil},
    		// Its valid for zero sized object.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format_test.go

    		// part size 2MiB, total size 4MiB
    		{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},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                if (size < 0L) {
                    throw new IllegalArgumentException("file size cannot be negative: " + size);
                }
    
                if (size >= GIGABYTE.bytes()) {
                    return GIGABYTE;
                } else if (size >= MEGABYTE.bytes()) {
                    return MEGABYTE;
                } else if (size >= KILOBYTE.bytes()) {
                    return KILOBYTE;
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    				fmt.Sprintf("bytes=%d-%d", 0, 100*humanize.MiByte),
    				// Read 100MiB of the object from the end
    				fmt.Sprintf("bytes=-%d", 100*humanize.MiByte),
    			}
    			for _, rangeHdr := range rangeHdrs {
    				mkGetReq(oi, rangeHdr, caseNumber, sf)
    				caseNumber++
    			}
    		}
    
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top