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

Function add

examples/server/json.hpp:8702–8705  ·  view source on GitHub ↗

add a character to token_buffer

Source from the content-addressed store, hash-verified

8700
8701 /// add a character to token_buffer
8702 void add(char_int_type c)
8703 {
8704 token_buffer.push_back(static_cast<typename string_t::value_type>(c));
8705 }
8706
8707 public:
8708 /////////////////////

Callers 4

next_byte_in_rangeMethod · 0.70
scan_stringMethod · 0.70
scan_numberMethod · 0.70
llm_offload_trieMethod · 0.50

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected