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

Method get_can_shift

subprojects/llama.cpp/src/llama-kv-cache-iswa.cpp:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220bool llama_kv_cache_iswa::get_can_shift() const {
221 return kv_base->get_size() == kv_swa->get_size();
222}
223
224void llama_kv_cache_iswa::state_write(llama_io_write_i & io, llama_seq_id seq_id, llama_state_seq_flags flags) const {
225 if ((flags & LLAMA_STATE_SEQ_FLAGS_PARTIAL_ONLY) == 0) {

Callers

nothing calls this directly

Calls 1

get_sizeMethod · 0.45

Tested by

no test coverage detected