| 207 | } |
| 208 | |
| 209 | uint32_t |
| 210 | NodeIndex::level() const |
| 211 | { |
| 212 | if ((val & one) == 0) { |
| 213 | return 0; |
| 214 | } |
| 215 | |
| 216 | uint32_t k = 0; |
| 217 | while (((val >> k) & one) == 1) { |
| 218 | k += 1; |
| 219 | } |
| 220 | return k; |
| 221 | } |
| 222 | |
| 223 | } // namespace mlspp |
no outgoing calls
no test coverage detected