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

Function TotalViewLength

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

Source from the content-addressed store, hash-verified

128}
129
130size_t TotalViewLength(const std::vector<std::string_view>& views) {
131 size_t total_view_length = 0;
132 for (const auto& view : views) {
133 total_view_length += view.length();
134 }
135 return total_view_length;
136}
137
138std::vector<std::string_view> Views(const std::vector<std::string>& strings) {
139 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