MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / tf_only_suite_run

Function tf_only_suite_run

tests/test_main.c:1017–1028  ·  view source on GitHub ↗

Returns the first token of `suite` and stores one past its last. */

Source from the content-addressed store, hash-verified

1015
1016/* Returns the first token of `suite` and stores one past its last. */
1017static size_t tf_only_suite_run(const char *suite, size_t *end_out) {
1018 size_t first = 0;
1019 while (first < tf_only_count && strcmp(tf_only_tokens[first].suite, suite) != 0) {
1020 first++;
1021 }
1022 size_t end = first;
1023 while (end < tf_only_count && strcmp(tf_only_tokens[end].suite, suite) == 0) {
1024 end++;
1025 }
1026 *end_out = end;
1027 return first;
1028}
1029
1030static void tf_only_raise(size_t first, size_t end, tf_only_state_t state) {
1031 for (size_t i = first; i < end; i++) {

Callers 2

tf_suite_enterFunction · 0.85
suite_requestedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected