Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Dlzf_c.c51 # define IDX(h) ((( h >> (3*8 - HLOG)) - h ) & (HSIZE - 1)) macro
53 # define IDX(h) ((( h >> (3*8 - HLOG)) - h*5) & (HSIZE - 1)) macro
55 # define IDX(h) ((((h ^ (h << 5)) >> (3*8 - HLOG)) - h*5) & (HSIZE - 1)) macro
71 # define IDX(h) ((h) & (HSIZE - 1))
145 hslot = htab + IDX (hval); in lzf_compress()
236 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()
241 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()
250 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()