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

Function mixStringObjectDigest

app/redis-6.2.6/src/debug.c:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void mixStringObjectDigest(unsigned char *digest, robj *o) {
123 o = getDecodedObject(o);
124 mixDigest(digest,o->ptr,sdslen(o->ptr));
125 decrRefCount(o);
126}
127
128/* This function computes the digest of a data structure stored in the
129 * object 'o'. It is the core of the DEBUG DIGEST command: when taking the

Callers 1

xorObjectDigestFunction · 0.85

Calls 4

getDecodedObjectFunction · 0.85
mixDigestFunction · 0.85
sdslenFunction · 0.85
decrRefCountFunction · 0.85

Tested by

no test coverage detected