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

Function SplitStringUsing

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

Source from the content-addressed store, hash-verified

415}
416
417void SplitStringUsing(const string& full,
418 const char* delim,
419 vector<string>* result) {
420 result->reserve(result->size() + CalculateReserveForVector(full, delim));
421 std::back_insert_iterator< vector<string> > it(*result);
422 SplitStringToIteratorUsing(full, delim, it);
423}
424
425void SplitStringToHashsetUsing(const string& full, const char* delim,
426 unordered_set<string>* result) {

Callers 3

DictionaryParseFunction · 0.85
SplitStringIntoKeyValuesFunction · 0.85

Calls 4

reserveMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected