Fennel: LhxHashNodeAccessor Class Reference (original) (raw)
Returns:
the next node
Definition at line 1071 of file LhxHashTable.h.
References nextNodeOffset, and nodePtr.
Referenced by LhxHashTableReader::advanceData(), LhxHashTableReader::advanceKey(), LhxHashTableReader::advanceSlot(), LhxHashTable::aggData(), LhxHashTable::allocateResources(), LhxHashTable::allocBuffer(), LhxHashTable::findKeyLocation(), and LhxHashTable::printSlot().
01072 { 01073 // REVIEW jvs 25-Aug-2006: Under what circumstances would 01074 // alignment be off? Tuple sizes are always aligned. Is it 01075 // because of the match indicator? If so, it might make sense to 01076 // fold that into the tuple. 01077 /* 01078 * nodePtr+nextNodeOffset might not be aligned so copy the pointer 01079 * value out. 01080 */ 01081 PBuffer returnPtr; 01082 memcpy((PBuffer)&returnPtr, nodePtr+nextNodeOffset, sizeof(PBuffer)); 01083 return returnPtr; 01084 }