MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / gguf_get_meta_data

Function gguf_get_meta_data

external/ggml/src/gguf.cpp:1552–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550}
1551
1552size_t gguf_get_meta_size(const struct gguf_context * ctx) {
1553 // only return size
1554 std::vector<int8_t> buf;
1555 gguf_write_to_buf(ctx, buf, /*only_meta =*/ true);
1556 return buf.size();
1557}
1558
1559void gguf_get_meta_data(const struct gguf_context * ctx, void * data) {

Callers

nothing calls this directly

Calls 3

gguf_write_to_bufFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected