Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ getfreepos
Function
getfreepos
freebsd/contrib/openzfs/module/lua/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
if
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected