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

Function createStringObjectFromLongLongForValue

app/redis-6.2.6/src/object.c:184–186  ·  view source on GitHub ↗

Wrapper for createStringObjectFromLongLongWithOptions() avoiding a shared * object when LFU/LRU info are needed, that is, when the object is used * as a value in the key space, and Redis is configured to evict based on * LFU/LRU. */

Source from the content-addressed store, hash-verified

182 * as a value in the key space, and Redis is configured to evict based on
183 * LFU/LRU. */
184robj *createStringObjectFromLongLongForValue(long long value) {
185 return createStringObjectFromLongLongWithOptions(value,1);
186}
187
188/* Create a string object from a long double. If humanfriendly is non-zero
189 * it does not use exponential format and trims trailing zeroes at the end,

Callers 3

incrDecrCommandFunction · 0.85
rdbLoadIntegerObjectFunction · 0.85
tryObjectEncodingFunction · 0.85

Tested by

no test coverage detected