Searched refs:wOffset (Results 1 – 1 of 1) sorted by relevance
542 auto wOffset = writeOffset_->load(std::memory_order_acquire); 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()566 if (wOffset < rOffset && newWriteOffset >= rOffset) { in WriteNonBlocking()617 auto wOffset = writeOffset_->load(std::memory_order_acquire); in GetAvalidReadSize() local619 …auto size = wOffset >= rOffset ? (wOffset - rOffset) : (wOffset + meta_->GetElementCount() - rOffs… in GetAvalidReadSize()