Searched refs:kb (Results 1 – 6 of 6) sorted by relevance
189 long freeSpaceOS(String path, int os, boolean kb) throws IOException { in freeSpaceOS() argument195 return (kb ? freeSpaceWindows(path) / 1024 : freeSpaceWindows(path)); in freeSpaceOS()197 return freeSpaceUnix(path, kb, false); in freeSpaceOS()199 return freeSpaceUnix(path, kb, true); in freeSpaceOS()306 long freeSpaceUnix(String path, boolean kb, boolean posix) throws IOException { in freeSpaceUnix() argument314 if (kb) { in freeSpaceUnix()
64 BigDecimal kb = bytes.divide(new BigDecimal(1024), 2, BigDecimal.ROUND_HALF_UP); in getFileSizeString() local65 if (kb.longValue() == 0) { in getFileSizeString()68 BigDecimal mb = kb.divide(new BigDecimal(1024), 2, BigDecimal.ROUND_HALF_UP); in getFileSizeString()70 return kb.toString() + " kb"; in getFileSizeString()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...