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

Function move_node

LuaNode_Esp8266/components/lua/ltable.c:334–369  ·  view source on GitHub ↗

** move a node from it's old position to it's new position during a rehash; ** first, check whether the moving node'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 moving node in its main position; otherwise ** (colliding node is in its main position), moving node goes to an empty po

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

resize_hashpartFunction · 0.70

Calls 2

mainpositionFunction · 0.70
find_prev_nodeFunction · 0.70

Tested by

no test coverage detected