-
https://github.com/medioqrity/2022-MUSI6106/blob/e16003d68633aeb13cdd4f77be47d3caf85460e1/src/inc/RingBuffer.h#L49
It's a very bad idea to increment the read index when you write something.
I ha…
-
I attempted to fix this by introducing a new ringbuffer for strings (in this case the messages), but I could not properly sync this with the main ringbuffer. I guess, having both images and messages i…
-
Some libqb structs enforce specific alignment like 8 bytes for `struct qb_ipc_request_header`, but it seems that not all the code path handling such a struct enforces that, at least when using the sha…
-
__Reason:__
To prevent possible OOM as in [this issue](https://github.com/hazelcast/hazelcast/issues/17061#issue-633502934):
__Possible signature:__
```
readManyAsync(long startSequence, int min…
-
**Observed behaviour**
Calling `Ringbuffer.addAsync()` in rapid succession from a single thread will result in items being placed on the ringbuffer in an order that is occasionally _different_ from t…
-
```
*** Summary
The 1P3C (1 producer / 3 consumer) test has a comment "// TODO some random
failure here to fix (the sequence number received by the consumer seems ok all
the time but the end result…
-
https://github.com/rfyiamcool/notes/blob/main/golang_bigcache_cache.md
您好,感谢您的分享,很受用。但是在看代码和您的分享过程中发现对于 ringbuffer 扩容场景有点对不上,以下是我个人分析,如有错误还请批评指正,谢谢!
文章中提到第二种扩容场景,如下图所示:
![202304051930272](https:…
-
this project should probably be merged with some others.
see for example https://scimusing.wordpress.com/2013/10/25/ring-buffers-in-pythonnumpy/
http://pastebin.com/ZLcfd9GX
https://github.com/belev…
-
It looks like for now all serial buffers have the same size. This is a bit annoying, as if one may expect a lot of input on a single RX channel for example, one needs to use a lot of RAM increasing th…
-