Function report |
Source Code:lib\rbtree_test.c |
Create Date:2022-07-28 07:21:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check
Proto:static void check(int nr_nodes)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | nr_nodes |
195 | prev_key = 0 |
199 | WARN_ON_ONCE(key < prev_key) |
202 | If Not count Then blacks = black_path_count(rb) |
204 | Else WARN_ON_ONCE((!rb_left || !rb_right) && blacks != black_path_count(rb)) |
208 | count++ |
211 | WARN_ON_ONCE(count != nr_nodes) |
212 | WARN_ON_ONCE(count < (1 << black_path_count(rb_last( & rb_root))) - 1) |
214 | check_postorder(nr_nodes) |
Name | Describe |
---|---|
check_augmented | |
rbtree_test_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |