Add Modulo Wrap-Around Logic
@mcquerol 已经在做这个了。
开始于 2025年5月8日。
评估
这个 Issue 还没有评估数据。
描述
Goal: Prevent readIndex and writeIndex from exceeding array bounds.
- Modify
write()andread()to use % N after incrementing indexes. - Optional: create a helper function
wrap(size_t index)to improve readability.
- 主要语言
- C++
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mcquerol/ringbuffer-cpp 的其他 Issue
-
add github pages 未关闭documentation
mcquerol/ringbuffer-cpp#5 · 已指派 1 人 ·
-
add Doxygen 未关闭documentation
mcquerol/ringbuffer-cpp#4 · 已指派 1 人 ·
-
add README.md 未关闭documentation
mcquerol/ringbuffer-cpp#3 · 已指派 1 人 ·
-
enhancement
mcquerol/ringbuffer-cpp#2 · 已指派 1 人 ·
查看 mcquerol/ringbuffer-cpp 的全部 Issue
相似的 Issue
-
ai_reviewed
难度 2/5 1-3 小时 新手友好度 68/100
ydb-platform/ydb#53869 · 3 条评论 ·
-
bug cert blocker needs triage
难度 2/5 1-3 小时 新手友好度 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
难度 2/5 1-3 小时 新手友好度 75/100
conan-io/conan-center-index#31035 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 68/100
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
vllm-project/vllm-ascend#17329 ·