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

Function ToStringView

cpp/src/arrow/compute/kernels/scalar_string_ascii.cc:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51#ifdef ARROW_WITH_RE2
52std::string_view ToStringView(re2::StringPiece piece) {
53 return {piece.data(), piece.length()};
54}
55
56re2::StringPiece ToStringPiece(std::string_view view) {
57 return {view.data(), view.length()};

Callers 1

ExtractMethod · 0.70

Calls 2

dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected