MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / StrFormat

Function StrFormat

deps/google-benchmark/src/string_util.cc:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158std::string StrFormat(const char* format, ...) {
159 va_list args;
160 va_start(args, format);
161 std::string tmp = StrFormatImp(format, args);
162 va_end(args);
163 return tmp;
164}
165
166std::vector<std::string> StrSplit(const std::string& str, char delim) {
167 if (str.empty()) return {};

Callers 6

BM_Match1Function · 0.85
TEST_FFunction · 0.85
PrintRunDataMethod · 0.85
PrintBasicContextMethod · 0.85
BenchmarkInstanceMethod · 0.85
FormatKVFunction · 0.85

Calls 1

StrFormatImpFunction · 0.85

Tested by 2

BM_Match1Function · 0.68
TEST_FFunction · 0.68