compute left child index of given parent
| 18 | |
| 19 | // compute left child index of given parent |
| 20 | static int __child_left |
| 21 | ( |
| 22 | const int idx |
| 23 | ) { |
| 24 | return idx * 2 + 1; |
| 25 | } |
| 26 | |
| 27 | // compute right child index of given parent |
| 28 | static int __child_right |
no outgoing calls
no test coverage detected