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

Function RM_DigestEndSequence

app/redis-6.2.6/src/module.c:4963–4966  ·  view source on GitHub ↗

See the documentation for `RedisModule_DigestAddElement()`. */

Source from the content-addressed store, hash-verified

4961
4962/* See the documentation for `RedisModule_DigestAddElement()`. */
4963void RM_DigestEndSequence(RedisModuleDigest *md) {
4964 xorDigest(md->x,md->o,sizeof(md->o));
4965 memset(md->o,0,sizeof(md->o));
4966}
4967
4968/* Decode a serialized representation of a module data type 'mt' from string
4969 * 'str' and return a newly allocated value, or NULL if decoding failed.

Callers

nothing calls this directly

Calls 2

xorDigestFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected