allocate_buckets
result = allocate_buckets(map, capacity);
result = allocate_buckets(map, new_capacity);