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

Function RM_DigestAddLongLong

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

Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input * that gets converted into a string before adding it to the digest. */

Source from the content-addressed store, hash-verified

4954/* Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input
4955 * that gets converted into a string before adding it to the digest. */
4956void RM_DigestAddLongLong(RedisModuleDigest *md, long long ll) {
4957 char buf[LONG_STR_SIZE];
4958 size_t len = ll2string(buf,sizeof(buf),ll);
4959 mixDigest(md->o,buf,len);
4960}
4961
4962/* See the documentation for `RedisModule_DigestAddElement()`. */
4963void RM_DigestEndSequence(RedisModuleDigest *md) {

Callers

nothing calls this directly

Calls 2

ll2stringFunction · 0.85
mixDigestFunction · 0.85

Tested by

no test coverage detected