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

Function Views

cpp/src/arrow/csv/parser_test.cc:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138std::vector<std::string_view> Views(const std::vector<std::string>& strings) {
139 std::vector<std::string_view> views(strings.size());
140 std::transform(strings.begin(), strings.end(), views.begin(),
141 [](const std::string& s) { return std::string_view(s); });
142 return views;
143}
144
145Status Parse(BlockParser& parser, const std::string& str, uint32_t* out_size) {
146 return parser.Parse(std::string_view(str), out_size);

Callers 1

TESTFunction · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected