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

Method updateString

include/daScript/misc/anyhash.h:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
97 }
98 __forceinline void updateString ( const char * str, size_t len) {
99 if (!str) str = "";
100 seed = wyhash((const uint8_t *)str, len, seed);

Callers 7

getOwnSemanticHashMethod · 0.80
getOwnSemanticHashMethod · 0.80
getSemanticHashMethod · 0.80
getOwnSemanticHashMethod · 0.80
getOwnSemanticHashMethod · 0.80
getOwnSemanticHashMethod · 0.80
getOwnSemanticHashMethod · 0.80

Calls 1

wyhashFunction · 0.85

Tested by

no test coverage detected