File tree Expand file tree Collapse file tree 3 files changed +1
-18
lines changed
Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ candirufish
4545Chess13234
4646Chris Cain (ceebo)
4747clefrks
48+ Cody Ho (aesrentai)
4849Dale Weiler (graphitemaster)
4950Daniel Axtens (daxtens)
5051Daniel Dugovic (ddugovic)
Original file line number Diff line number Diff line change @@ -186,16 +186,6 @@ inline Bitboard between_bb(Square s1, Square s2) {
186186 return BetweenBB[s1][s2];
187187}
188188
189-
190- // / forward_ranks_bb() returns a bitboard representing the squares on the ranks in
191- // / front of the given one, from the point of view of the given color. For instance,
192- // / forward_ranks_bb(BLACK, SQ_D3) will return the 16 squares on ranks 1 and 2.
193-
194- constexpr Bitboard forward_ranks_bb (Color c, Square s) {
195- return c == WHITE ? ~Rank1BB << 8 * relative_rank (WHITE, s)
196- : ~Rank8BB >> 8 * relative_rank (BLACK, s);
197- }
198-
199189// / aligned() returns true if the squares s1, s2 and s3 are aligned either on a
200190// / straight or on a diagonal line.
201191
Original file line number Diff line number Diff line change @@ -55,14 +55,6 @@ inline TimePoint now() {
5555 (std::chrono::steady_clock::now ().time_since_epoch ()).count ();
5656}
5757
58- template <class Entry , int Size>
59- struct HashTable {
60- Entry* operator [](Key key) { return &table[(uint32_t )key & (Size - 1 )]; }
61-
62- private:
63- std::vector<Entry> table = std::vector<Entry>(Size); // Allocate on the heap
64- };
65-
6658
6759enum SyncCout { IO_LOCK, IO_UNLOCK };
6860std::ostream& operator <<(std::ostream&, SyncCout);
You can’t perform that action at this time.
0 commit comments