Home
last modified time | relevance | path

Searched refs:ZIPMAP_BIGLEN (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dzipmap.c83 #define ZIPMAP_BIGLEN 254 macro
93 #define ZIPMAP_LEN_BYTES(_l) (((_l) < ZIPMAP_BIGLEN) ? 1 : sizeof(unsigned int)+1)
108 if (len < ZIPMAP_BIGLEN) return len; in zipmapDecodeLength()
120 if (len < ZIPMAP_BIGLEN) { in zipmapEncodeLength()
124 p[0] = ZIPMAP_BIGLEN; in zipmapEncodeLength()
172 if (klen >= ZIPMAP_BIGLEN) l += 4; in zipmapRequiredLength()
173 if (vlen >= ZIPMAP_BIGLEN) l += 4; in zipmapRequiredLength()
227 if (zm[0] < ZIPMAP_BIGLEN) zm[0]++; in zipmapSet()
290 if (zm[0] < ZIPMAP_BIGLEN) zm[0]--; in zipmapDel()
352 if (zm[0] < ZIPMAP_BIGLEN) { in zipmapLen()
[all …]