| 85 | } |
| 86 | |
| 87 | unsigned char swt_max_level(size_t input_len){ |
| 88 | /* check how many times input_len is divisible by 2 */ |
| 89 | unsigned char j = 0; |
| 90 | while (input_len > 0){ |
| 91 | if (input_len % 2) |
| 92 | return j; |
| 93 | input_len /= 2; |
| 94 | j++; |
| 95 | } |
| 96 | return j; |
| 97 | } |
no outgoing calls
no test coverage detected