MCPcopy Create free account
hub / github.com/Nicholas3388/LuaNode / newkey

Function newkey

LuaNode_Esp8266/components/lua/ltable.c:527–557  ·  view source on GitHub ↗

** inserts a new key into a hash table; first, check whether key's main ** position is free. If not, check whether colliding node is in its main ** position or not: if it is not, move colliding node to an empty place and ** put new key in its main position; otherwise (colliding node is in its main ** position), new key goes to an empty position. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

luaH_setFunction · 0.70
luaH_setnumFunction · 0.70
luaH_setstrFunction · 0.70

Calls 4

mainpositionFunction · 0.70
getfreeposFunction · 0.70
rehashFunction · 0.70
luaH_setFunction · 0.70

Tested by

no test coverage detected