MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ssprintf

Method ssprintf

lite/src/misc.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95std::string lite::ssprintf(const char* format, ...) {
96 if (!format)
97 return "";
98 va_list ap;
99 va_start(ap, format);
100 auto ret = svsprintf(format, ap);
101 va_end(ap);
102 return ret;
103}
104
105void lite::print_log(LiteLogLevel level, const char* format, ...) {
106 if (!format)

Callers

nothing calls this directly

Calls 1

svsprintfFunction · 0.70

Tested by

no test coverage detected