Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ getfreepos
Function
getfreepos
third-party/lua-5.2.4/src/ltable.c:387–394 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
385
386
387
static Node *getfreepos (Table *t) {
388
while (t->lastfree > t->node) {
389
t->lastfree--;
390
if (ttisnil(gkey(t->lastfree)))
391
return t->lastfree;
392
}
393
return NULL; /* could not find a free place */
394
}
395
396
397
Callers
1
luaH_newkey
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected