Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dbforest_set.rs12 set.try_insert(Key(i), &mut forest, &())?; in bforest_set()
H A Dbforest_map.rs12 map.try_insert(Key(i), i, &mut forest, &())?; in bforest_map()
H A Dsecondary_map.rs27 map.try_insert(Key::from_u32(42), 100)?; in secondary_map_try_insert()
/wasmtime-44.0.1/cranelift/bforest/src/
H A Dset.rs117 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 Dmap.rs144 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 Dmap.rs116 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 Dbtree_map.rs94 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 Dsecondary_map.rs79 self.inner.try_insert(k, v) in insert()