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

Function SpliceWord

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

Source from the content-addressed store, hash-verified

226/// }
227template <typename Word>
228constexpr Word SpliceWord(int n, Word low, Word high) {
229 return (high & ~PrecedingWordBitmask<Word>(n)) | (low & PrecedingWordBitmask<Word>(n));
230}
231
232/// \brief Pack integers into a bitmap in batches of 8
233template <int batch_size>

Callers 1

SetBitmapImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected