Skip to main content

Module util

Module util 

Source

Functionsยง

size_fit_natural
Given a size in bytes, return the size in bytes of the naturally-aligned structure required to cover the size.
size_fit_page
Given a size in bytes, return the size in bytes of the total full pages required to cover the size.