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

Function StringReplace

be/src/gutil/strings/util.cc:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190// ----------------------------------------------------------------------
191
192string StringReplace(const StringPiece& s, const StringPiece& oldsub,
193 const StringPiece& newsub, bool replace_all) {
194 string ret;
195 StringReplace(s, oldsub, newsub, replace_all, &ret);
196 return ret;
197}
198
199
200// ----------------------------------------------------------------------

Callers 3

InitSubstitutionMapMethod · 0.85
GetTestDataDirectoryFunction · 0.85
InitMethod · 0.85

Calls 5

emptyMethod · 0.45
appendMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45
findMethod · 0.45

Tested by 1

GetTestDataDirectoryFunction · 0.68