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

Function BitmapFindFirstZero

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

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

Source from the content-addressed store, hash-verified

80
81// Find the first zero bit in the bitmap, at the specified offset.
82inline bool BitmapFindFirstZero(const uint8_t *bitmap, size_t offset,
83 size_t bitmap_size, size_t *idx) {
84 return BitmapFindFirst(bitmap, offset, bitmap_size, false, idx);
85}
86
87// Returns true if the bitmap contains only ones.
88inline bool BitmapIsAllSet(const uint8_t *bitmap, size_t offset, size_t bitmap_size) {

Callers 2

BitmapIsAllSetFunction · 0.85
TESTFunction · 0.85

Calls 1

BitmapFindFirstFunction · 0.85

Tested by 1

TESTFunction · 0.68