Searched refs:hash_xor (Results 1 – 5 of 5) sorted by relevance
424 uint64 hash_xor; in square_clear() local536 hash_xor = RANDOM_64(RandomPiece+(piece_12^1)*64+sq_64); // HACK: ^1 for PolyGlot book in square_clear()538 board->key ^= hash_xor; in square_clear()539 if (PIECE_IS_PAWN(piece)) board->pawn_key ^= hash_xor; in square_clear()555 uint64 hash_xor; in square_set() local671 board->key ^= hash_xor; in square_set()672 if (PIECE_IS_PAWN(piece)) board->pawn_key ^= hash_xor; in square_set()689 uint64 hash_xor; in square_move() local757 hash_xor = RANDOM_64(piece_index+to_64) ^ RANDOM_64(piece_index+from_64); in square_move()759 board->key ^= hash_xor; in square_move()[all …]
402 uint64 hash_xor; in square_clear() local516 hash_xor = RANDOM_64(RandomPiece+(piece_12^1)*64+sq_64); // HACK: ^1 for PolyGlot book in square_clear()518 board->key ^= hash_xor; in square_clear()519 if (PIECE_IS_PAWN(piece)) board->pawn_key ^= hash_xor; in square_clear()535 uint64 hash_xor; in square_set() local653 board->key ^= hash_xor; in square_set()654 if (PIECE_IS_PAWN(piece)) board->pawn_key ^= hash_xor; in square_set()671 uint64 hash_xor; in square_move() local739 hash_xor = RANDOM_64(piece_index+to_64) ^ RANDOM_64(piece_index+from_64); in square_move()741 board->key ^= hash_xor; in square_move()[all …]
185 unsigned int hash_xor; /* Xor of all vertices indices */ member198 if ((pk1->hash_sum == pk2->hash_sum) && (pk1->hash_xor == pk2->hash_xor) && in poly_gset_compare_fn()372 mpgh->hash_sum = mpgh->hash_xor = 0; in BKE_mesh_merge_verts()375 mpgh->hash_xor ^= ml->v; in BKE_mesh_merge_verts()424 pkey.hash_sum = pkey.hash_xor = 0; in BKE_mesh_merge_verts()429 pkey.hash_xor ^= v_target; in BKE_mesh_merge_verts()
3 ut8 hash_xor(const ut8 *b, ut64 len);
205 static inline uint32_t hash_xor(bit_t a, bit_t b) { in hash_xor() function336 return hash_xor(p->child[0], p->child[1]); in hash_xor_node()