Add a description, image, and links to the chashmap topic page so that developers can more easily learn about it. Curate this topic Add this topic to your repo To associate your repository with the chashmap topic, visit your repo's landing page and select "manage topics." Learn ...
A fast hash map/hash table (whatever you want to call it) for the C programming language. - Mashpoe/c-hashmap
since it's unmaintained. @sheredom has a newer version athttps://github.com/sheredom/hashmap.hmain.c contains an example that tests the functionality of the hashmap module. To compile it, run something like this on your system: gcc main.c hashmap.c -o hashmaptest There are no restri...
代码出处:A simple string hashmap in Chttps://github.com/petewarden/c_hashmap main.c (main2是官方源代码,main是博主写的代码,实现了String类型及Char类型的存取,看官可以根据以下代码触类旁通,限于博主的c语言 功底有限,此处的实现仅为poc代码,不保证严谨性以及稳定性,如果使用到生产环境请多斟酌,测试,如...
完整代码:https://github.com/ankun6/HashMap 头文件如下: // // Created by AnKun on 2019/12/3. // #ifndef MYHASHMAP_HASHMAP_H #define MYHASHMAP_HASHMAP_H #include <stdlib.h> #include <string.h> #include <stdint.h> ...
hashmap的C语言实现源代码(适合Linux和Windows)包括: hashmap.c hashmap.h MSVC测试文件: main.c 下面是源代码,最初来自github,我改写了几个地方,并重写了全部测试代码.没有内存泄露,请放心使用. /** * hashmap.h */ #ifndef _HASHMAP_H_INCLUDED #define _HASHMAP_H_INCLUDED #define HMAP_E_OUT...
hashmap C语言实现 hashmap C语言实现 cheungmine 源代码(适合Linux和Windows)包括: hashmap.c hashmap.h MSVC测试文件: main.c 下面是源代码,最初来自github,我改写了几个地方,并重写了全部测试代码.没有内存泄露,请放心使用. /** * hashmap.h
A type-safe hash map implementation for C. Contribute to rxi/map development by creating an account on GitHub.
git clone https://github.com/DavidLeeds/hashmap.git- download the source mkdir build-hashmap && cd build-hashmap- create a build directory outside the source tree cmake ../hashmap- run CMake to setup the build make- compile the code ...
wget_hashmap_hash_fn *hash; // hash function wget_hashmap_compare_fn *cmp; // compare function wget_hashmap_key_destructor *key_destructor; // key destructor function wget_hashmap_value_destructor *value_destructor; // value destructor function ...