Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,197
edits
(Created page with "local p = {} local TITLE_ALIGN_SIZE = 0x8000 function roundup(num, align) return math.ceil(num / align) * align end function p.raw_blocks_to_bytes(blocks) return blocks * 128 * 1024 end function p.raw_blocks_to_kilobytes(blocks) return blocks * 128 end function p.raw_blocks_to_megabytes(blocks) return blocks / 8 end function p.raw_bytes_to_blocks(bytes) return bytes / 1024 / 128 end function p.roundup_all_sizes_to_bytes(sizes) total = 0 for i, v in ipairs(s...") |
(No difference)
|