MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetHex

Function GetHex

Source/ThirdParty/tracy/client/TracyProfiler.cpp:492–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490
491#if defined __linux__ && defined __ARM_ARCH
492static uint32_t GetHex( char*& ptr, int skip )
493{
494 uint32_t ret;
495 ptr += skip;
496 char* end;
497 if( ptr[0] == '0' && ptr[1] == 'x' )
498 {
499 ptr += 2;
500 ret = strtol( ptr, &end, 16 );
501 }
502 else
503 {
504 ret = strtol( ptr, &end, 10 );
505 }
506 ptr = end;
507 return ret;
508}
509#endif
510
511static const char* GetHostInfo()

Callers 1

GetHostInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected