| 1282 | modifiers[mod] += modified; |
| 1283 | } |
| 1284 | static inline uint16_t hash_pos(const Positions *pos) |
| 1285 | { |
| 1286 | uint16_t h = 0; |
| 1287 | for (Positions::const_iterator i = pos->begin(); i != pos->end(); ++i) |
| 1288 | h += h + static_cast<uint16_t>(*i ^ (*i >> 24)); |
| 1289 | return h; |
| 1290 | } |
| 1291 | static inline bool valid_goto_index(Index index) |
| 1292 | { |
| 1293 | return index <= Const::GMAX; |