MCPcopy Create free account
hub / github.com/ProjectDreamland/area51 / newkey

Function newkey

Support/lua/src/ltable.c:379–415  ·  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 2

luaH_setFunction · 0.85
luaH_setnumFunction · 0.85

Calls 3

luaH_mainpositionFunction · 0.85
rehashFunction · 0.85
luaH_getFunction · 0.85

Tested by

no test coverage detected