Lines Matching refs:cHashTab
260 uint32_t cHashTab;
329 pThis->cHashTab = RTSTRCACHE_INITIAL_HASH_SIZE;
330 pThis->papHashTab = (PRTSTRCACHEENTRY*)RTMemAllocZ(sizeof(pThis->papHashTab[0]) * pThis->cHashTab);
381 pThis->cHashTab = 0;
450 uint32_t iHash = uHashLen % pThis->cHashTab;
459 iHash %= pThis->cHashTab;
474 uint32_t cNew = pThis->cHashTab * RTSTRCACHE_HASH_GROW_FACTOR;
483 uint32_t iOld = pThis->cHashTab;
486 pThis->cHashTab = cNew;
781 uint32_t iHash = uHashLen % pThis->cHashTab;
824 iHash %= pThis->cHashTab;
879 if (pThis->cHashTab - pThis->cStrings < pThis->cHashTab / 2)
884 else if (pThis->cHashTab - pThis->cStrings <= pThis->cHashTab / 8) /* 12.5% full => error */
906 Assert(pThis->cStrings < pThis->cHashTab && pThis->cStrings > 0);
998 uint32_t iHash = uHashLen % pThis->cHashTab;
1007 iHash %= pThis->cHashTab;
1014 iHash = pThis->cHashTab;
1018 AssertMsgFailed(("iHash=%u cHashTab=%u\n", iHash, pThis->cHashTab));
1024 Assert(pThis->cStrings < pThis->cHashTab);