{"id":18603745,"url":"https://github.com/abdullahselek/hashtablecxx","last_synced_at":"2025-05-16T18:33:07.468Z","repository":{"id":71932963,"uuid":"93235757","full_name":"abdullahselek/hashtablecxx","owner":"abdullahselek","description":"Generic Hashtable implementation with C++.","archived":false,"fork":false,"pushed_at":"2017-06-05T18:32:53.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T23:26:33.315Z","etag":null,"topics":["cpp","generic","hashtable","library"],"latest_commit_sha":null,"homepage":"","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/abdullahselek.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":"2017-06-03T08:44:59.000Z","updated_at":"2017-06-05T14:54:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4865924-831f-4b62-a21a-a271282e8e94","html_url":"https://github.com/abdullahselek/hashtablecxx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fhashtablecxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fhashtablecxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fhashtablecxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fhashtablecxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/hashtablecxx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239394672,"owners_count":19631117,"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","generic","hashtable","library"],"created_at":"2024-11-07T02:15:23.771Z","updated_at":"2025-02-18T01:45:49.424Z","avatar_url":"https://github.com/abdullahselek.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hashtablecxx\n\n[![Build Status](https://travis-ci.org/abdullahselek/hashtablecxx.svg?branch=master)](https://travis-ci.org/abdullahselek/hashtablecxx)\n[![Build status](https://ci.appveyor.com/api/projects/status/x31uas0xbaef2fnd?svg=true)](https://ci.appveyor.com/project/abdullahselek/hashtablecxx)\n\nHashtable implementation with C++.\n\n## Building Repository\n\nTo build the repository you need CMake. You can download from [here](https://cmake.org/download/).\nYou can create a shortcut ```cmake``` command for macOS as below\n\n```\nsudo mkdir -p /usr/local/bin\nsudo /Applications/CMake.app/Contents/bin/cmake-gui --install=/usr/local/bin\n```\n\nAfter cloning repository to your own local machine go to project root folder and run\n\n```\ncmake .\n```\n\nand then\n\n```\ncmake --build .\n```\n\nto run unit tests for UNIX machines\n\n```\ncd test\n./tests\n```\n\nand for Windows machines\n\n```\ncd test/Debug/\ntests.exe\n```\n\n## Sample Usage\n\nInstantiate hashtable as below with your custom size and custom value\n\n```\nHashTable\u003cint, std::string, 4\u003e hashTable;\n```\n\nPut a new value with key and value\n\n```\nhashtable.put(0, \"zero\");\n```\n\nSearching for a value with key\n\n```\nNode\u003cint, std::string\u003e *node = hashtable.search(0);\n```\n\nRemoving a node with key\n\n```\nNode\u003cint, std::string\u003e *removedNode = hashTable.remove(0);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fhashtablecxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2Fhashtablecxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fhashtablecxx/lists"}