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

Function SpliceWord

cpp/src/arrow/util/bit_util.h:264–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262/// }
263template <typename Word>
264constexpr Word SpliceWord(int n, Word low, Word high) {
265 return (high & ~PrecedingWordBitmask<Word>(n)) | (low & PrecedingWordBitmask<Word>(n));
266}
267
268/// \brief Pack integers into a bitmap in batches of 8
269template <int batch_size>

Callers 1

SetBitmapImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected