134 if ( nEntrySize * (1 << 10) < (1<<16) )
163 printf(
"Fixed memory manager: Entry = %5d. Chunk = %5d. Chunks used = %5d.\n",
165 printf(
" Entries used = %8d. Entries peak = %8d. Memory used = %8d. Memory alloc = %8d.\n",
185 for ( i = 0; i < p->
nChunks; i++ )
226 *((
char **)pTemp) = NULL;
279 for ( i = 1; i < p->
nChunks; i++ )
290 *((
char **)pTemp) = NULL;
378 printf(
"Flexible memory manager: Chunk size = %d. Chunks used = %d.\n",
380 printf(
" Entries used = %d. Memory used = %d. Memory alloc = %d.\n",
401 for ( i = 0; i < p->
nChunks; i++ )
501 for ( i = 0; i < p->
nMems; i++ )
507 for ( k = 1; k <= 4; k++ )
510 for ( k = (4<<i)+1; k <= (8<<i); k++ )
531 for ( i = 0; i < p->
nMems; i++ )
613 int i, nMemTotal = 0;
614 for ( i = 0; i < p->
nMems; i++ )
#define ABC_REALLOC(type, obj, num)
#define ABC_ALLOC(type, num)
for(p=first;p->value< newval;p=p->next)
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START