基于C语言开发的环形缓冲区,适用于各嵌入式平台的串口收发等应用场景;在基本功能的基础上还提供了一个分段记录框架,方便数据管理;代码在AT32F403A平台上编译运行,经过简单的串口收发测试后暂未发现显性BUG; 开始 基础功能 RingBuffer Base 的使用方法 //引用相关头文件#include<stdint.h>#in
基于C语言开发的轻量级环形缓冲区. Contribute to youzhouchang/RingBuffer development by creating an account on GitHub.
RingBuffer——LwRB库(纯C) LwRB (lightweight ring buffer) 是一个轻量级的环形缓冲区,功能强大、高效。 仓库地址GitHub - MaJerle/lwrb: Lightweight generic ring buffer manager library 文档地址LwRB latest-develop documentation — LwRB documentation (majerle.eu) 纯C编写,3.0以上版本使用了C11(用到了stdato...
RingBuffer/src/test.c Go to file Copy path 50 lines (37 sloc)1.15 KB RawBlame #include<glib.h> #include"ringbuffer.h" intmain(intargc,constchar*argv[]) { t_ring_buffer *r =NULL; intelem1 =4; intelem2 =6; intelem3 =2;
A ring buffer (FIFO) library for C and C++. Contribute to t1m013y/RingBuf-c development by creating an account on GitHub.
C ring / circular buffer implementation. Contribute to fabvalaaah/ringbuffer development by creating an account on GitHub.
I implemented c-ringbuf because I needed a simple, dependency-free ring buffer type for use with network services written in C. INSTALLING c-ringbuf is not a library as such, so it doesn't need to be installed. Just copy the ringbuf.[ch] source files into your project. (Also see LI...
https://embedjournal.com/implementing-circular-buffer-embedded-c/ https://towardsdatascience.com/circular-queue-or-ring-buffer-92c7b0193326 https://troydhanson.github.io/uthash/utringbuffer.html https://elexfocus.com/implement-a-circular-buffer-in-c/ http://www.equestionanswers.com/c/c-circu...
I implementedc-ringbufbecause I needed a simple, dependency-free ring buffer type for use with network services written in C. INSTALLING c-ringbufis not a library as such, so it doesn't need to be installed. Just copy theringbuf.[ch]source files into your project. (Also seeLICENSEbelow...
Static size Ring Buffer implementation in C with minimal dependencies and tailored to be fast and have small footprint. This library privileges performance over safety, therefore we do not make safety checks before manipulating the buffer in the C implementation, and very minimal on C++ wrapper. ...