MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lpBytes

Function lpBytes

app/redis-6.2.6/src/listpack.c:814–816  ·  view source on GitHub ↗

Return the total number of bytes the listpack is composed of. */

Source from the content-addressed store, hash-verified

812
813/* Return the total number of bytes the listpack is composed of. */
814uint32_t lpBytes(unsigned char *lp) {
815 return lpGetTotalBytes(lp);
816}
817
818/* Seek the specified element and returns the pointer to the seeked element.
819 * Positive indexes specify the zero-based element to seek from the head to

Callers 7

rdbSaveObjectFunction · 0.85
objectComputeSizeFunction · 0.85
lpNextFunction · 0.85
lpPrevFunction · 0.85
lpFirstFunction · 0.85
streamDupFunction · 0.85
streamAppendItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected