All Projects → BaseMax → HashMapC

BaseMax / HashMapC

Licence: GPL-3.0 license
A tiny library for using easily HashMap, arraylist in the C.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to HashMapC

data-structure-project
自己实现集合框架系列整理总结
Stars: ✭ 29 (+38.1%)
Mutual labels:  array, hashmap, arraylist
Hashmap
HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
Stars: ✭ 363 (+1628.57%)
Mutual labels:  array, hashmap
Massiv
Efficient Haskell Arrays featuring Parallel computation
Stars: ✭ 328 (+1461.9%)
Mutual labels:  array, arrays
Pgo
Go library for PHP community with convenient functions
Stars: ✭ 51 (+142.86%)
Mutual labels:  array, arrays
Cracking The Coding Interview
Solutions for Cracking the Coding Interview - 6th Edition
Stars: ✭ 35 (+66.67%)
Mutual labels:  array, arrays
Mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
Stars: ✭ 321 (+1428.57%)
Mutual labels:  array, hashmap
php-collections
A collection library for php
Stars: ✭ 34 (+61.9%)
Mutual labels:  array, arrays
Java
"Always choose a lazy person to get the job done. A lazy person will always find the easy way out."
Stars: ✭ 16 (-23.81%)
Mutual labels:  hashmaps, arraylist
Async Ray
Provide async/await callbacks for every, find, findIndex, filter, forEach, map, reduce, reduceRight and some methods in Array.
Stars: ✭ 102 (+385.71%)
Mutual labels:  array, arrays
Containers
Containers backed by std.experimental.allocator
Stars: ✭ 111 (+428.57%)
Mutual labels:  array, hashmap
Componentarrays.jl
Arrays with arbitrarily nested named components.
Stars: ✭ 72 (+242.86%)
Mutual labels:  array, arrays
arrays
Yii Array Helper
Stars: ✭ 41 (+95.24%)
Mutual labels:  array, arrays
Ubigeo-Peru
Base de datos de departamentos, provincias y distritos del Perú (UBIGEO) actualizada al 2019 (El INEI ha actualizado hasta el 2016). SQL, JSON, XML, CSV, Arreglos PHP, YAML.
Stars: ✭ 113 (+438.1%)
Mutual labels:  array, arrays
VBA-Better-Array
An array class for VBA providing features found in more modern languages
Stars: ✭ 77 (+266.67%)
Mutual labels:  array, arrays
Public-Method-CardGame-NiuNiu
纸牌游戏牛牛的最优算法及Method
Stars: ✭ 21 (+0%)
Mutual labels:  array
linqjs
Perform queries on collections in the manner of C#s System.Linq in JavaScript
Stars: ✭ 14 (-33.33%)
Mutual labels:  array
C-Complete-practice
This repository will contains C programs from beginners to advance level
Stars: ✭ 59 (+180.95%)
Mutual labels:  arrays
array-keyed-map
JS datastructure, like Map, but the keys are arrays
Stars: ✭ 29 (+38.1%)
Mutual labels:  array
Data-Structures-Algorithms-Handbook
A series of important questions with solutions to crack the coding interview and ace it!
Stars: ✭ 30 (+42.86%)
Mutual labels:  array
scalable-concurrent-containers
High performance containers and utilities for concurrent and asynchronous programming
Stars: ✭ 101 (+380.95%)
Mutual labels:  hashmap

HashMap C

A tiny library for using easily HashMap, arraylist in the C.

Functions

void HashInit(HashMap *array);
void HashAdd(HashMap *array,PairValue *value);
void HashAppend(HashMap *array,HashMap *append);
void HashFreeIndex(HashMap *array,size_t index);
void HashFree(HashMap *array);
int HashDeleteIndex(HashMap *array,size_t index);
void HashDelete(HashMap *array);
PairValue *HashGetIndex(HashMap *array,size_t index);
PairValue *HashGetWithKey(HashMap *array,void *key);
void *HashGetKey(HashMap *array,void *value);
PairValue *HashGetWithValue(HashMap *array,void *value);
void *HashGetValue(HashMap *array,void *key);
PairValue *HashGetEquals(HashMap *array,PairValue *pair);
PairValue *HashGetEqual(HashMap *array,void *key,void *value);

Includes

#include <stdlib.h>

Compile Example

Clone :

$ git clone https://github.com/BaseMax/HashMapC
$ cd HashMapC/

Build Example :

$ gcc example/main.c source/hashmap.c -o example/main
$ example/main
$ gcc source/hashmap.c -o source/hashmap -c -O3
$ gcc example/main.c source/hashmap -o example/main
$ example/main
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].