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

Function gguf_set_val_u32

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

Source from the content-addressed store, hash-verified

999}
1000
1001void gguf_set_val_u32(struct gguf_context * ctx, const char * key, uint32_t val) {
1002 gguf_check_reserved_keys(key, val);
1003 gguf_remove_key(ctx, key);
1004 ctx->kv.emplace_back(key, val);
1005}
1006
1007void gguf_set_val_i32(struct gguf_context * ctx, const char * key, int32_t val) {
1008 gguf_check_reserved_keys(key, val);

Callers 6

run_mergeMethod · 0.85
save_imatrixMethod · 0.85
add_kvMethod · 0.85
get_random_gguf_contextFunction · 0.85
gguf_set_kvFunction · 0.85

Calls 2

gguf_check_reserved_keysFunction · 0.85
gguf_remove_keyFunction · 0.85

Tested by 1

get_random_gguf_contextFunction · 0.68