Searched refs:mapped_bounds (Results 1 – 1 of 1) sorted by relevance
73 def shift_works_until(mapped_bounds, shift_bits): argument74 for i, ab in enumerate(zip(mapped_bounds, mapped_bounds[1:])):78 return len(mapped_bounds)81 def find_ideal_shift(mapped_bounds, max_size): argument84 n = shift_works_until(mapped_bounds, shift_bits)86 table_size = mapped_bounds[n - 1] >> shift_bits97 def gen_map_table(mapped_bounds, shift_data): argument100 print mapped_bounds101 mapped_bounds = [x >> shift_data[0] for x in mapped_bounds]102 print mapped_bounds[all …]