Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameron314/concurrentqueue
/ before
Method
before
tests/relacy/integrated.cpp:635–641 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
633
std::vector<bool> seen;
634
635
void before()
636
{
637
seen.resize(rl::rand(32), false);
638
639
q = new ConcurrentQueue<Foo, MediumConstantTraits>();
640
Foo::reset();
641
}
642
643
void thread(unsigned int tid)
644
{
Callers
nothing calls this directly
Calls
2
rand
Function · 0.85
resize
Method · 0.45
Tested by
no test coverage detected