X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=4ca344123e5f070ec0a7c687d8cc45fbd05ddd67;hp=f39d37dd4e664b3e865d7baa592fb20540eaae3e;hb=c2c0ba875f429e497c936b61be9f75dcc88385a9;hpb=61f41a057dd84a38e5cc9c58b37a30bfa00e253a;ds=sidebyside diff --git a/src/tt.h b/src/tt.h index f39d37dd..4ca34412 100644 --- a/src/tt.h +++ b/src/tt.h @@ -6,12 +6,12 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + Glaurung is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -47,7 +47,7 @@ public: ValueType type() const; int generation() const; -private: +private: Key key_; uint32_t data; int16_t value_; @@ -74,6 +74,8 @@ public: int full(); private: + TTEntry* first_entry(const Position &pos) const; + unsigned size; int writes; TTEntry* entries;