Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Samsung/rlottie
/ get_next_read_buffer
Method
get_next_read_buffer
src/vector/vdebug.cpp:593–597 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
591
}
592
593
Buffer* get_next_read_buffer()
594
{
595
SpinLock spinlock(m_flag);
596
return m_buffers.empty() ? nullptr : m_buffers.front().get();
597
}
598
599
private:
600
std::queue<std::unique_ptr<Buffer> > m_buffers;
Callers
nothing calls this directly
Calls
2
get
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected