Searched defs:BlockAllocator (Results 1 – 1 of 1) sorted by relevance
57 struct BlockAllocator { struct58 BlockAllocator(size_t block_size, size_t isolation_threshold) in BlockAllocator() argument66 ~BlockAllocator() { reset(); } in ~BlockAllocator() argument68 BlockAllocator(BlockAllocator &&other) noexcept in BlockAllocator() argument86 BlockAllocator &operator=(const BlockAllocator &) = delete; argument88 void reset() { in reset()99 MemBlock *alloc_mem_block(size_t size) { in alloc_mem_block()110 void *alloc(size_t size) { in alloc()139 size_t get_alloc_length(void *ptr) { in get_alloc_length()151 void *realloc(void *ptr, size_t size) { in realloc()[all …]