Searched refs:hash_sz (Results 1 – 1 of 1) sorted by relevance
225 int hash_sz; variable239 hash_sz = HASH_SIZE; in HashMap()240 hashTable = new Hash_t*[hash_sz]; in HashMap()241 for (int i = 0; i < hash_sz; i++) in HashMap()252 for (int i = 0; i < hash_sz; i++) in clear()269 int old_hash_sz = hash_sz; in resize()270 hash_sz = old_hash_sz * 2 + 1; in resize()272 hashTable = new Hash_t*[hash_sz]; in resize()273 for (int i = 0; i < hash_sz; i++) in resize()402 if (nelem == hash_sz) in put()[all …]