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

Function FixedWidthByteOffset

cpp/src/arrow/compute/kernels/gather_internal.h:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38template <typename IndexType>
39constexpr int64_t FixedWidthByteOffset(IndexType index, int64_t value_width) {
40 return static_cast<int64_t>(index) * value_width;
41}
42
43// CRTP [1] base class for Gather that provides a gathering loop in terms of
44// Write*() methods that must be implemented by the derived class.

Callers 3

WriteValueMethod · 0.85
WriteZeroMethod · 0.85
WriteZeroSegmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected