MCPcopy Create free account
hub / github.com/ZDoom/Raze / FindNameInHashTable

Function FindNameInHashTable

source/common/console/c_dispatch.cpp:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415static FConsoleCommand *FindNameInHashTable (FConsoleCommand **table, const char *name, size_t namelen)
416{
417 FConsoleCommand *dummy;
418
419 return ScanChainForName (table[MakeKey (name, namelen) % FConsoleCommand::HASH_SIZE], name, namelen, &dummy);
420}
421
422bool FConsoleCommand::AddToHash (FConsoleCommand **table)
423{

Callers 2

C_DoCommandFunction · 0.85
FindByNameMethod · 0.85

Calls 1

ScanChainForNameFunction · 0.85

Tested by

no test coverage detected