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

Method getHash

src/simulate/simulate_fn_hash.cpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 debug_hash("[%s] %" PRIx64 " ", (const char *) pb, offset_basis);
43 }
44 __forceinline uint64_t getHash() const {
45 return (offset_basis <= 1) ? fnv_prime : offset_basis;
46 }
47 // semantic walker
48 virtual void op ( const char * name, uint32_t sz, const string & TT ) override {
49 write(name);

Callers 2

getSemanticHashFunction · 0.45
getFunctionHashFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected