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

Method ImportOffsetsBuffer

cpp/src/arrow/c/bridge.cc:1888–1893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1886
1887 template <typename OffsetType, bool with_extra_offset = true>
1888 Status ImportOffsetsBuffer(int32_t buffer_id) {
1889 // Compute visible size of buffer
1890 int64_t buffer_size = sizeof(OffsetType) * (c_struct_->length + c_struct_->offset +
1891 (with_extra_offset ? 1 : 0));
1892 return ImportBuffer(buffer_id, buffer_size);
1893 }
1894
1895 template <typename OffsetType>
1896 Status ImportSizesBuffer(int32_t buffer_id) {

Callers

nothing calls this directly

Calls 1

ImportBufferFunction · 0.85

Tested by

no test coverage detected