Searched refs:qCount (Results 1 – 1 of 1) sorted by relevance
545 auto qCount = meta_->GetElementCount(); in WriteNonBlocking() local546 if (wOffset + count <= qCount) { in WriteNonBlocking()547 if (memcpy_s(queueBuffer_ + (wOffset * sizeof(T)), (qCount - wOffset) * sizeof(T), in WriteNonBlocking()551 newWriteOffset = (wOffset + count) % qCount; in WriteNonBlocking()553 size_t firstPartSize = qCount - wOffset; in WriteNonBlocking()555 if (memcpy_s(queueBuffer_ + (wOffset * sizeof(T)), (qCount - wOffset) * sizeof(T), in WriteNonBlocking()559 …if (memcpy_s(queueBuffer_, qCount * sizeof(T), data + firstPartSize, secParcSize * sizeof(T)) != E… in WriteNonBlocking()583 auto qCount = meta_->GetElementCount(); in ReadNonBlocking() local585 if (rOffset + count <= qCount) { in ReadNonBlocking()589 readOffset_->store((rOffset + count) % qCount, std::memory_order_release); in ReadNonBlocking()[all …]