Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hattrie_get assert #33

Open
adamyg opened this issue Apr 29, 2019 · 0 comments
Open

hattrie_get assert #33

adamyg opened this issue Apr 29, 2019 · 0 comments

Comments

@adamyg
Copy link

adamyg commented Apr 29, 2019

Under the test case of 1M random keys 1 .. 2048 bytes in length, the len == 0 condition within hattrie_get shall be triggered; the resulting bucket type shall be NODE_TYPE_PURE_BUCKET.

assert(*node.flag & NODE_TYPE_PURE_BUCKET || *node.flag & NODE_TYPE_HYBRID_BUCKET);
assert(len > 0);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant