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

Function UnorderedMapValues

cpp/src/arrow/util/key_value_metadata.cc:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static std::vector<std::string> UnorderedMapValues(
50 const std::unordered_map<std::string, std::string>& map) {
51 std::vector<std::string> values;
52 values.reserve(map.size());
53 for (const auto& pair : map) {
54 values.push_back(pair.second);
55 }
56 return values;
57}
58
59KeyValueMetadata::KeyValueMetadata() {}
60

Callers 1

KeyValueMetadataMethod · 0.85

Calls 3

push_backMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected