• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / jasengo / 19602568939

22 Nov 2025 11:12PM UTC coverage: 77.927% (-0.3%) from 78.252%
19602568939

Pull #9

github

rm-hull
feat: Implement generic buffer abstractions

Introduces the `internal/buffer` package to provide generic data
structures for buffering elements.

This includes:
* `Buffer[T]` interface defining core buffer operations.
* `RingBuffer[T]` for fixed-size circular buffers.
* `UnboundedBuffer[T]` for grow-only buffers.

The parser's `runeReader` implementation is refactored to utilize
these new buffers, choosing between `RingBuffer` (when a limit is
set) or `UnboundedBuffer` (when the limit is zero). This simplifies
the internal buffer management logic in `reader.go`.
Pull Request #9: feat: Implement generic buffer abstractions

43 of 46 new or added lines in 1 file covered. (93.48%)

2 existing lines in 1 file now uncovered.

406 of 521 relevant lines covered (77.93%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.0
/parser/reader.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc