Lines Matching refs:NullCtx
219 use crate::ctxhash::NullCtx;
225 match map.entry(&NullCtx, 0) { in basic()
229 match map.entry(&NullCtx, 2) { in basic()
233 match map.entry(&NullCtx, 2) { in basic()
238 match map.entry(&NullCtx, 2) { in basic()
242 match map.entry(&NullCtx, 1) { in basic()
246 match map.entry(&NullCtx, 1) { in basic()
250 match map.entry(&NullCtx, 0) { in basic()
254 match map.entry(&NullCtx, 2) { in basic()
259 match map.entry(&NullCtx, 0) { in basic()
263 match map.entry(&NullCtx, 2) { in basic()
268 match map.entry(&NullCtx, 2) { in basic()
272 match map.entry(&NullCtx, 1) { in basic()
276 match map.entry(&NullCtx, 1) { in basic()
280 match map.entry(&NullCtx, 2) { in basic()
288 match map.entry(&NullCtx, 2) { in basic()
292 match map.entry(&NullCtx, 1) { in basic()
296 match map.entry(&NullCtx, 1) { in basic()
300 match map.entry(&NullCtx, 2) { in basic()
307 match map.entry(&NullCtx, 2) { in basic()
311 match map.entry(&NullCtx, 1) { in basic()
320 map.insert_if_absent(&NullCtx, 1, 2); in insert_arbitrary_depth()
321 assert_eq!(map.get(&NullCtx, &1), Some(&2)); in insert_arbitrary_depth()
323 assert_eq!(map.get(&NullCtx, &1), Some(&2)); in insert_arbitrary_depth()
324 map.insert_if_absent(&NullCtx, 3, 4); in insert_arbitrary_depth()
325 assert_eq!(map.get(&NullCtx, &3), Some(&4)); in insert_arbitrary_depth()
327 assert_eq!(map.get(&NullCtx, &3), None); in insert_arbitrary_depth()
329 map.insert_if_absent_with_depth(&NullCtx, 3, 4, 0); in insert_arbitrary_depth()
330 assert_eq!(map.get(&NullCtx, &3), Some(&4)); in insert_arbitrary_depth()
332 assert_eq!(map.get(&NullCtx, &3), Some(&4)); in insert_arbitrary_depth()