Append spans gathered in another buffer (a worker's), re-interned here. */
| 1021 | |
| 1022 | /* Append spans gathered in another buffer (a worker's), re-interned here. */ |
| 1023 | static void gb_append_spans(cbm_gbuf_t *gb, gb_span_vec_t *vec, const gb_span_vec_t *from) { |
| 1024 | for (size_t i = 0; i < from->count; i++) { |
| 1025 | gb_span_t span = from->items[i]; |
| 1026 | span.file = gb_intern(gb, span.file); |
| 1027 | gb_span_push(vec, span); |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | /* A same-QN collision: gather both sides' spans for the surviving node, |
| 1032 | * whichever label wins and however many there are. Call it before the |
no test coverage detected