All Projects → XinLiGH → RingBuffer

XinLiGH / RingBuffer

Licence: GPL-3.0 license
模仿 kfifo 实现的环形缓冲区

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to RingBuffer

RingBuffer
Classic ringbuffer with optional Stream interface
Stars: ✭ 53 (-17.19%)
Mutual labels:  buffer, ring-buffer
buffer
DEPRECATED Send social updates to Twitter, Facebook, etc. through Buffer.com via Twig templates, URLs, and plugins.
Stars: ✭ 43 (-32.81%)
Mutual labels:  buffer
Wheel
Quick navigation framework for Vim and Neovim : buffer groups, mru, locate, find, grep, outline, yank, ...
Stars: ✭ 94 (+46.88%)
Mutual labels:  buffer
Luapbintf
Binding Protobuf 3 to Lua 5.3
Stars: ✭ 122 (+90.63%)
Mutual labels:  buffer
Bytearray.js
An equivalent to Actionscript 3's ByteArray for Javascript with AMF0 and AMF3 support.
Stars: ✭ 100 (+56.25%)
Mutual labels:  buffer
File Type
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Stars: ✭ 2,386 (+3628.13%)
Mutual labels:  buffer
Network Avatar Picker
A npm module that returns user's social network avatar. Supported providers: facebook, instagram, twitter, tumblr, vimeo, github, youtube and gmail
Stars: ✭ 74 (+15.63%)
Mutual labels:  buffer
WebServer
High-performance multi-threaded tcp network server in c++11
Stars: ✭ 58 (-9.37%)
Mutual labels:  buffer
go-ringbuf
Lock-free MPMC Ring Buffer (Generic) for SMP, in golang. Some posts in chinese:
Stars: ✭ 43 (-32.81%)
Mutual labels:  ring-buffer
Vim Ctrlspace
Vim Space Controller
Stars: ✭ 1,621 (+2432.81%)
Mutual labels:  buffer
Pex Context
Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
Stars: ✭ 117 (+82.81%)
Mutual labels:  buffer
Oscp Prep
my oscp prep collection
Stars: ✭ 105 (+64.06%)
Mutual labels:  buffer
Flake Idgen
Flake ID generator yields k-ordered, conflict-free ids in a distributed environment in Node.js
Stars: ✭ 196 (+206.25%)
Mutual labels:  buffer
Tbplayer
视频边下边播播,把播放器播放过的数据流缓存到本地,支持拖动。采用avplayer
Stars: ✭ 1,334 (+1984.38%)
Mutual labels:  buffer
NALib
General purpose C sourcecode collection
Stars: ✭ 16 (-75%)
Mutual labels:  buffer
Ieee754
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.
Stars: ✭ 93 (+45.31%)
Mutual labels:  buffer
Reactiveplaybilling
An RxJava wrapper for the Google Play Billing Library
Stars: ✭ 117 (+82.81%)
Mutual labels:  buffer
Ring Buffer
A simple ring buffer (circular buffer) designed for embedded systems.
Stars: ✭ 137 (+114.06%)
Mutual labels:  buffer
ember-validated-form-buffer
A validated form buffer that wraps Ember Data models for use in forms.
Stars: ✭ 46 (-28.12%)
Mutual labels:  buffer
overflow
A command-line tool for exploiting stack-based buffer overflow vulnerabilities.
Stars: ✭ 66 (+3.13%)
Mutual labels:  buffer

RingBuffer

模仿kfifo实现的环形缓冲区。程序中涉及到环形缓冲区的概念,详细介绍见维基百科Circular buffer

开发环境

  • 操作系统:Windows 10 专业版
  • IDE:Visual Studio 2017 专业版

API

  • RingBuffer *RingBuffer_Malloc(uint32_t size)
  • void RingBuffer_Free(RingBuffer *fifo)
  • uint32_t RingBuffer_In(RingBuffer *fifo, const void *in, uint32_t len)
  • uint32_t RingBuffer_Out(RingBuffer *fifo, void *out, uint32_t len)
  • void RingBuffer_Reset(RingBuffer *fifo)
  • uint32_t RingBuffer_Size(RingBuffer *fifo)
  • uint32_t RingBuffer_Len(RingBuffer *fifo)
  • uint32_t RingBuffer_Avail(RingBuffer *fifo)
  • bool RingBuffer_IsEmpty(RingBuffer *fifo)
  • bool RingBuffer_IsFull(RingBuffer *fifo)

运行效果

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].