提交 46617a42 编写于 作者: B Behdad Esfahbod

Fix cache implementation

上级 ce476138
......@@ -49,6 +49,8 @@ struct hb_cache_t
unsigned int v = values[k];
if ((v >> value_bits) != (key >> cache_bits))
return false;
*value = v & ((1<<value_bits)-1);
return true;
}
inline bool set (unsigned int key, unsigned int value)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册