• Home
  • Raw
  • Download

Lines Matching full:linkedhashmap

1 use hashlink::{linked_hash_map, LinkedHashMap};
5 fn set<'new>(v: LinkedHashMap<&'static str, ()>) -> LinkedHashMap<&'new str, ()> { in assert_covariance()
42 let mut map = LinkedHashMap::new(); in test_index()
52 let mut map = LinkedHashMap::new(); in test_insert_and_get()
62 let mut map = LinkedHashMap::new(); in test_insert_update()
71 let mut map = LinkedHashMap::new(); in test_entry_insert_vacant()
102 let mut map = LinkedHashMap::new(); in test_remove()
122 let mut map = LinkedHashMap::new(); in test_pop()
148 let to_back = |map: &mut LinkedHashMap<_, _>, key| match map.entry(key) { in test_move()
153 let to_front = |map: &mut LinkedHashMap<_, _>, key| match map.entry(key) { in test_move()
158 let mut map = LinkedHashMap::new(); in test_move()
186 let mut map = LinkedHashMap::new(); in test_clear()
197 let mut map = LinkedHashMap::new(); in test_iter()
252 let mut map = LinkedHashMap::new(); in test_borrow()
284 let mut map = LinkedHashMap::new(); in test_iter_mut()
316 let mut map = LinkedHashMap::new(); in test_consuming_iter()
334 let map = LinkedHashMap::<&str, i32>::new(); in test_consuming_iter_empty()
341 let mut map = LinkedHashMap::new(); in test_consuming_iter_with_free_list()
368 let mut map = LinkedHashMap::new(); in test_into_iter_drop()
395 let mut map = LinkedHashMap::new(); in test_drain()
453 is_send_sync::<LinkedHashMap<u32, i32>>(); in test_send_sync()
470 let mut map: LinkedHashMap<String, i32> = xs.iter().map(|i| (i.to_string(), *i)).collect(); in test_retain()
487 let mut map = LinkedHashMap::new(); in test_retain()
503 let mut map1: LinkedHashMap<String, i32> = xs.iter().map(|i| (i.to_string(), *i)).collect(); in test_order_equality()
504 let mut map2: LinkedHashMap<String, i32> = xs.iter().map(|i| (i.to_string(), *i)).collect(); in test_order_equality()
517 let mut map = LinkedHashMap::new(); in test_replace()
546 let mut map = LinkedHashMap::new(); in test_shrink_to_fit_resize()