Implement CircularQueue Resize, Clear. And optimize some useless branch 48/315548/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 25 Oct 2023 02:18:43 +0000 (11:18 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Tue, 24 Dec 2024 06:08:20 +0000 (06:08 +0000)
commit7415c1128869a28f79fe32ef5abd1c26d536450d
tree57dca9340c3ae5694264a99987de2718e04b623c
parentc36bd5b4716226a01ea841a95cc72bac4014ea4f
Implement CircularQueue Resize, Clear. And optimize some useless branch

There was some useless branch behaviour exist for CircularQueue implements.
Let we optimize it.

And also, make a API that we can change the max capacity of queue.

Change-Id: I562778a5b9dfbdecf68f2a949b97c96c1b1c339c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-CircularQueue.cpp
dali/devel-api/common/circular-queue.h