- void store(const Position &pos, Value v, Depth d, Move m, ValueType type);
- bool retrieve(const Position &pos, Value *value, Depth *d, Move *move,
- ValueType *type) const;
- void new_search();
- void insert_pv(const Position &pos, Move pv[]);
- int full();
+
+ // The lowest order bits of the key are used to get the index of the cluster
+ TTEntry* first_entry(const Key key) const {
+ return &table[(size_t)key & (clusterCount - 1)].entry[0];
+ }