MCPcopy Create free account
hub / github.com/apache/arrow-rs / ceil

Function ceil

arrow-buffer/src/util/bit_util.rs:95–97  ·  view source on GitHub ↗
(value: usize, divisor: usize)

Source from the content-addressed store, hash-verified

93/// Returns the ceil of `value`/`divisor`
94#[inline]
95pub fn ceil(value: usize, divisor: usize) -> usize {
96 value.div_ceil(divisor)
97}
98
99/// Read a u64 from a byte slice, padding with zeros if necessary
100#[inline]

Callers 15

splitMethod · 0.70
set_remainder_bitsFunction · 0.70
remainder_bitsMethod · 0.70
num_bytesMethod · 0.70
set_upto_64bitsFunction · 0.70
newMethod · 0.70
bitwise_bin_op_helperFunction · 0.50
bitwise_unary_op_helperFunction · 0.50
from_bitwise_unary_opMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected