Searched refs:HASHTABLE_NSLOT (Results 1 – 1 of 1) sorted by relevance
599 #define HASHTABLE_NSLOT (HASHTABLE_NPAGE*2) /* Must be a power of 2 */ macro610 sizeof(ht_slot)*HASHTABLE_NSLOT + HASHTABLE_NPAGE*sizeof(u32) \973 assert( (HASHTABLE_NSLOT & (HASHTABLE_NSLOT-1))==0 ); in walHash()974 return (iPage*HASHTABLE_HASH_1) & (HASHTABLE_NSLOT-1); in walHash()977 return (iPriorHash+1)&(HASHTABLE_NSLOT-1); in walNextHash()1098 for(i=0; i<HASHTABLE_NSLOT; i++){ in walCleanupHash()1148 assert( idx <= HASHTABLE_NSLOT/2 + 1 ); in walIndexAppend()1154 int nByte = (int)((u8*)&sLoc.aHash[HASHTABLE_NSLOT] - (u8*)sLoc.aPgno); in walIndexAppend()1185 for(i=0; i<HASHTABLE_NSLOT; i++){ if( sLoc.aHash[i] ) nEntry++; } in walIndexAppend()1503 assert( 8192 == HASHTABLE_NSLOT ); in sqlite3WalOpen()[all …]