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

Function gguf_get_meta_data

subprojects/llama.cpp/ggml/src/gguf.cpp:1437–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1435}
1436
1437void gguf_get_meta_data(const struct gguf_context * ctx, void * data) {
1438 std::vector<int8_t> buf;
1439 gguf_write_to_buf(ctx, buf, /*only_meta =*/ true);
1440 memcpy(data, buf.data(), buf.size());
1441}

Callers 4

run_mergeMethod · 0.85
writeMethod · 0.85
gguf_mergeFunction · 0.85

Calls 3

gguf_write_to_bufFunction · 0.85
sizeMethod · 0.65
dataMethod · 0.45

Tested by

no test coverage detected