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

Method get

examples/server/json.hpp:11826–11830  ·  view source on GitHub ↗

! @brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case the input reached EOF, but returns a -'ve valued `std::char_traits ::eof()` in that case. @return character read from the input */

Source from the content-addressed store, hash-verified

11824 @return character read from the input
11825 */
11826 char_int_type get()
11827 {
11828 ++chars_read;
11829 return current = ia.get_character();
11830 }
11831
11832 /*!
11833 @return character read from the input after ignoring all 'N' entries

Callers 15

from_fileMethod · 0.45
_translate_tensor_keyMethod · 0.45
_set_vocab_gpt2Method · 0.45
set_gguf_parametersMethod · 0.45
write_tensorsMethod · 0.45
loadPredictorJsonMethod · 0.45
type_for_tensorMethod · 0.45
loadHFTransformerJsonMethod · 0.45
__init__Method · 0.45
convert_model_namesFunction · 0.45

Calls 1

get_characterMethod · 0.45

Tested by

no test coverage detected