MCPcopy Create free account
hub / github.com/apache/kudu / StringPrintf

Function StringPrintf

src/kudu/gutil/stringprintf.cc:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74string StringPrintf(const char* format, ...) {
75 va_list ap;
76 va_start(ap, format);
77 string result;
78 StringAppendV(&result, format, ap);
79 va_end(ap);
80 return result;
81}
82
83const string& SStringPrintf(string* dst, const char* format, ...) {
84 va_list ap;

Callers 15

BuildTestRowMethod · 0.85
GenerateSplitRowsMethod · 0.85
GenerateRowKeyMethod · 0.85
VerifyRowKeySliceMethod · 0.85
VisitMetricsRecordMethod · 0.85
TEST_FFunction · 0.85
PopulateDefaultRowMethod · 0.85
DoTestVerifyRowsMethod · 0.85
UpdateTestRowMethod · 0.85
StringPrintfVectorFunction · 0.85
DictionaryInt32EncodeFunction · 0.85

Calls 1

StringAppendVFunction · 0.85

Tested by 15

BuildTestRowMethod · 0.68
GenerateSplitRowsMethod · 0.68
GenerateRowKeyMethod · 0.68
VerifyRowKeySliceMethod · 0.68
TEST_FFunction · 0.68
PopulateDefaultRowMethod · 0.68
DoTestVerifyRowsMethod · 0.68
UpdateTestRowMethod · 0.68
TEST_FFunction · 0.68
GenerateRandomRowSetsFunction · 0.68
TEST_PFunction · 0.68