Lines Matching refs:depth
36 depth: u32, field
52 level: self.depth, in insert()
110 self.entry_with_depth(ctx, key, self.depth()) in entry()
114 pub fn entry_with_depth<'a, C>(&'a mut self, ctx: &C, key: K, depth: usize) -> Entry<'a, K, V> in entry_with_depth()
118 debug_assert!(depth <= self.generation_by_depth.len()); in entry_with_depth()
119 let generation = self.generation_by_depth[depth]; in entry_with_depth()
120 let depth = depth as u32; in entry_with_depth() localVariable
130 depth, in entry_with_depth()
137 depth, in entry_with_depth()
162 self.insert_if_absent_with_depth(ctx, key, value, self.depth()); in insert_if_absent()
167 pub fn insert_if_absent_with_depth<C>(&mut self, ctx: &C, key: K, value: V, depth: usize) in insert_if_absent_with_depth()
171 match self.entry_with_depth(ctx, key, depth) { in insert_if_absent_with_depth()
184 pub fn insert_with_depth<C>(&mut self, ctx: &C, key: K, value: V, depth: usize) in insert_with_depth()
190 level: depth as u32, in insert_with_depth()
191 generation: self.generation_by_depth[depth], in insert_with_depth()
208 pub fn depth(&self) -> usize { in depth() function