Searched refs:try_insert (Results 1 – 8 of 8) sorted by relevance
| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | bforest_set.rs | 12 set.try_insert(Key(i), &mut forest, &())?; in bforest_set()
|
| H A D | bforest_map.rs | 12 map.try_insert(Key(i), i, &mut forest, &())?; in bforest_map()
|
| H A D | secondary_map.rs | 27 map.try_insert(Key::from_u32(42), 100)?; in secondary_map_try_insert()
|
| /wasmtime-44.0.1/cranelift/bforest/src/ |
| H A D | set.rs | 117 pub fn try_insert<C: Comparator<K>>( in try_insert() function 123 self.cursor(forest, comp).try_insert(key) in try_insert() 291 self.try_insert(elem).panic_on_oom() in insert() 295 pub fn try_insert(&mut self, elem: K) -> Result<bool, OutOfMemory> { in try_insert() function
|
| H A D | map.rs | 144 pub fn try_insert<C: Comparator<K>>( in try_insert() function 151 self.cursor_mut(forest, comp).try_insert(key, value) in try_insert() 402 self.try_insert(root, pool, key, value, comp).panic_on_oom() in insert() 405 fn try_insert( in try_insert() function 621 pub fn try_insert(&mut self, key: K, value: V) -> Result<Option<V>, OutOfMemory> { in try_insert() function 623 .try_insert(self.root, self.pool, key, value, self.comp) in try_insert()
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | map.rs | 116 self.try_insert(k, v).panic_on_oom() in insert() 120 pub fn try_insert(&mut self, k: K, v: V) -> Result<Option<V>, OutOfMemory> { in try_insert() function
|
| /wasmtime-44.0.1/crates/environ/src/collections/ |
| H A D | btree_map.rs | 94 match self.map.try_insert(key, id, &mut self.forest, &()) { in insert() 492 match e.cursor.try_insert(e.key, id) { in or_insert_with_key() 638 match self.cursor.try_insert(self.key, id) { in insert_entry()
|
| H A D | secondary_map.rs | 79 self.inner.try_insert(k, v) in insert()
|