pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:19:      #include <errno.h>   #include <float.h>   #include <ctype.h>   #include <math.h>      #ifndef HUGE   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.112 2000/12/05 21:08:22 per Exp $"); + RCSID("$Id: stralloc.c,v 1.113 2000/12/18 23:59:10 grubba Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3      /* Experimental dynamic hash length */   #ifndef HASH_PREFIX   static unsigned int HASH_PREFIX=64;   static unsigned int need_more_hash_prefix=0;   #endif   
pike.git/src/stralloc.c:1699:    base_table[e]=0;    }    free((char *)base_table);    base_table=0;    num_strings=0;      #ifdef DEBUG_MALLOC    free_all_short_pike_string0_blocks();    free_all_short_pike_string1_blocks();    free_all_short_pike_string2_blocks(); - #endif DEBUG_MALLOC + #endif /* DEBUG_MALLOC */   }      void count_memory_in_strings(INT32 *num, INT32 *size)   {    unsigned INT32 e, num_=0, size_=0;    if(!base_table)    {    *num=*size=0;    return;    }