MCPcopy 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}
278size_t zmalloc_usable_size(void *ptr) {
279 return zmalloc_size(ptr)-PREFIX_SIZE;
280}
281#endif
282
283void zfree(void *ptr) {

Callers 3

_addReplyProtoToListFunction · 0.85
trimReplyUnusedTailSpaceFunction · 0.85
setDeferredReplyFunction · 0.85

Calls 1

zmalloc_sizeFunction · 0.85

Tested by

no test coverage detected