| 266 | } |
| 267 | |
| 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { |
| 269 | size_t i = ggml_hash_find(hash_set, key); |
| 270 | return i != GGML_HASHSET_FULL && ggml_bitset_get(hash_set->used, i); |
| 271 | } |
| 272 | |
| 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { |
| 274 | size_t h = ggml_hash(key) % hash_set->size; |
nothing calls this directly
no test coverage detected