[PR #1532] [CLOSED] feat: Add Jenkins Lookup3 hash function #2143

Open
opened 2026-01-29 15:29:30 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1532
Author: @cptr0
Created: 11/22/2025
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • e1f7e51 Add 32-bit Jenkins Lookup3 hash
  • a236a2c Minor tweaks
  • bcd8690 Merge pull request #1 from cptr0/cptr0-Lookup3-1
  • 7d25227 Add Lookup3 algorithm to README

📊 Changes

2 files changed (+107 additions, -0 deletions)

View changed files

📝 hash/README.md (+1 -0)
hash/hash_lookup3.c (+106 -0)

📄 Description

Description of Change

I implemented the Jenkins Lookup3 hash function in C.
This includes the hashing function, an example usage, and a test. The implementation follows the algorithm described on the Wikipedia page (linked below).
https://en.wikipedia.org/wiki/Jenkins_hash_function

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1532 **Author:** [@cptr0](https://github.com/cptr0) **Created:** 11/22/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`e1f7e51`](https://github.com/TheAlgorithms/C/commit/e1f7e51af3769ea07274575734a15f2a417fb8d6) Add 32-bit Jenkins Lookup3 hash - [`a236a2c`](https://github.com/TheAlgorithms/C/commit/a236a2cb4ce154f1905fa58f6fcc7c32e96a2af8) Minor tweaks - [`bcd8690`](https://github.com/TheAlgorithms/C/commit/bcd869069aadb93dbc14f5fb4e20d33712371bea) Merge pull request #1 from cptr0/cptr0-Lookup3-1 - [`7d25227`](https://github.com/TheAlgorithms/C/commit/7d25227c416d8932c8296740986c878edc0924ae) Add Lookup3 algorithm to README ### 📊 Changes **2 files changed** (+107 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `hash/README.md` (+1 -0) ➕ `hash/hash_lookup3.c` (+106 -0) </details> ### 📄 Description #### Description of Change I implemented the Jenkins Lookup3 hash function in C. This includes the hashing function, an example usage, and a test. The implementation follows the algorithm described on the Wikipedia page (linked below). https://en.wikipedia.org/wiki/Jenkins_hash_function <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:29:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2143