|
| template<typename T > |
| constexpr T | max (T a, T b) |
| |
| template<typename T > |
| constexpr T | min (T a, T b) |
| |
| template<typename T > |
| constexpr T | mask (T value, uintptr_t mask) |
| |
| template<typename T > |
| constexpr bool | test (T value, uintptr_t mask) |
| |
| constexpr bool | isPowerOfTwo (size_t size) |
| |
| template<typename T > |
| T | roundUpToMultipleOf (size_t divisor, T x) |
| |
| template<size_t divisor, typename T > |
| constexpr T | roundUpToMultipleOf (T x) |
| |
| template<typename T > |
| T | roundDownToMultipleOf (size_t divisor, T x) |
| |
| template<size_t divisor, typename T > |
| constexpr T | roundDownToMultipleOf (T x) |
| |
| template<typename T > |
| void | divideRoundingUp (T numerator, T denominator, T "ient, T &remainder) |
| |
| template<typename T > |
| T | divideRoundingUp (T numerator, T denominator) |
| |
| template<typename T > |
| T | roundUpToMultipleOfNonPowerOfTwo (size_t divisor, T x) |
| |
| template<typename T > |
| constexpr size_t | sizeOf () |
| |
| template<typename T > |
| constexpr size_t | bitCount () |
| |
| constexpr unsigned long | log2 (unsigned long value) |
| |
| bool | canMerge (const LargeRange &a, const LargeRange &b) |
| |
| LargeRange | merge (const LargeRange &a, const LargeRange &b) |
| |
| void | logVMFailure () |
| |
| void | reportAssertionFailureWithMessage (const char *file, int line, const char *function, const char *format,...) BATTRIBUTE_PRINTF(4 |
| |
| ObjectType | objectType (void *) |
| |
| bool | mightBeLarge (void *object) |
| |
| bool | canMerge (const Range &a, const Range &b) |
| |
| Range | merge (const Range &a, const Range &b) |
| |
| size_t | vmPageSize () |
| |
| size_t | vmPageShift () |
| |
| size_t | vmSize (size_t size) |
| |
| void | vmValidate (size_t vmSize) |
| |
| void | vmValidate (void *p, size_t vmSize) |
| |
| size_t | vmPageSizePhysical () |
| |
| void | vmValidatePhysical (size_t vmSize) |
| |
| void | vmValidatePhysical (void *p, size_t vmSize) |
| |
| void * | tryVMAllocate (size_t vmSize) |
| |
| void * | vmAllocate (size_t vmSize) |
| |
| void | vmDeallocate (void *p, size_t vmSize) |
| |
| void | vmRevokePermissions (void *p, size_t vmSize) |
| |
| void * | tryVMAllocate (size_t vmAlignment, size_t vmSize) |
| |
| void * | vmAllocate (size_t vmAlignment, size_t vmSize) |
| |
| void | vmDeallocatePhysicalPages (void *p, size_t vmSize) |
| |
| void | vmAllocatePhysicalPages (void *p, size_t vmSize) |
| |
| void | vmDeallocatePhysicalPagesSloppy (void *p, size_t size) |
| |
| void | vmAllocatePhysicalPagesSloppy (void *p, size_t size) |
| |
| template<typename ExitFunction > |
| ScopeExit< ExitFunction > | makeScopeExit (ExitFunction &&exitFunction) |
| |