[#BloombergLP-bslalg-HashTableImpUtil-computeBucketIndex] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableImpUtil.adoc[HashTableImpUtil]::computeBucketIndex :relfileprefix: ../../../ :mrdocs: Return the index of the bucket referring to the elements whose adjusted hash codes are the same as the adjusted value of the specified `hashCode`, where `hashCode` (and the hash‐codes of the elements) are adjusted for the specified `numBuckets`. The behavior is undefined if `numBuckets` is 0. == Synopsis Declared in `<bslalg_hashtableimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t computeBucketIndex( std::size_t hashCode, std::size_t numBuckets); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#