Changeset 108 for pjproject/trunk/pjlib/src/pj/hash.c
- Timestamp:
- Jan 7, 2006 6:41:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/hash.c
r66 r108 92 92 h->count = 0; 93 93 94 PJ_LOG( 5, ("hashtbl", "hash table %p created from pool %s", h, pj_pool_getobjname(pool)));94 PJ_LOG( 6, ("hashtbl", "hash table %p created from pool %s", h, pj_pool_getobjname(pool))); 95 95 96 96 /* size must be 2^n - 1. … … 148 148 /* create a new entry */ 149 149 entry = pj_pool_alloc(pool, sizeof(pj_hash_entry)); 150 PJ_LOG( 5, ("hashtbl", "%p: New p_entry %p created, pool used=%u, cap=%u", ht, entry,150 PJ_LOG(6, ("hashtbl", "%p: New p_entry %p created, pool used=%u, cap=%u", ht, entry, 151 151 pj_pool_get_used_size(pool), pj_pool_get_capacity(pool))); 152 152 entry->next = NULL; … … 180 180 if (value == NULL) { 181 181 /* delete entry */ 182 PJ_LOG( 5, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry));182 PJ_LOG(6, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry)); 183 183 *p_entry = (*p_entry)->next; 184 184 --ht->count; … … 187 187 /* overwrite */ 188 188 (*p_entry)->value = value; 189 PJ_LOG( 5, ("hashtbl", "%p: p_entry %p value set to %p", ht, *p_entry, value));189 PJ_LOG(6, ("hashtbl", "%p: p_entry %p value set to %p", ht, *p_entry, value)); 190 190 } 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.