MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / ToUnsigned64

Method ToUnsigned64

native/thirdpart/tinyxml2/tinyxml2.cpp:700–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698
699
700bool XMLUtil::ToUnsigned64(const char* str, uint64_t* value) {
701 unsigned long long v = 0; // horrible syntax trick to make the compiler happy about %llu
702 if(TIXML_SSCANF(str, IsPrefixHex(str) ? "%llx" : "%llu", &v) == 1) {
703 *value = (uint64_t)v;
704 return true;
705 }
706 return false;
707}
708
709
710char* XMLDocument::Identify( char* p, XMLNode** node )

Callers

nothing calls this directly

Calls 1

IsPrefixHexFunction · 0.85

Tested by

no test coverage detected