mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
Standalone C libraries
- Each sub-folder is independent, consists one .c and .h pair, just copy these files to your project.
Libraries
array | Generic growable array |
crc32 | Crc32 implementation contains hardware & software versions |
heap | Heap implementation which can be used as minheap/max heap/priority queue |
ini | Ini file parser |
linked-list | Intrusive linked-list which can be used as queue/dequeue/stack etc. |
logger | Logger which is configurable to deliver logs to file/stdout/callback. |
map | Generic hashmap |
mutex | Mutex wrapper for POSIX and Windows |
perf | Simple benchmarking tool for Linux |
queue | Generic queue implementation which can be used as queue/dequeue/stack etc. |
string | Length prefixed string with a few utility functions |
time | Time functions for POSIX and Windows |
timer | Hashed timer wheel implementation |
Tests
CI runs on
OS | Linux, Windows, macOs, FreeBSD |
Arch | x64, x86, s390x, arm6, arm7, aarch64, ppc64le |
Compiler | gcc, clang, msvc |
Description
Common libraries and data structures for C.
algorithmalgorithmsccollectionsdata-structuresgenerichashmaphashtableheaplibrarylinked-listloggerpriority-queuequeuesocketstackthreadtimervector
Readme
BSD-3-Clause
1.2 MiB
Languages
C
84.8%
CMake
15.2%