MCPcopy Create free account
hub / github.com/apache/impala / BitmapFindFirstSet

Function BitmapFindFirstSet

be/src/kudu/util/bitmap.h:76–79  ·  view source on GitHub ↗

Find the first set bit in the bitmap, at the specified offset.

Source from the content-addressed store, hash-verified

74
75// Find the first set bit in the bitmap, at the specified offset.
76inline bool BitmapFindFirstSet(const uint8_t *bitmap, size_t offset,
77 size_t bitmap_size, size_t *idx) {
78 return BitmapFindFirst(bitmap, offset, bitmap_size, true, idx);
79}
80
81// Find the first zero bit in the bitmap, at the specified offset.
82inline bool BitmapFindFirstZero(const uint8_t *bitmap, size_t offset,

Callers 2

BitmapIsAllZeroFunction · 0.85
TESTFunction · 0.85

Calls 1

BitmapFindFirstFunction · 0.85

Tested by 1

TESTFunction · 0.68