MCPcopy Create free account
hub / github.com/google/snappy / StrFormat

Function StrFormat

snappy-test.cc:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117std::string StrFormat(const char* format, ...) {
118 char buffer[4096];
119 std::va_list ap;
120 va_start(ap, format);
121 std::vsnprintf(buffer, sizeof(buffer), format, ap);
122 va_end(ap);
123 return buffer;
124}
125
126LogMessage::~LogMessage() { std::cerr << std::endl; }
127

Callers 6

BM_UIOVecSourceFunction · 0.85
BM_ZFlatFunction · 0.85
BM_ZFlatAllFunction · 0.85
TESTFunction · 0.85
MeasureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected