Lines Matching refs:hash
728 void rehash_bucket( bucket *b_new, const hashcode_type hash ) { in __TBB_requires()
729 __TBB_ASSERT( hash > 1, "The lowermost buckets can't be rehashed" ); in __TBB_requires()
731 …hashcode_type mask = (hashcode_type(1) << tbb::detail::log2(hash)) - 1; // get parent mask from th… in __TBB_requires()
732 bucket_accessor b_old( this, hash & mask ); in __TBB_requires()
735 __TBB_ASSERT( (mask&(mask+1))==0 && (hash & mask) == hash, nullptr ); in __TBB_requires()
740 … hashcode_type curr_node_hash = my_hash_compare.hash(static_cast<node*>(curr)->value().first); in __TBB_requires()
742 if ((curr_node_hash & mask) == hash) { in __TBB_requires()
984 … hashcode_type curr_node_hash = my_hash_compare.hash(static_cast<node*>(curr)->value().first); in __TBB_requires()
1278 hashcode_type const h = my_hash_compare.hash( key ); in __TBB_requires()
1384 hashcode_type const hash = item_accessor.my_hash; in __TBB_requires() local
1388 bucket_accessor b( this, hash & mask, /*writer=*/true ); in __TBB_requires()
1398 if (this->check_mask_race(hash, mask)) in __TBB_requires()
1426 hashcode_type const hash = my_hash_compare.hash(key); in __TBB_requires() local
1431 bucket_accessor b( this, hash & mask ); in __TBB_requires()
1441 if (this->check_mask_race(hash, mask)) in __TBB_requires()
1445 if (this->check_mask_race(hash, mask)) // contended upgrade, check mask in __TBB_requires()
1469 hashcode_type h = my_hash_compare.hash( key ); in __TBB_requires()
1515 hashcode_type h = my_hash_compare.hash( (*first).first ); in __TBB_requires()
1574 hashcode_type h = my_hash_compare.hash( key ); in __TBB_requires()