Skip to main content
prev_power_of_two
risingwave_
connector
3.2.0-alpha
In risingwave_
connector::
sink::
postgres
risingwave_connector
::
sink
::
postgres
Function
prev_
power_
of_
two
Copy item path
Source
fn prev_power_of_two(n:
usize
) ->
usize
Expand description
Largest power of two not exceeding
n
.
n
must be positive.