I am reading implementation of HyperLogLog in Redis. There is a function hllPatLen
hllPatLen
int hllPatLen(unsigned char *ele, size_t elesize, long *regp) {