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

Function llama_model_meta_count

smallthinker/src/llama-model.cpp:14252–14254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14250}
14251
14252int32_t llama_model_meta_count(const llama_model * model) {
14253 return (int)model->gguf_kv.size();
14254}
14255
14256int32_t llama_model_meta_key_by_index(const llama_model * model, int i, char * buf, size_t buf_size) {
14257 if (i < 0 || i >= (int)model->gguf_kv.size()) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected