Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ scalloc
Function
scalloc
src/storage.cpp:242–245 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
240
}
241
242
void *scalloc(size_t cb, size_t c, enum MALLOC_CLASS mclass)
243
{
244
return memkind_calloc(kindFromClass(mclass), cb, c);
245
}
246
247
void sfree(void *pv)
248
{
Callers
1
pool_allocate_page
Function · 0.70
Calls
2
memkind_calloc
Function · 0.85
kindFromClass
Function · 0.85
Tested by
no test coverage detected