MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / get_contiguous_write_blocks

Method get_contiguous_write_blocks

src/utils/CircularBlockBuffer.cpp:80–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80int CircularBlockBuffer::get_contiguous_write_blocks() const {
81 return min(available_write(), _blockCount - _writeBlock);
82}
83
84void CircularBlockBuffer::clear() {
85 _readBlock = _writeBlock;

Callers 1

get_contiguous_blocksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected