Skip to content

udev_list.c: implement hash map#31

Draft
illiliti wants to merge 2 commits intomasterfrom
hash_map
Draft

udev_list.c: implement hash map#31
illiliti wants to merge 2 commits intomasterfrom
hash_map

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 added 2 commits June 7, 2021 22:28
We don't do any globbing on udev_enumerate->devices entries
@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