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

Function createStringObjectFromLongLongForValue

src/object.cpp:210–212  ·  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

208 * as a value in the key space, and Redis is configured to evict based on
209 * LFU/LRU. */
210robj *createStringObjectFromLongLongForValue(long long value) {
211 return createStringObjectFromLongLongWithOptions(value,1);
212}
213
214/* Create a string object from a long double. If humanfriendly is non-zero
215 * it does not use exponential format and trims trailing zeroes at the end,

Callers 3

rdbLoadIntegerObjectFunction · 0.85
tryObjectEncodingFunction · 0.85
incrDecrCommandFunction · 0.85

Tested by

no test coverage detected