MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / getMaxSize

Method getMaxSize

include/openpose/thread/queueBase.hpp:434–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432
433 template<typename TDatums, typename TQueue>
434 unsigned long long QueueBase<TDatums, TQueue>::getMaxSize() const
435 {
436 try
437 {
438 return (mMaxSize > 0 ? mMaxSize : fastMax(1ll, mMaxPoppersPushers));
439 }
440 catch (const std::exception& e)
441 {
442 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
443 return false;
444 }
445 }
446
447 template<typename TDatums, typename TQueue>
448 bool QueueBase<TDatums, TQueue>::emplace(TDatums& tDatums)

Callers

nothing calls this directly

Calls 3

fastMaxFunction · 0.85
whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected