MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / hash_block64

Function hash_block64

include/daScript/misc/anyhash.h:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace das {
43
44 static __forceinline uint64_t hash_block64 ( const uint8_t * block, size_t size ) {
45 auto h = wyhash(block, size, DAS_WYHASH_SEED);
46 return h <= HASH_KILLED64 ? UINT64_C(1099511628211) : h;
47 }
48
49 DAS_SUPPRESS_UB
50 static NO_ASAN_INLINE uint64_t hash_blockz64 ( const uint8_t * block ) {

Callers 5

getFunctionAotHashFunction · 0.85
getVariableListAotHashFunction · 0.85
getLookupHashMethod · 0.85
hash_functionFunction · 0.85
operator()Method · 0.85

Calls 1

wyhashFunction · 0.85

Tested by

no test coverage detected