| src/mds.c | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 63 | 221 | 2222 | if (borrowed_arena) { |
| 77 | 1 | 2442 | : mds_simd_get(); |
| 79 | 2 | 2441 | if ((flags & MDS_FLAG_STRICT_UTF8) && len) { |
| 2 | 0 | if ((flags & MDS_FLAG_STRICT_UTF8) && len) { | |
| 80 | 1 | 1 | if (MDS_UNLIKELY(!ops->validate_utf8(input, len))) { |
| 83 | 0 | 1 | if (borrowed_arena) mds_arena_reset(arena); |
| 90 | 2440 | 2 | if (len && len <= 0xFFFFFFFFu) { |
| 2440 | 0 | if (len && len <= 0xFFFFFFFFu) { | |
| 96 | 2440 | 0 | if (offs) { |
| 98 | 0 | 2440 | if (n == (size_t)-1) { |
| 116 | 221 | 2221 | if (borrowed_arena) mds_arena_reset(arena); |