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

Function gguf_set_val_u64

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

Source from the content-addressed store, hash-verified

1017}
1018
1019void gguf_set_val_u64(struct gguf_context * ctx, const char * key, uint64_t val) {
1020 gguf_check_reserved_keys(key, val);
1021 gguf_remove_key(ctx, key);
1022 ctx->kv.emplace_back(key, val);
1023}
1024
1025void gguf_set_val_i64(struct gguf_context * ctx, const char * key, int64_t val) {
1026 gguf_check_reserved_keys(key, val);

Callers 2

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