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

Method getHash

include/daScript/misc/anyhash.h:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 uint64_t seed = DAS_WYHASH_SEED;
90 public:
91 __forceinline uint64_t getHash() {
92 return seed <= HASH_KILLED64 ? UINT64_C(1099511628211) : seed;
93 }
94 __forceinline void updateString ( const char * str ) {
95 if (!str) str = "";
96 seed = wyhash((const uint8_t *)str, strlen(str), seed);

Callers 14

getOwnSemanticHashMethod · 0.45
getOwnSemanticHashMethod · 0.45
getOwnSemanticHashMethod · 0.45
_builtin_hash_int8Function · 0.45
_builtin_hash_uint8Function · 0.45
_builtin_hash_int16Function · 0.45
_builtin_hash_uint16Function · 0.45
_builtin_hash_int32Function · 0.45
_builtin_hash_uint32Function · 0.45
_builtin_hash_int64Function · 0.45
_builtin_hash_uint64Function · 0.45
_builtin_hash_ptrFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected