__gnu_cxx::free_list(3cxx)
π NAME π
okay so bestie, this is the __gnu_cxx::free_list(3cxx) page β and it is literally the free list class for managing chunks of memory to be given to and returned by the bitmap_allocator. no cap π«Ά
πΈ SYNOPSIS πΈ
#include <bitmap_allocator.h>
Inherited by __gnu_cxx::bitmap_allocator< _Tp > [private].
π Public Types π
typedef __mutex __mutex_typeβ the mutex type it rolls with, periodt.typedef vector_type::iterator iteratorβ iterator type, coming straight fromvector_type.typedef std::size_t * value_typeβ the value type isstd::size_t *, a pointer tostd::size_t, slay.typedef __detail::__mini_vector< value_type > vector_typeβ the vector type is__detail::__mini_vector< value_type >, iconic.
π Public Member Functions π
void _M_clear ()β this function just clears the internal Free List, and gives back all the memory to the OS. clean sweep vibes πstd::size_t * _M_get (std::size_t __sz)β this function gets a block of memory of the specified size from the free list.void _M_insert (std::size_t *__addr) throw ()β this function returns the block of memory to the internal free list.
π¦ Detailed Description π¦
the free list class for managing chunks of memory to be given to and returned by the bitmap_allocator. thatβs the whole main character energy of this class, fr fr.
π Member Function Documentation π
π void __gnu_cxx::free_list::_M_clear () π
this function just clears the internal Free List, and gives back all the memory to the OS. literally releasing it back into the wild π
π std::size_t * __gnu_cxx::free_list::_M_get (std::size_t __sz) π
this function gets a block of memory of the specified size from the free list.
Parameters
__szβ the size in bytes of the memory required.
Returns
a pointer to the new memory block of size at least equal to that requested. yes bestie, at least that size π
π void __gnu_cxx::free_list::_M_insert (std::size_t * __addr) [inline] π
this function returns the block of memory to the internal free list.
Parameters
__addrβ the pointer to the memory block that was given by a call to the_M_getfunction.
Referenced by __gnu_cxx::bitmap_allocator< _Tp >::_M_deallocate_single_object().
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
thatβs the whole page, brought to you by libstdc++ and __gnu_cxx::free_list(3cxx) β mwah πβ¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms