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

Function gguf_set_val_bool

external/ggml/src/gguf.cpp:1143–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1141}
1142
1143void gguf_set_val_bool(struct gguf_context * ctx, const char * key, bool val) {
1144 gguf_check_reserved_keys(key, val);
1145 gguf_remove_key(ctx, key);
1146 ctx->kv.emplace_back(key, val);
1147}
1148
1149void gguf_set_val_str(struct gguf_context * ctx, const char * key, const char * val) {
1150 gguf_check_reserved_keys(key, val);

Callers 1

gguf_set_kvFunction · 0.85

Calls 2

gguf_check_reserved_keysFunction · 0.85
gguf_remove_keyFunction · 0.85

Tested by

no test coverage detected