gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <robin_hood.h>
Public Member Functions | |
BulkPoolAllocator () noexcept=default | |
BulkPoolAllocator (const BulkPoolAllocator &ROBIN_HOOD_UNUSED(o)) noexcept | |
BulkPoolAllocator (BulkPoolAllocator &&o) noexcept | |
BulkPoolAllocator & | operator= (BulkPoolAllocator &&o) noexcept |
BulkPoolAllocator & | operator= (const BulkPoolAllocator &ROBIN_HOOD_UNUSED(o)) noexcept |
~BulkPoolAllocator () noexcept | |
void | reset () noexcept |
T * | allocate () |
void | deallocate (T *obj) noexcept |
void | addOrFree (void *ptr, const size_t numBytes) noexcept |
void | swap (BulkPoolAllocator< T, MinNumAllocs, MaxNumAllocs > &other) noexcept |
Private Member Functions | |
ROBIN_HOOD (NODISCARD) size_t calcNumElementsToAlloc() const noexcept | |
void | add (void *ptr, const size_t numBytes) noexcept |
ROBIN_HOOD (NOINLINE) T *performAllocation() | |
Private Attributes | |
T * | mHead {nullptr} |
T ** | mListForFree {nullptr} |
Static Private Attributes | |
static const size_t | ALIGNMENT |
static constexpr size_t | ALIGNED_SIZE = ((sizeof(T) - 1) / ALIGNMENT + 1) * ALIGNMENT |
Definition at line 367 of file robin_hood.h.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 372 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 376 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 399 of file robin_hood.h.
|
inlineprivatenoexcept |
Definition at line 476 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::addOrFree(), and robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::ROBIN_HOOD().
|
inlinenoexcept |
Definition at line 439 of file robin_hood.h.
|
inline |
Definition at line 417 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 431 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 383 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 394 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 404 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::operator=(), and robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::~BulkPoolAllocator().
|
inlineprivatenoexcept |
Definition at line 462 of file robin_hood.h.
|
inlineprivate |
Definition at line 506 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 451 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::swap().
|
staticconstexprprivate |
|
staticprivate |
Definition at line 522 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::add(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::addOrFree(), and robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::ROBIN_HOOD().
|
private |
Definition at line 536 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::add(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::allocate(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::deallocate(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::operator=(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::reset(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::ROBIN_HOOD(), and robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::swap().
|
private |
Definition at line 537 of file robin_hood.h.
Referenced by robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::add(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::operator=(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::reset(), robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::ROBIN_HOOD(), and robin_hood::detail::BulkPoolAllocator< T, MinSize, MaxSize >::swap().