MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / AddNumber

Method AddNumber

modules/engine/graphics/src/d3d12/D3D12MemAlloc.cpp:1210–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208}
1209
1210void StringBuilder::AddNumber(UINT num)
1211{
1212 WCHAR buf[11];
1213 buf[10] = L'\0';
1214 WCHAR *p = &buf[10];
1215 do
1216 {
1217 *--p = L'0' + (num % 10);
1218 num /= 10;
1219 }
1220 while (num);
1221 Add(p);
1222}
1223
1224void StringBuilder::AddNumber(UINT64 num)
1225{

Callers 2

ContinueStringMethod · 0.45
WriteNumberMethod · 0.45

Calls 1

AddFunction · 0.85

Tested by

no test coverage detected