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

Function ReadBackBitmap

be/src/kudu/util/bitmap-test.cc:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace kudu {
34
35static void ReadBackBitmap(uint8_t *bm, size_t bits,
36 std::vector<size_t> *result) {
37 ForEachSetBit(bm, bits, [&](size_t b) {
38 result->push_back(b);
39 });
40}
41
42TEST(TestBitMap, TestIteration) {
43 uint8_t bm[8];

Callers 1

TESTFunction · 0.85

Calls 2

ForEachSetBitFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected