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

Method ssprintf

compiler/lib/KernelGen/Utils/Utils.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41} // anonymous namespace
42
43std::string Utils::ssprintf(const char* fmt, ...) {
44 va_list ap;
45 va_start(ap, fmt);
46 auto rst = svsprintf(fmt, ap);
47 va_end(ap);
48 return rst;
49}
50
51std::string Utils::DtypeHelper::max() {
52 switch (m_dtype) {

Callers

nothing calls this directly

Calls 1

svsprintfFunction · 0.70

Tested by

no test coverage detected