sc::Pool(3)
πΈ NAME πΈ
sc::Pool β bestie, it's a whole class, and it's giving memory pool realness π
β¨ SYNOPSIS β¨
okay so here's the whole entire vibe of the class, no notes, no skips:
π«Ά Public Member Functions
Pool (size_t)
size_t size ()
void * allocate (size_t size)
void release (void *d)
double * allocate_double (size_t n)
void release (double *d)
int * allocate_int (size_t n)
void release (int *d)
void print (std::ostream &o=ExEnv::out0())
void check ()
like. she does it all. she allocates, she releases, she prints, she checks. main character energy fr fr π
π Protected Types
enum { freelist_size = sizeof(size_t)*8 }
a little enum, tucked away in protected-land, being iconic and doing math with sizeof(size_t)*8 β¨
π Protected Member Functions
PoolData * voidptr_to_pd (void *d)
int freelist_find_slot (size_t)
void freelist_add (PoolData *)
void freelist_del (PoolData *)
these are the backstage girlies β not for public consumption, just keeping the freelist behaving π§
π Protected Attributes
PoolData * freelist_ [freelist_size]
size_t size_
PoolData * firstdatum_
the ~internals~. freelist_ is an array sized freelist_size, plus size_ and firstdatum_ holding it down π
π Author
Generated automatically by Doxygen for MPQC from the source code. so basically the docs wrote themselves, which is honestly so real of them π
ngl bestie, the entire manual name here is sc::Pool(3), straight out of the Library Functions Manual β section 3, we love a library function moment π¦
and that's a wrap π this came from MPQC, Version 2.3.1, and yes the footer said sc::Pool(3) right back at us. slay, periodt, stay hydrated πβ¨
π¦ where this page comes from
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 44: mpqc-devel 2.3.1-67.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 44: mpqc-devel 2.3.1-67.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms