MCPcopy Create free account
hub / github.com/SoarGroup/Soar / hash_variable

Function hash_variable

Core/SoarKernel/src/symtab.cpp:127–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125--------------------------------------------------- */
126
127uint32_t hash_variable(void* item, short num_bits)
128{
129 varSymbol* var;
130 var = static_cast<varSymbol*>(item);
131 return compress(hash_string(var->name), num_bits);
132}
133
134uint32_t hash_identifier(void* item, short num_bits)
135{

Callers

nothing calls this directly

Calls 2

compressFunction · 0.85
hash_stringFunction · 0.85

Tested by

no test coverage detected