31 #define IVY_PAGE_SIZE 12 // page size containing 2^IVY_PAGE_SIZE nodes
32 #define IVY_PAGE_MASK 4095 // page bitmask (2^IVY_PAGE_SIZE)-1
93 int EntrySizeMax = 128;
95 assert( p->pListFree == NULL );
102 pMemory = pMemory + EntrySizeMax - (((int)(ABC_PTRUINT_T)pMemory) & (EntrySizeMax-1));
109 *((
char **)pMemory) = pMemory +
sizeof(
Ivy_Obj_t);
112 *((
char **)pMemory) = NULL;
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
#define ABC_ALLOC(type, num)
void Ivy_ManStopMemory(Ivy_Man_t *p)
#define ABC_NAMESPACE_IMPL_END
#define IVY_PAGE_SIZE
DECLARATIONS ///.
void Ivy_ManStartMemory(Ivy_Man_t *p)
FUNCTION DEFINITIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Ivy_Man_t_ Ivy_Man_t
INCLUDES ///.
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Ivy_ManAddMemory(Ivy_Man_t *p)
struct Ivy_Obj_t_ Ivy_Obj_t
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
static void Vec_PtrFree(Vec_Ptr_t *p)