! \brief Construct the number of blocks in the hash table */
| 908 | } |
| 909 | /*! \brief Construct the number of blocks in the hash table */ |
| 910 | static uint64_t CalcNumBlocks(uint64_t n_slots) { return (n_slots + kBlockCap - 1) / kBlockCap; } |
| 911 | /*! |
| 912 | * \brief Calculate the power-of-2 table size given the lower-bound of required capacity. |
| 913 | * \param cap The lower-bound of the required capacity |
nothing calls this directly
no outgoing calls
no test coverage detected