/* * Determine the number of partitions to create when spilling, which will * always be a power of two. If log2_npartitions is non-NULL, set * *log2_npartitions to the log2() of the number of partitions. */ static int hash_choose_num_partitions(double input_groups, double hashentrysize, int used_bits, int *log2_npartitions);