{"id":25171585,"url":"https://github.com/basemax/hashmapc","last_synced_at":"2025-11-03T15:02:56.611Z","repository":{"id":151535384,"uuid":"174616466","full_name":"BaseMax/HashMapC","owner":"BaseMax","description":"A tiny library for using easily HashMap, arraylist in the C.","archived":false,"fork":false,"pushed_at":"2019-03-09T19:15:04.000Z","size":56,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T22:47:00.733Z","etag":null,"topics":["array","arraylist","arrays","c","hashmap","hashmaps","maplist"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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,"zenodo":null}},"created_at":"2019-03-08T22:03:32.000Z","updated_at":"2022-12-29T06:38:57.000Z","dependencies_parsed_at":"2023-07-10T14:00:31.483Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/HashMapC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/HashMapC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FHashMapC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FHashMapC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FHashMapC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FHashMapC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/HashMapC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FHashMapC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259382300,"owners_count":22848837,"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":["array","arraylist","arrays","c","hashmap","hashmaps","maplist"],"created_at":"2025-02-09T09:21:13.841Z","updated_at":"2025-11-03T15:02:56.557Z","avatar_url":"https://github.com/BaseMax.png","language":"C","readme":"# HashMap C\n\nA tiny library for using easily HashMap, arraylist in the C.\n\n### Functions\n\n```c\nvoid HashInit(HashMap *array);\nvoid HashAdd(HashMap *array,PairValue *value);\nvoid HashAppend(HashMap *array,HashMap *append);\nvoid HashFreeIndex(HashMap *array,size_t index);\nvoid HashFree(HashMap *array);\nint HashDeleteIndex(HashMap *array,size_t index);\nvoid HashDelete(HashMap *array);\nPairValue *HashGetIndex(HashMap *array,size_t index);\nPairValue *HashGetWithKey(HashMap *array,void *key);\nvoid *HashGetKey(HashMap *array,void *value);\nPairValue *HashGetWithValue(HashMap *array,void *value);\nvoid *HashGetValue(HashMap *array,void *key);\nPairValue *HashGetEquals(HashMap *array,PairValue *pair);\nPairValue *HashGetEqual(HashMap *array,void *key,void *value);\n```\n\n### Includes\n\n```c\n#include \u003cstdlib.h\u003e\n```\n\n## Compile Example\n\n**Clone :**\n\n```\n$ git clone https://github.com/BaseMax/HashMapC\n$ cd HashMapC/\n```\n\n**Build Example :**\n\n```\n$ gcc example/main.c source/hashmap.c -o example/main\n$ example/main\n```\n\n```\n$ gcc source/hashmap.c -o source/hashmap -c -O3\n$ gcc example/main.c source/hashmap -o example/main\n$ example/main\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fhashmapc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fhashmapc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fhashmapc/lists"}