DOKK / manpages / debian 11 / libsc-doc / sc_Pool.3.en
sc::Pool(3) MPQC sc::Pool(3)

sc::Pool


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 ()


enum { freelist_size = sizeof(size_t)*8 }


PoolData * voidptr_to_pd (void *d)
int freelist_find_slot (size_t)
void freelist_add (PoolData *)
void freelist_del (PoolData *)


PoolData * freelist_ [freelist_size]
size_t size_
PoolData * firstdatum_

Generated automatically by Doxygen for MPQC from the source code.

Sun Oct 4 2020 Version 2.3.1