MCPcopy Create free account
hub / github.com/apache/arrow / generate_unpacked_bitmap

Method generate_unpacked_bitmap

cpp/src/arrow/util/bit_util_test.cc:219–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 }
218
219 static UnpackedBitmapType generate_unpacked_bitmap(PackedBitmapType bitmap) {
220 // Use a BitmapReader (tested earlier) to populate the expected
221 // unpacked bitmap.
222 UnpackedBitmapType result;
223 internal::BitmapReader reader(bitmap.data(), 0, 8 * kBitmapSizeInBytes);
224 for (int64_t index = 0; index < 8 * kBitmapSizeInBytes; ++index) {
225 result[index] = reader.IsSet();
226 reader.Next();
227 }
228 return result;
229 }
230
231 // A pre-defined packed bitmap for use in test cases.
232 const PackedBitmapType packed_bitmap_;

Callers

nothing calls this directly

Calls 3

dataMethod · 0.45
IsSetMethod · 0.45
NextMethod · 0.45

Tested by

no test coverage detected