ojhBitfield64co function hashes

int ojhBitfield64co(
  1. Iterable<Card> cards
)

64-bit Bitfield hash

Implementation

int ojhBitfield64co(Iterable<Card> cards) {
  int h = 0;

  for (Card c in cards) {
    assert(0 == (h & (1 << (0x3F & c.index))));
    h |= (1 << (0x3F & c.index));
  }
  return h;
}