Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv static int | |
pack-priv static long | modifiedCalcCircularRefElementOffset(long index, long mask)
This method assumes index is actually (index << 1) because lower bit is used for resize. |
pack-priv static long |
LinkedArrayQueueUtil | back to summary |
---|---|
pack-priv LinkedArrayQueueUtil() |
length | back to summary |
---|---|
pack-priv static int length(Object[] buf) |
modifiedCalcCircularRefElementOffset | back to summary |
---|---|
pack-priv static long modifiedCalcCircularRefElementOffset(long index, long mask) This method assumes index is actually (index << 1) because lower bit is used for resize. This is compensated for by reducing the element shift. The computation is constant folded, so there's no cost. |
nextArrayOffset | back to summary |
---|---|
pack-priv static long nextArrayOffset(Object[] curr) |