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

Function empty

extern/libcds/cds/container/fcdeque.h:365–371  ·  view source on GitHub ↗

Checks if the deque is empty If the combining is in process the function waits while combining done. */

Source from the content-addressed store, hash-verified

363 If the combining is in process the function waits while combining done.
364 */
365 bool empty() const
366 {
367 bool bRet = false;
368 auto const& deq = m_Deque;
369 m_FlatCombining.invoke_exclusive( [&deq, &bRet]() { bRet = deq.empty(); } );
370 return bRet;
371 }
372
373 /// Internal statistics
374 stat const& statistics() const

Callers 15

emptyMethod · 0.70
emptyMethod · 0.70
emptyMethod · 0.70
emptyMethod · 0.70
emptyMethod · 0.70
emptyMethod · 0.70
emptyMethod · 0.70
operator ->Method · 0.50
guarded_ptrClass · 0.50
~retired_arrayMethod · 0.50
operator ->Method · 0.50
guarded_ptrClass · 0.50

Calls 2

invoke_exclusiveMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected