MCPcopy Create free account
hub / github.com/SecurityAnalysts01/ShellcodeLoader / hash_single

Function hash_single

Loading/Loading/lazy_importer.hpp:268–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267 template<bool CaseSensitive = LAZY_IMPORTER_CASE_SENSITIVITY>
268 LAZY_IMPORTER_FORCEINLINE constexpr unsigned hash_single(unsigned value, char c) noexcept
269 {
270 return static_cast<unsigned int>(
271 (value ^ ((!CaseSensitive && c >= 'A' && c <= 'Z') ? (c | (1 << 5)) : c)) *
272 static_cast<unsigned long long>(16777619));
273 }
274
275 LAZY_IMPORTER_FORCEINLINE constexpr unsigned
276 khash_impl(const char* str, unsigned value) noexcept

Callers 3

khash_implFunction · 0.70
hashFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected