#include <mem_impl.h>
|
| | BasicRangeAllocator (void) |
| |
| | ~BasicRangeAllocator (void) |
| |
| | BasicRangeAllocator (const BasicRangeAllocator &)=default |
| |
| BasicRangeAllocator & | operator= (const BasicRangeAllocator &)=default |
| |
| | BasicRangeAllocator (BasicRangeAllocator &&) noexcept=default |
| |
| BasicRangeAllocator & | operator= (BasicRangeAllocator &&) noexcept=default |
| |
| void | swap (BasicRangeAllocator< RT, TT > &swap_with) |
| |
| void | add_range (RT first, RT last) |
| |
| bool | can_allocate (TT tag, RT size, RT alignment) |
| |
| bool | allocate (TT tag, RT size, RT alignment, RT &first) |
| |
| void | deallocate (TT tag, bool missing_ok=false) |
| |
| bool | lookup (TT tag, RT &first, RT &size) |
| |
| size_t | split_range (TT old_tag, const std::vector< TT > &new_tags, const std::vector< RT > &sizes, const std::vector< RT > &alignment, std::vector< RT > &allocs_first, bool missing_ok=false) |
| |
| MemoryStats | get_allocator_stats () |
| |
| bool | free_list_has_cycle () |
| |
| bool | has_invalid_ranges () |
| |
◆ BasicRangeAllocator() [1/3]
template<typename RT , typename TT >
◆ ~BasicRangeAllocator()
template<typename RT , typename TT >
◆ BasicRangeAllocator() [2/3]
template<typename RT , typename TT >
◆ BasicRangeAllocator() [3/3]
template<typename RT , typename TT >
◆ add_range()
template<typename RT , typename TT >
◆ alloc_range()
template<typename RT , typename TT >
◆ allocate()
template<typename RT , typename TT >
◆ can_allocate()
template<typename RT , typename TT >
◆ deallocate() [1/2]
template<typename RT , typename TT >
◆ deallocate() [2/2]
template<typename RT , typename TT >
◆ free_list_has_cycle()
template<typename RT , typename TT >
◆ free_range()
template<typename RT , typename TT >
◆ get_allocator_stats()
template<typename RT , typename TT >
◆ has_invalid_ranges()
template<typename RT , typename TT >
◆ lookup()
template<typename RT , typename TT >
◆ operator=() [1/2]
template<typename RT , typename TT >
◆ operator=() [2/2]
template<typename RT , typename TT >
◆ split_range()
template<typename RT , typename TT >
| size_t Realm::BasicRangeAllocator< RT, TT >::split_range |
( |
TT |
old_tag, |
|
|
const std::vector< TT > & |
new_tags, |
|
|
const std::vector< RT > & |
sizes, |
|
|
const std::vector< RT > & |
alignment, |
|
|
std::vector< RT > & |
allocs_first, |
|
|
bool |
missing_ok = false |
|
) |
| |
◆ swap()
template<typename RT , typename TT >
◆ allocated
template<typename RT , typename TT >
◆ first_free_range
template<typename RT , typename TT >
◆ ranges
template<typename RT , typename TT >
◆ SENTINEL
template<typename RT , typename TT >
The documentation for this class was generated from the following file:
- /home/runner/work/realm/realm/realm-src/src/realm/mem_impl.h