Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/comdb2
/ getfreepos
Function
getfreepos
lua/ltable.c:416–422 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
414
415
416
static Node *getfreepos (Table *t) {
417
while (t->lastfree-- > t->node) {
418
if (ttisnil(gkey(t->lastfree)))
419
return t->lastfree;
420
}
421
return NULL; /* could not find a free place */
422
}
423
424
425
/*
Callers
1
newkey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected