- Dtor
void Dtor()
Undocumented in source. Be warned that the author may not have intended to support it.
- Invariant
bool Invariant()
Undocumented in source. Be warned that the author may not have intended to support it.
- allocPages
size_t allocPages(size_t n)
Allocate n pages from Pool.
Returns OPFAIL on failure.
- clear_cache
void clear_cache(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
- findBase
void* findBase(void* p)
Find base address of block containing pointer p.
Returns null if the pointer doesn't belong to this pool
- findSize
size_t findSize(void* p)
Find size of pointer p.
Returns 0 if p doesn't belong to this pool if if it's block size is less
than a PAGE.
- freePages
void freePages(size_t pagenum, size_t npages)
Free npages pages starting with pagenum.
- initialize
void initialize(size_t npages)
Undocumented in source. Be warned that the author may not have intended to support it.
- opCmp
int opCmp(Pool other)
- update_cache
void update_cache(void* ptr, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.