Function std::uint::next_power_of_two

pub fn next_power_of_two(n: uint) -> uint

Returns the smallest power of 2 greater than or equal to n