Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Drbtree.rs963 let mut gparent; in insert_fixup() localVariable
967 gparent = parent.parent(); in insert_fixup()
969 if parent == gparent.left() { in insert_fixup()
971 let mut uncle = gparent.right(); in insert_fixup()
975 gparent.set_red_color(); in insert_fixup()
976 node = gparent; in insert_fixup()
990 gparent.set_red_color(); in insert_fixup()
991 self.right_rotate(gparent); in insert_fixup()
994 let mut uncle = gparent.left(); in insert_fixup()
998 gparent.set_red_color(); in insert_fixup()
[all …]