compute right child index of given parent
| 26 | |
| 27 | // compute right child index of given parent |
| 28 | static int __child_right |
| 29 | ( |
| 30 | const int idx |
| 31 | ) { |
| 32 | return idx * 2 + 2; |
| 33 | } |
| 34 | |
| 35 | // compute parent index for given child |
| 36 | static int __parent |
no outgoing calls
no test coverage detected