Check if src at position p starts with literal str of known length. */
| 94 | |
| 95 | /* Check if src at position p starts with literal str of known length. */ |
| 96 | static bool at_prefix(const char *p, const char *end, const char *prefix, int prefix_len) { |
| 97 | return p + prefix_len <= end && memcmp(p, prefix, (size_t)prefix_len) == 0; |
| 98 | } |
| 99 | |
| 100 | /* ── Per-worker collection ─────────────────────────────────────── */ |
| 101 |
no outgoing calls
no test coverage detected