MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / mixStringObjectDigest

Function mixStringObjectDigest

src/debug.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void mixStringObjectDigest(unsigned char *digest, robj_roptr o) {
137 o = getDecodedObject(o);
138 mixDigest(digest,ptrFromObj(o),sdslen(szFromObj(o)));
139 decrRefCount(o);
140}
141
142/* This function computes the digest of a data structure stored in the
143 * object 'o'. It is the core of the DEBUG DIGEST command: when taking the

Callers 1

xorObjectDigestFunction · 0.85

Calls 6

getDecodedObjectFunction · 0.85
mixDigestFunction · 0.85
ptrFromObjFunction · 0.85
sdslenFunction · 0.85
szFromObjFunction · 0.85
decrRefCountFunction · 0.85

Tested by

no test coverage detected