Giter Site home page Giter Site logo

crc's Introduction

crc

CRC-8 CRC-16 CRC-32 循环冗余校验码 代码实现

技术博文参考:https://seedeer.github.io/2022/03/20/crc/

网页在线计算:http://www.ip33.com/crc.html

bilibili:https://www.bilibili.com/video/BV1V4411Z7VA/?spm_id_from=333.337.search-card.all.click&vd_source=7a95184f6ac08f37f2e1fc1ee4a4467c

scripts 路径下有python3版本

使用cmake 可以编译为so文件,编译选项CUSTOM_COMPILE_OPTIONS设置为"1"为编译为so,"0"就是可执行文件

其中,编译为so文件时,会将头文件一并放入编译路径,与so同路径

如果要加入到其它cmake工程中:

需要在CMakeLists.txt文件末尾加入:add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/crc)

这里假设crc这个文件夹放到了与外层cmake文件同级的路径

crc.h头文件和libcrc.so文件会被放到主cmake路径下生成的build内的crc文件夹里

crc's People

Contributors

rosenyin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.