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

Function hash

tests/framework/src/doctest.cpp:1070–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068 }
1069
1070 DOCTEST_NO_SANITIZE_INTEGER
1071 unsigned long long hash(unsigned long long a, unsigned long long b) {
1072 return (a << 5) + b;
1073 }
1074
1075 // C string hash function (djb2) - taken from http://www.cse.yorku.ca/~oz/hash.html
1076 DOCTEST_NO_SANITIZE_INTEGER

Callers 2

SubcaseMethod · 0.70
~SubcaseMethod · 0.70

Calls 2

c_strMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected