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

Method RawData

cpp/src/arrow/c/dlpack_test.cc:415–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414 static std::shared_ptr<DataType> ValueType(const Imported& arr) { return arr->type(); }
415 static const uint8_t* RawData(const Imported& arr) {
416 return arr->data()->buffers[1]->data() + arr->offset() * arr->type()->byte_width();
417 }
418 static bool IsMutable(const Imported& arr) {
419 return arr->data()->buffers[1]->is_mutable();
420 }

Callers

nothing calls this directly

Calls 4

dataMethod · 0.45
offsetMethod · 0.45
byte_widthMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected