Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scaledSize (0.09 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            }
    
            double scaledSize = (double) size / unit.bytes();
    
            if (unit == ScaleUnit.BYTE) {
                builder.append(size);
            } else if (scaledSize < 0.05d || scaledSize >= 10.0d) {
                builder.append(Math.round(scaledSize));
            } else {
                builder.append(Math.round(scaledSize * 10d) / 10d);
            }
    
            if (!omitSymbol) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top