Searched refs:MaxStaticSize (Results 1 – 1 of 1) sorted by relevance
50 template <typename T, size_t MaxStaticSize = 128>58 BoundedProducerConsumerQueue(bool Sequential, size_t MaxSize = MaxStaticSize)59 : MaxSize(std::min(MaxSize, MaxStaticSize)), Sequential(Sequential) {} in MaxSize() argument70 std::unique_ptr<T> blockingPop(size_t NotifyWhenDownToSize = MaxStaticSize) {94 const static size_t MaxStaticSizeMask = MaxStaticSize - 1;95 static_assert(!(MaxStaticSize & (MaxStaticSize - 1)),100 std::unique_ptr<T> WorkItems[MaxStaticSize];138 assert(size() <= MaxStaticSize); in push()