MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / get_size

Method get_size

subprojects/llama.cpp/src/llama-kv-cache.cpp:980–984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

978}
979
980uint32_t llama_kv_cache::get_size() const {
981 const auto & cells = v_cells[seq_to_stream[0]];
982
983 return cells.size();
984}
985
986uint32_t llama_kv_cache::get_n_stream() const {
987 return n_stream;

Callers 6

get_can_shiftMethod · 0.45
build_rsMethod · 0.45
build_mamba_layerMethod · 0.45
build_mamba2_layerMethod · 0.45

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected