Assorted tweaks from DON

Mainly renames and some little code style improvment,
inspired by looking at DON sources:

https://github.com/erashid/DON

No functional change.
This commit is contained in:
Marco Costalba
2014-02-09 17:31:45 +01:00
parent 2f5aaf7de6
commit 41641e3b1e
16 changed files with 87 additions and 88 deletions

View File

@@ -26,11 +26,11 @@
TranspositionTable TT; // Our global transposition table
/// TranspositionTable::set_size() sets the size of the transposition table,
/// TranspositionTable::resize() sets the size of the transposition table,
/// measured in megabytes. Transposition table consists of a power of 2 number
/// of clusters and each cluster consists of ClusterSize number of TTEntry.
void TranspositionTable::set_size(uint64_t mbSize) {
void TranspositionTable::resize(uint64_t mbSize) {
assert(msb((mbSize << 20) / sizeof(TTEntry)) < 32);