{"id":17047436,"url":"https://github.com/agauniyal/canmap","last_synced_at":"2025-06-20T13:34:59.107Z","repository":{"id":98977208,"uuid":"129588916","full_name":"agauniyal/canmap","owner":"agauniyal","description":"different hashmap implementations","archived":false,"fork":false,"pushed_at":"2018-04-18T09:05:16.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T03:44:10.120Z","etag":null,"topics":["cpp","cpp17","hashmap"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agauniyal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-15T07:55:26.000Z","updated_at":"2018-07-27T14:59:36.000Z","dependencies_parsed_at":"2023-04-05T10:29:50.340Z","dependency_job_id":null,"html_url":"https://github.com/agauniyal/canmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agauniyal/canmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fcanmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fcanmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fcanmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fcanmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agauniyal","download_url":"https://codeload.github.com/agauniyal/canmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2Fcanmap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260953602,"owners_count":23088066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cpp17","hashmap"],"created_at":"2024-10-14T09:49:28.946Z","updated_at":"2025-06-20T13:34:54.090Z","avatar_url":"https://github.com/agauniyal.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# canmap\ndifferent hashmap implementations\n\n```cpp\n#include \"include/solid_bucket.hpp\"\n#include \u003ciostream\u003e\n#include \u003cstring\u003e\n\nint main()\n{\n    HashMap\u003cstd::string, double\u003e map{};\n    std::cout \u003c\u003c map.size() \u003c\u003c '-' \u003c\u003c std::boolalpha \u003c\u003c map.empty() \u003c\u003c '\\n';\n    map[\"Pi\"]    = 112.0;\n    map[\"Blue\"]  = 123.45;\n    map[\"Pi\"]    = (22 / 7);\n    map[\"Hello\"] = 2324.001;\n    std::cout \u003c\u003c map.size() \u003c\u003c '-' \u003c\u003c std::boolalpha \u003c\u003c map.empty() \u003c\u003c '\\n';\n    std::cout \u003c\u003c \"Value of Pi: \" \u003c\u003c map[\"Pi\"] \u003c\u003c '\\n';\n    map.for_each([](const auto \u0026key, const auto \u0026value) {\n        std::cout \u003c\u003c key \u003c\u003c \": \" \u003c\u003c value \u003c\u003c '\\n';\n    });\n    std::cout \u003c\u003c std::boolalpha \u003c\u003c (map.count(\"Pi\") == 1) \u003c\u003c '\\n';\n    map.erase(\"Pi\");\n    std::cout \u003c\u003c std::boolalpha \u003c\u003c (map.count(\"Pi\") == 0) \u003c\u003c '\\n';\n    std::cout \u003c\u003c map.size() \u003c\u003c '-' \u003c\u003c std::boolalpha \u003c\u003c map.empty() \u003c\u003c '\\n';\n    map.clear();\n    std::cout \u003c\u003c map.size() \u003c\u003c '-' \u003c\u003c std::boolalpha \u003c\u003c map.empty() \u003c\u003c '\\n';\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fcanmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagauniyal%2Fcanmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fcanmap/lists"}