MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / slice_upper_bound

Function slice_upper_bound

src/order.rs:27–31  ·  view source on GitHub ↗

Assuming slice is sorted and totally ordered, returns the minimum i for which slice[i] > key, or slice.len() if no such i exists

(slice: &[T], key: &T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

asserting_cmpFunction · 0.85

Tested by

no test coverage detected