MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_escape_whitespace

Function llama_escape_whitespace

llama.cpp:7068–7070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7066}
7067
7068static void llama_escape_whitespace(std::string & text) {
7069 replace_all(text, " ", "\xe2\x96\x81");
7070}
7071
7072static void llama_unescape_whitespace(std::string & word) {
7073 replace_all(word, "\xe2\x96\x81", " ");

Callers 1

llama_tokenize_internalFunction · 0.70

Calls 1

replace_allFunction · 0.70

Tested by

no test coverage detected