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

Function ToNonInlineBinaryView

cpp/src/arrow/util/binary_view_util.h:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41inline BinaryViewType::c_type ToNonInlineBinaryView(const void* data, int32_t size,
42 int32_t buffer_index,
43 int32_t offset) {
44 // Large string: store index/offset.
45 BinaryViewType::c_type out;
46 out.ref = {size, {}, buffer_index, offset};
47 memcpy(&out.ref.prefix, data, sizeof(out.ref.prefix));
48 return out;
49}
50
51inline BinaryViewType::c_type ToBinaryView(const void* data, int32_t size,
52 int32_t buffer_index, int32_t offset) {

Callers 2

AppendFunction · 0.85
ToBinaryViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected