Searched defs:hashShift (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A Dpldhash.c242 table->hashShift = PL_DHASH_BITS - log2;
384 int hashShift, sizeLog2; local
393 hashShift = table->hashShift;
394 hash1 = HASH1(keyHash, hashShift);
411 sizeLog2 = PL_DHASH_BITS - table->hashShift;
412 hash2 = HASH2(keyHash, sizeLog2, hashShift);
472 oldLog2 = PL_DHASH_BITS - table->hashShift;
486 table->hashShift = PL_DHASH_BITS - newLog2;
711 - (PL_DHASH_BITS - table->hashShift));
724 int hashShift, sizeLog2; local
[all...]
H A Dpldhash.h218 PRInt16 hashShift; /* multiplicative hash shift */ member in struct:PLDHashTable
251 * We store hashShift rather than sizeLog2 to optimize the collision-free case
254 #define PL_DHASH_TABLE_SIZE(table) PR_BIT(PL_DHASH_BITS - (table)->hashShift)

Completed in 45 milliseconds