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

udev_list.c: implement hash map #31

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

udev_list.c: implement hash map #31

wants to merge 2 commits into from

Conversation

illiliti
Copy link
Owner

@illiliti illiliti commented Jun 7, 2021

Implement open addressing(linear probing) growing hash map with separate singly linked list(to fulfil udev API requirements). The choice of MurmurHash2 was done based upon this link -> https://www.strchr.com/hash_functions

@illiliti illiliti marked this pull request as draft September 3, 2021 16:22

data2 = (const unsigned char *)data;

switch (len & 0x7) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this Duff's device in 2021?

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

Successfully merging this pull request may close these issues.

2 participants