MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetKeyAsString

Method GetKeyAsString

src/LeakFinder.cpp:736–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734 key = 0;
735 }
736 virtual VOID GetKeyAsString(LONG &key, CHAR *szName, SIZE_T nBufferLen)
737 {
738#if _MSC_VER < 1400
739 _snprintf_s(szName, nBufferLen, "%d", key);
740#else
741 _snprintf_s(szName, nBufferLen, nBufferLen, "%d", key);
742#endif
743 }
744
745 static const int AllocHashEntryTypeSize = sizeof(AllocHashEntryType);
746

Callers 1

ShowLeaksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected