Searched refs:shrink_to (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/hashbrown/ |
D | CHANGELOG.md | 219 - Changed shrink_to to not panic if min_capacity < capacity. (#67)
|
/external/rust/crates/hashbrown/src/ |
D | set.rs | 623 pub fn shrink_to(&mut self, min_capacity: usize) { in shrink_to() function 624 self.map.shrink_to(min_capacity) in shrink_to()
|
D | map.rs | 848 .shrink_to(0, make_hasher::<K, _, V, S>(&self.hash_builder)); in shrink_to_fit() 875 pub fn shrink_to(&mut self, min_capacity: usize) { in shrink_to() function 877 .shrink_to(min_capacity, make_hasher::<K, _, V, S>(&self.hash_builder)); in shrink_to()
|
/external/rust/crates/hashbrown/src/raw/ |
D | mod.rs | 605 pub fn shrink_to(&mut self, min_size: usize, hasher: impl Fn(&T) -> u64) { in shrink_to() method
|