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

Method get_all_meta

tools/server/server-models.cpp:488–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488std::vector<server_model_meta> server_models::get_all_meta() {
489 std::lock_guard<std::mutex> lk(mutex);
490 std::vector<server_model_meta> result;
491 result.reserve(mapping.size());
492 for (const auto & [name, inst] : mapping) {
493 result.push_back(inst.meta);
494 }
495 return result;
496}
497
498void server_models::unload_lru() {
499 if (base_params.models_max <= 0) {

Callers 1

init_routesMethod · 0.80

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected