Home
last modified time | relevance | path

Searched refs:required_cap (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/rust/alloc/
Draw_vec.rs433 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized() localVariable
437 let cap = cmp::max(self.cap * 2, required_cap); in grow_amortized()