Home | History | Annotate | Download | only in callgrind

Lines Matching refs:hash

106             new_idx = (UInt) (curr->hash % new_size);
123 CLG_DEBUG(0, "Resize Context Hash: %d => %d (entries %d, conflicts %d/%d)\n",
135 UWord hash = 0;
138 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
143 return hash;
147 static Bool is_cxt(UWord hash, fn_node** fn, Context* cxt)
152 if (hash != cxt->hash) return False;
172 UWord hash;
184 /* check fill degree of context hash table and resize if needed (>80%) */
192 // hash value calculation similar to cxt_hash_val(), but additionally
194 hash = 0;
197 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
207 cxt->hash = hash;
212 /* insert into Context hash table */
213 idx = (UInt) (hash % cxts.size);
232 UWord hash;
242 hash = cxt_hash_val(fn, size);
244 if ( ((cxt = (*fn)->last_cxt) != 0) && is_cxt(hash, fn, cxt)) {
251 idx = (UInt) (hash % cxts.size);
255 if (is_cxt(hash,fn,cxt)) break;