nxt.bitarray_algorithm

Algorithms for dynamic and static bitarrays based with integral blocks.

Algorithms are qualified as package because they should only be used by bit-array containers.

Members

Functions

indexOfFirstOne
size_t indexOfFirstOne(Blocks blocks, size_t length)

Find index of first set (one) bit or length if no bit cleared.

indexOfFirstZero
size_t indexOfFirstZero(Blocks blocks, size_t length)

Find index of first cleared (zero) bit or length if no bit cleared.

Meta