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

Function gguf_get_n_kv

ggml/src/gguf.cpp:884–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884int64_t gguf_get_n_kv(const struct gguf_context * ctx) {
885 return ctx->kv.size();
886}
887
888int64_t gguf_find_key(const struct gguf_context * ctx, const char * key) {
889 // return -1 if key not found

Callers 15

clip_model_loaderMethod · 0.85
load_hparamsMethod · 0.85
llama_model_loaderMethod · 0.85
handcrafted_check_headerFunction · 0.85
all_kv_in_otherFunction · 0.85
test_roundtripFunction · 0.85
test_gguf_set_kvFunction · 0.85
gguf_ex_read_0Function · 0.85
gguf_ex_read_1Function · 0.85
gguf_find_keyFunction · 0.85
gguf_get_keyFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 4

handcrafted_check_headerFunction · 0.68
all_kv_in_otherFunction · 0.68
test_roundtripFunction · 0.68
test_gguf_set_kvFunction · 0.68