Sources must be counted into first[src + 1] before this; turns the counts * into offsets. */
| 195 | /* Sources must be counted into first[src + 1] before this; turns the counts |
| 196 | * into offsets. */ |
| 197 | static void tld_graph_offsets(tld_graph_t *g) { |
| 198 | for (int64_t id = 1; id <= g->maxid + 1; id++) { |
| 199 | g->first[id] += g->first[id - 1]; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | static void tld_key_set(tld_graph_t *g, int64_t id, const char *qn, const char *file, int line) { |
| 204 | if (id >= 1 && id <= g->maxid) { |
no outgoing calls
no test coverage detected