mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:07:44 +00:00
Everywhere: Fix many spelling errors
This commit is contained in:
parent
6bf91d00ef
commit
3102d8e160
39 changed files with 73 additions and 73 deletions
|
@ -96,14 +96,14 @@ public:
|
|||
bool unreliable_eof() const override { return eof(); }
|
||||
bool eof() const { return m_queue.size() == 0; }
|
||||
|
||||
size_t remaining_contigous_space() const
|
||||
size_t remaining_contiguous_space() const
|
||||
{
|
||||
return min(Capacity - m_queue.size(), m_queue.capacity() - (m_queue.head_index() + m_queue.size()) % Capacity);
|
||||
}
|
||||
|
||||
Bytes reserve_contigous_space(size_t count)
|
||||
Bytes reserve_contiguous_space(size_t count)
|
||||
{
|
||||
VERIFY(count <= remaining_contigous_space());
|
||||
VERIFY(count <= remaining_contiguous_space());
|
||||
|
||||
Bytes bytes { m_queue.m_storage + (m_queue.head_index() + m_queue.size()) % Capacity, count };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue