memutils ~master (2021-01-03T18:41:41Z)
Dub
Repo
Allocator
memutils
allocators
Undocumented in source.
interface
Allocator {
enum
size_t
alignment
;
enum
size_t
alignmentMask
;
void
[]
alloc
(size_t sz);
void
[]
realloc
(void[] mem, size_t new_sz);
void
free
(void[] mem);
}
Members
Functions
alloc
void
[]
alloc
(size_t sz)
Undocumented in source.
free
void
free
(void[] mem)
Undocumented in source.
realloc
void
[]
realloc
(void[] mem, size_t new_sz)
Undocumented in source.
Variables
alignment
enum
size_t
alignment
;
Undocumented in source.
alignmentMask
enum
size_t
alignmentMask
;
Undocumented in source.
Meta
Source
See Implementation
memutils
allocators
aliases
CryptoSafeAllocator
LocklessAllocator
ProxyGCAllocator
functions
adjustPointerAlignment
alignedSize
ensureValidMemory
extractUnalignedPointer
getAllocator
interfaces
Allocator
static variables
mtx
templates
AllocSize
RefTypeOf