MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / StringPrintf

Function StringPrintf

Libraries/snappy/snappy-test.cc:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64string StringPrintf(const char* format, ...) {
65 char buf[4096];
66 va_list ap;
67 va_start(ap, format);
68 vsnprintf(buf, sizeof(buf), format, ap);
69 va_end(ap);
70 return buf;
71}
72
73bool benchmark_running = false;
74int64 benchmark_real_time_us = 0;

Callers 4

MeasureFunction · 0.85
TYPED_TESTFunction · 0.85
BM_ZFlatFunction · 0.85
RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected