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

Function to_string

smallthinker/tools/cvector-generator/cvector-generator.cpp:299–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298template <typename T>
299static std::string to_string(const T & val) {
300 std::stringstream ss;
301 ss << val;
302 return ss.str();
303}
304
305static std::vector<std::string> ctrlvec_load_prompt_file(std::string path, bool skip_empty_lines) {
306 std::vector<std::string> output;

Callers 15

build_v_diffMethod · 0.70
ggml_ne_stringFunction · 0.50
gguf_data_to_strFunction · 0.50
cbMethod · 0.50
get_valuesMethod · 0.50
mainFunction · 0.50
utils.hppFile · 0.50
fnv_hashFunction · 0.50
mainFunction · 0.50
save_imatrixMethod · 0.50
test_regexFunction · 0.50

Calls 1

strMethod · 0.45

Tested by 9

test_regexFunction · 0.40
var_to_strFunction · 0.40
get_handcrafted_fileFunction · 0.40
handcrafted_check_kvFunction · 0.40
get_random_gguf_contextFunction · 0.40