Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bigbyte (0.1 sec)

  1. 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)
  2. 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)
  3. cmd/data-usage-cache.go

    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    		case humanize.KiByte == szInt.start && szInt.end == humanize.MiByte-1:
    			// spl interval: [1024B, 1MiB)
    			res[szInt.name] = splCount
    		case humanize.KiByte <= szInt.start && szInt.end <= humanize.MiByte-1:
    			// intervals that fall within the spl interval above; they
    			// appear earlier in this array of intervals, see
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    	// XL metadata file carries per object metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top