MCPcopy Create free account
hub / github.com/antirez/ds4 / tokens_remove

Function tokens_remove

ds4_cli.c:1014–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012 ds4_tokens_push(&prefix, token);
1013 if (ds4_session_eval(live, token, err, sizeof(err)) != 0) {
1014 fprintf(stderr, "ds4: decode failed during consistency check: %s\n", err);
1015 ds4_session_free(live);
1016 ds4_tokens_free(&prefix);
1017 free(live_logits);
1018 free(fresh_logits);
1019 return 1;
1020 }
1021 if (ds4_token_is_stop(engine, token)) break;
1022 }
1023

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected