- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for KB (0.39 sec)
-
src/main/java/org/codelibs/fess/util/MemoryUtil.java
} else if (size.divide(ONE_KB_BI).compareTo(BigInteger.ZERO) > 0) { displaySize = new BigDecimal(size).divide(BigDecimal.valueOf(1000)) + "KB"; } else { displaySize = size + "bytes"; } return displaySize; } public static long getUsedMemory() { final Runtime runtime = Runtime.getRuntime();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/assemblies/files/service.bat
if "%unit%" == "m" goto mega if "%unit%" == "M" goto mega if "%unit%" == "g" goto giga if "%unit%" == "G" goto giga rem no unit found, must be bytes; consider the whole value set conv=%value% rem convert to KB set /a conv=%conv% / 1024 :kilo rem convert to MB set /a conv=%conv% / 1024 goto mega :giga rem convert to MB set /a conv=%conv% * 1024 :mega set "%~2=%conv%" goto:eof
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 6K bytes - Viewed (0)