MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / test

Method test

extern/libcds/test/stress/stack/push.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 virtual void test()
60 {
61 value_type v;
62 v.nThread = id();
63 for ( v.nNo = m_nStartItem; v.nNo < m_nEndItem; ++v.nNo ) {
64 if ( !m_stack.push( v ))
65 ++m_nPushError;
66 }
67 }
68
69 public:
70 Stack& m_stack;

Callers

nothing calls this directly

Calls 2

idFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected