https://github.com/e-dant/salmagundi Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners + Executive Insights * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} e-dant / salmagundi Public * Notifications You must be signed in to change notification settings * Fork 0 * Star 115 A small, portable, linear probing hash map License MIT license 115 stars 0 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 1 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights e-dant/salmagundi release BranchesTags [ ] Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 25 Commits include include src src tests tests tools tools .clang-format .clang-format .gitignore .gitignore build.sh build.sh license.apache-2.0 license.apache-2.0 license.mit license.mit meson.build meson.build readme.md readme.md test.sh test.sh View all files Repository files navigation * README * MIT license Salmagundi A small, portable, linear-probing hash map in C. #include "salmagundi.h" #include void do_stuff(void) { hm_t* map = hm_open(hm_hash_rapidhash, hm_cmp_str); char* k = "k"; char* v = "v"; hm_put(map, k, strlen(k), v, strlen(v)); hm_item_t stored = hm_get(map, k, strlen(k)); assert(memcmp(stored.k, k, strlen(k)) == 0); assert(memcmp(stored.v, v, strlen(v)) == 0); hm_close(map); } About A small, portable, linear probing hash map Resources Readme License MIT license Activity Stars 115 stars Watchers 2 watching Forks 0 forks Report repository Releases No releases published Packages 0 No packages published Languages * C 93.5% * Shell 3.8% * Meson 2.7% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.