Go to the source code of this file.
Definition at line 55 of file hyperloglog.c.
Definition at line 54 of file hyperloglog.c.
Definition at line 167 of file hyperloglog.c.
References BITS_PER_BYTE, hash(), hyperLogLogState::hashesArr, Max, hyperLogLogState::registerWidth, and rho().
Referenced by hashagg_spill_tuple(), macaddr_abbrev_convert(), network_abbrev_convert(), numeric_abbrev_convert_var(), uuid_abbrev_convert(), and varstr_abbrev_convert().
Definition at line 186 of file hyperloglog.c.
References hyperLogLogState::alphaMM, hyperLogLogState::hashesArr, i, NEG_POW_2_32, hyperLogLogState::nRegisters, and POW_2_32.
Referenced by hashagg_spill_finish(), macaddr_abbrev_abort(), network_abbrev_abort(), numeric_abbrev_abort(), uuid_abbrev_abort(), and varstr_abbrev_abort().
Definition at line 151 of file hyperloglog.c.
References Assert(), hyperLogLogState::hashesArr, and pfree().
Referenced by hashagg_spill_finish().
Definition at line 66 of file hyperloglog.c.
References hyperLogLogState::alphaMM, hyperLogLogState::arrSize, elog, ERROR, hyperLogLogState::hashesArr, hyperLogLogState::nRegisters, palloc0(), and hyperLogLogState::registerWidth.
Referenced by hashagg_spill_init(), initHyperLogLogError(), macaddr_sortsupport(), network_sortsupport(), numeric_sortsupport(), uuid_sortsupport(), and varstr_sortsupport().
Definition at line 128 of file hyperloglog.c.
References error(), and initHyperLogLog().
Definition at line 242 of file hyperloglog.c.
References b, j, pg_leftmost_one_pos32(), and x.
Referenced by addHyperLogLog().