Files
OpenCellular/common
Vic Yang a9541220dc Only waste 1 byte in queue buffer
For simplicity of the code, we don't allow (head == tail) when the queue
is full. But currently we are wasting the size of a single unit, while
we can actually just waste 1 byte. Let's fix this.

BUG=None
TEST=Pass the unit test.
BRANCH=None

Change-Id: Id09c20a9345ebb3ec0cad659afe36e25b422e688
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58058
Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org>
2013-06-10 01:48:44 -07:00
..
2013-06-07 10:52:14 -07:00
2012-10-26 09:49:38 -07:00
2013-06-05 11:25:08 -07:00
2012-07-17 13:11:44 -07:00
2013-04-15 20:40:02 -07:00
2013-05-09 16:36:53 -07:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2013-06-10 01:48:44 -07:00
2012-10-25 17:03:44 -07:00
2013-06-03 14:34:10 -07:00
2012-11-26 14:49:49 -08:00