Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameron314/concurrentqueue
/ before
Method
before
tests/relacy/integrated.cpp:573–579 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
571
std::vector<bool> seen;
572
573
void before()
574
{
575
seen.resize(rl::rand(32), false);
576
577
q = new ConcurrentQueue<Foo, MediumConstantTraits>();
578
Foo::reset();
579
}
580
581
void thread(unsigned int tid)
582
{
Callers
nothing calls this directly
Calls
2
rand
Function · 0.85
resize
Method · 0.45
Tested by
no test coverage detected