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

Method max_value

arrow-buffer/src/buffer/run.rs:221–223  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

219 /// slicing that may have occurred.
220 #[inline]
221 pub fn max_value(&self) -> usize {
222 self.values().last().copied().unwrap_or_default().as_usize()
223 }
224
225 /// Performs a binary search to find the physical index for the given logical
226 /// index.

Callers 2

Calls 3

as_usizeMethod · 0.80
lastMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected