Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RomanKubiak/ctrlr
/ getfreepos
Function
getfreepos
Source/Misc/lua/src/lua.c:9622–9628 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9620
9621
9622
static Node *getfreepos (Table *t) {
9623
while (t->lastfree-- > t->node) {
9624
if (ttisnil(gkey(t->lastfree)))
9625
return t->lastfree;
9626
}
9627
return NULL; /* could not find a free place */
9628
}
9629
9630
9631
Callers
1
newkey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected