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

Method get_contiguous_read_blocks

src/utils/CircularBlockBuffer.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76int CircularBlockBuffer::get_contiguous_read_blocks() const {
77 return min(available_read(), _blockCount - _readBlock);
78}
79
80int CircularBlockBuffer::get_contiguous_write_blocks() const {
81 return min(available_write(), _blockCount - _writeBlock);

Callers 1

get_contiguous_blocksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected