Skip to content

Instantly share code, notes, and snippets.

View junhuanchen's full-sized avatar
🐈
Coding & Blogging

Juwan junhuanchen

🐈
Coding & Blogging
View GitHub Profile
@junhuanchen
junhuanchen / crc32.h
Created December 12, 2023 14:15 — forked from timepp/crc32.h
simplest crc32 c++ implementation
#pragma once
#include <stdint.h>
struct crc32
{
static void generate_table(uint32_t(&table)[256])
{
uint32_t polynomial = 0xEDB88320;
for (uint32_t i = 0; i < 256; i++)
@junhuanchen
junhuanchen / 2.gif
Created April 12, 2021 14:56 — forked from qitas/2.gif
⁣⁣⁣⁣ 
2.gif
@junhuanchen
junhuanchen / 3.gif
Created April 12, 2021 14:56 — forked from qitas/3.gif
⁣⁣⁣⁣ 
3.gif
@junhuanchen
junhuanchen / 4.gif
Created April 12, 2021 14:56 — forked from qitas/4.gif
⁣⁣⁣⁣ 
4.gif
@junhuanchen
junhuanchen / 1.GIF
Created April 12, 2021 14:56 — forked from qitas/1.GIF
⁣⁣⁣⁣ 
1.GIF