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

Function ToStringView

python/pyarrow/src/arrow/python/numpy_to_arrow.cc:711–714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709namespace {
710
711std::string_view ToStringView(const npy_static_string& value) {
712 return value.buf == nullptr ? std::string_view()
713 : std::string_view(value.buf, value.size);
714}
715
716} // namespace
717

Callers 1

VisitStringDTypeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected