12 uint64_t lastQwordIdx = (high - 1) / 64;
13 uint64_t lastBitInQword = (high - 1) % 64;
15 if (firstQwordIdx == lastQwordIdx)
17 uint64_t mask = (~0ULL << firstBitInQword) & (~0ULL >> (63 - lastBitInQword));
18 map->buffer[firstQwordIdx] |= mask;
22 map->buffer[firstQwordIdx] |= (~0ULL << firstBitInQword);
24 for (
uint64_t i = firstQwordIdx + 1; i < lastQwordIdx; i++)
26 map->buffer[i] = ~0ULL;
29 map->buffer[lastQwordIdx] |= (~0ULL >> (63 - lastBitInQword));