Searched refs:round_to_pow2 (Results 1 – 7 of 7) sorted by relevance
285 def round_to_pow2(x): function321 self.hash_size = round_to_pow2(len(self.strings) * 1.25)
584 def round_to_pow2(x): function607 self.hash_size = round_to_pow2(len(self.strings) * 1.25)
540 def round_to_pow2(x): function576 self.hash_size = round_to_pow2(len(self.strings) * 1.25)
558 def round_to_pow2(x): function581 self.hash_size = round_to_pow2(len(self.strings) * 1.25)
220 def round_to_pow2(number): function395 self.num_bits = round_to_pow2(int(math.ceil(math.log(self.modulus, 2))))1513 digest_padding = round_to_pow2(digest_size) - digest_size3597 digest_padding = round_to_pow2(digest_size) - digest_size