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

Function hash_function

include/daScript/simulate/hash.h:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6namespace das {
7 __forceinline uint64_t hash_function ( Context &, const void * x, size_t size ) {
8 return hash_block64((uint8_t *)x, size);
9 }
10
11 __forceinline uint32_t stringLength ( Context &, const char * str ) { // str!=nullptr
12 return uint32_t(strlen(str));

Callers 15

CheckEidFunction · 0.85
CheckEidHintFunction · 0.85
tableReserveMethod · 0.85
das_table_findFunction · 0.85
das_table_insertFunction · 0.85
das_table_eraseFunction · 0.85
jit_table_atFunction · 0.85
jit_table_eraseFunction · 0.85
jit_table_findFunction · 0.85
tableFindValueFunction · 0.85
gc0_save_ptrFunction · 0.85
gc0_restore_ptrFunction · 0.85

Calls 5

hash_block64Function · 0.85
hash_blockz64Function · 0.85
hash_uint32Function · 0.85
hash_uint64Function · 0.85
c_strMethod · 0.45

Tested by 2

CheckEidFunction · 0.68
CheckEidHintFunction · 0.68