MCPcopy Create free account
hub / github.com/apache/impala / AppendToMap

Function AppendToMap

be/src/gutil/strings/split.cc:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163//
164template <typename Map, typename Splitter>
165void AppendToMap(Map* m, Splitter splitter) {
166 Map tmp = splitter; // Calls implicit conversion operator.
167 for (typename Map::const_iterator it = tmp.begin(); it != tmp.end(); ++it) {
168 (*m)[it->first] = it->second;
169 }
170}
171
172template <typename Splitter>
173void AppendToImpl(map<string, string>* map_container, Splitter splitter) {

Callers 1

AppendToImplFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected