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

Function TotalViewLength

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

Source from the content-addressed store, hash-verified

124}
125
126size_t TotalViewLength(const std::vector<std::string_view>& views) {
127 size_t total_view_length = 0;
128 for (const auto& view : views) {
129 total_view_length += view.length();
130 }
131 return total_view_length;
132}
133
134std::vector<std::string_view> Views(const std::vector<std::string>& strings) {
135 std::vector<std::string_view> views(strings.size());

Callers 2

AssertParseOkFunction · 0.85
AssertParseFinalFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected