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

Function BitmapSize

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

Return the number of bytes necessary to store the given number of bits.

Source from the content-addressed store, hash-verified

33
34// Return the number of bytes necessary to store the given number of bits.
35inline size_t BitmapSize(size_t num_bits) {
36 return (num_bits + 7) / 8;
37}
38
39// Set the given bit.
40inline void BitmapSet(uint8_t *bitmap, size_t idx) {

Callers 3

BitmapMergeOrFunction · 0.85
RandomBitmapMethod · 0.85
BitmapCopyFunction · 0.85

Calls

no outgoing calls

Tested by 1

RandomBitmapMethod · 0.68