aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986_treap_cache.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-23 20:48:34 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit93f66971f66c14f18aba743b6d0f8b0f557351ca (patch)
tree1568304dd2c33e03a7ecd4b84b4ba48b03670731 /include/cnn1986_treap_cache.h
parent9eb1a379853b088df0ab3a4beae4e79eaead4823 (diff)
Hash collisions
Diffstat (limited to 'include/cnn1986_treap_cache.h')
-rw-r--r--include/cnn1986_treap_cache.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/cnn1986_treap_cache.h b/include/cnn1986_treap_cache.h
index 92208b2..20b2fbc 100644
--- a/include/cnn1986_treap_cache.h
+++ b/include/cnn1986_treap_cache.h
@@ -8,5 +8,10 @@ extern uint32_t cnn1986_num_cached;
int cnn1986_cache_init(void);
void cnn1986_cache_free(void);
-int cnn1986_cache_seek(const uint64_t key, float *out_result);
-int cnn1986_cache_insert(const uint64_t key, const float in_result);
+int cnn1986_cache_seek(const uint64_t key_lo,
+ const uint64_t key_hi,
+ float *out_result);
+
+int cnn1986_cache_insert(const uint64_t key_lo,
+ const uint64_t key_hi,
+ const float in_result);