MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_hash_contains

Function ggml_hash_contains

ggml.c:15190–15193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15188}
15189
15190bool ggml_hash_contains(struct ggml_hash_set hash_set, struct ggml_tensor * key) {
15191 size_t i = ggml_hash_find(hash_set, key);
15192 return i != GGML_HASHTABLE_FULL && hash_set.keys[i] == key;
15193}
15194
15195size_t ggml_hash_insert(struct ggml_hash_set hash_set, struct ggml_tensor * key) {
15196 size_t i = ggml_hash_find(hash_set, key);

Callers 5

ggml_add_or_setFunction · 0.70
ggml_acc_or_setFunction · 0.70
ggml_add1_or_setFunction · 0.70
ggml_sub_or_setFunction · 0.70

Calls 1

ggml_hash_findFunction · 0.70

Tested by

no test coverage detected