-void TranspositionTable::store(const Key key, Value v, Bound t, Depth d, Move m, Value statV, Value kingD) {
-
- int c1, c2, c3;
- TTEntry *tte, *replace;
- uint32_t key32 = key >> 32; // Use the high 32 bits as key inside the cluster
-
- tte = replace = first_entry(key);
-
- for (unsigned i = 0; i < ClusterSize; i++, tte++)
- {
- if (!tte->key() || tte->key() == key32) // Empty or overwrite old