Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ zmalloc_usable_size
Function
zmalloc_usable_size
app/redis-6.2.6/src/zmalloc.c:278–280 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
276
return size+PREFIX_SIZE;
277
}
278
size_t zmalloc_usable_size(void *ptr) {
279
return zmalloc_size(ptr)-PREFIX_SIZE;
280
}
281
#endif
282
283
void zfree(void *ptr) {
Callers
3
_addReplyProtoToList
Function · 0.85
trimReplyUnusedTailSpace
Function · 0.85
setDeferredReply
Function · 0.85
Calls
1
zmalloc_size
Function · 0.85
Tested by
no test coverage detected