MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / push_back

Method push_back

tools/server/server-common.cpp:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void server_tokens::push_back(llama_token tok) {
348 if (tok == LLAMA_TOKEN_NULL) {
349 throw std::runtime_error("Invalid token");
350 }
351 tokens.emplace_back(tok);
352}
353
354void server_tokens::push_back(const mtmd_input_chunk * chunk) {
355 auto type = mtmd_input_chunk_get_type(chunk);

Callers 15

mainFunction · 0.45
save_tensor_for_layerMethod · 0.45
calc_diffMethod · 0.45
filter_nonzero_rowsMethod · 0.45
train_contextMethod · 0.45
build_v_diffMethod · 0.45
padding_seqMethod · 0.45
ctrlvec_load_prompt_fileFunction · 0.45
mainFunction · 0.45
lora_merge_ctxMethod · 0.45
run_mergeMethod · 0.45
parse_optionsFunction · 0.45

Calls 8

mtmd_input_chunk_copyFunction · 0.85
endMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
getMethod · 0.45

Tested by 15

simple_assist_msgFunction · 0.36
test_peg_parserFunction · 0.36
decodeMethod · 0.36
test_backend_max_outputsFunction · 0.36
collect_tests_to_runFunction · 0.36
run_multipleFunction · 0.36
main_automated_testsFunction · 0.36
print_resultMethod · 0.36