2023-10-11 17:44:48 +06:00
2023-09-28 23:57:40 +06:00
2015-09-18 18:20:57 +08:00
2022-11-22 10:50:51 +03:00

crc

crc16/crc32/crc64

Build

git clone https://github.com/gityf/crc.git
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=1 -DCRC_TESTS=1
make 

Testing

./crc_test 
[ RUN      ] ==== Test CRC8Test.BasicTest
[ RUN      ] ==== Test CRC16Test.BasicTest
[ RUN      ] ==== Test CRC32Test.BasicTest
[ RUN      ] ==== Test CRC64Test.BasicTest
[ RUN      ] ==== Test CRC8PolyTest.BasicTest
[ RUN      ] ==== Test CRC16PolyTest.BasicTest
[ RUN      ] ==== Test CRC32PolyTest.BasicTest
[ PASS     ] ==== PASSED 7 tests
[ NOPASS   ] ==== ERROR 0 tests

Include

Cmake build system

add_subdirectory(crc)

target_link_libraries(${PROJECT_NAME} PUBLIC crc)

S
Description
镜像自GitHub仓库
Readme
101 KiB
Languages
C 60%
C++ 33.3%
Makefile 4%
CMake 2.7%