MDGSF / mkits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mkits

A collections of C/C++ language module, from go, nginx, redis, skynet, etc. With many comments and unit test. Just for study.

architecture

  • mckits
    • mlibc: libc wrapper, only use libc, don't call system api in mstl.
    • mstl: only use libc, don't call system api in mstl.
      • hash
      • hashmap
      • heap
      • list
      • nlist
      • rbtree
      • ring
      • skiplist
      • array
      • string
      • vector
    • core
      • log
      • encoding
      • abstract data structure
      • color
      • math
      • meta
      • time
      • os
      • file
      • thread
    • web server
    • tools
    • other module

build

sudo apt install gcc g++ cmake lcov

./build_clang.sh
./build_gcc.sh
./build_gcc_release.sh
./build_coverage.sh

code of conduct

pre-commit

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pre-commit
pre-commit install
pre-commit run --all-files

cpplint

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple cpplint

cppcheck

sudo apt-get install cppcheck

clang-tidy

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple clang-tidy

About

License:MIT License


Languages

Language:C 75.5%Language:C++ 18.5%Language:Python 2.6%Language:CMake 2.5%Language:Shell 0.9%Language:Batchfile 0.0%