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

Method str

smallthinker/common/chat-parser.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::string common_chat_msg_parser::str(const common_string_range & rng) const {
28 GGML_ASSERT(rng.begin <= rng.end);
29 return input_.substr(rng.begin, rng.end - rng.begin);
30}
31
32void common_chat_msg_parser::add_content(const std::string &content) {
33 result_.content += content;

Callers 15

addMethod · 0.45
to_stringMethod · 0.45
common_get_hf_fileFunction · 0.45
get_all_kv_cache_typesFunction · 0.45
string_joinFunction · 0.45
string_fromFunction · 0.45
searchMethod · 0.45
try_find_regexMethod · 0.45
consume_regexMethod · 0.45

Calls 1

substrMethod · 0.80

Tested by

no test coverage detected