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

Function BitmapTest

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

Test/get the given bit.

Source from the content-addressed store, hash-verified

53
54// Test/get the given bit.
55inline bool BitmapTest(const uint8_t *bitmap, size_t idx) {
56 return bitmap[idx >> 3] & (1 << (idx & 7));
57}
58
59// Merge the two bitmaps using bitwise or. Both bitmaps should have at least
60// n_bits valid bits.

Callers 7

MayContainKeyMethod · 0.85
NextMethod · 0.85
TESTFunction · 0.85
BitmapFindFirstFunction · 0.85
BitmapCopyFunction · 0.85
BitmapToStringFunction · 0.85
ConvertArrayFromKuduMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68