MCPcopy Create free account
hub / github.com/axmolengine/axmol / computeHash

Function computeHash

core/2d/SpriteFrameCache.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51static SpriteFrameCache* _sharedSpriteFrameCache = nullptr;
52
53static uint64_t computeHash(const std::string_view& v)
54{
55 return XXH64(v.data(), v.length(), 0);
56}
57
58SpriteFrameCache* SpriteFrameCache::getInstance()
59{

Callers 9

addSpriteFrameMethod · 0.85
reloadTextureMethod · 0.85
insertFrameMethod · 0.85
eraseFrameMethod · 0.85
findFrameMethod · 0.85
getSpriteSheetMethod · 0.85

Calls 2

dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected