class Deque extends Object
Modifier and Type | Field and Description |
---|---|
protected static Word |
BUFFER_MASK |
protected static int |
BUFFER_SIZE |
protected static Address |
HEAD_INITIAL_VALUE |
private static int |
LOG_BUFFER_SIZE |
protected static int |
LOG_PAGES_PER_BUFFER |
protected static int |
META_DATA_SIZE |
protected static int |
NEXT_FIELD_OFFSET |
protected static int |
PAGES_PER_BUFFER |
protected static Address |
TAIL_INITIAL_VALUE |
protected static int |
USABLE_BUFFER_BYTES |
Constructor and Description |
---|
Deque() |
Modifier and Type | Method and Description |
---|---|
protected Address |
bufferEnd(Address buf) |
protected Address |
bufferFirst(Address buf) |
protected Address |
bufferLast(Address buf) |
protected Address |
bufferLast(Address buf,
int arity) |
protected Offset |
bufferLastOffset(int arity) |
protected Offset |
bufferOffset(Address buf) |
protected Address |
bufferStart(Address buf) |
protected static final int LOG_PAGES_PER_BUFFER
protected static final int PAGES_PER_BUFFER
private static final int LOG_BUFFER_SIZE
protected static final int BUFFER_SIZE
protected static final Word BUFFER_MASK
protected static final int NEXT_FIELD_OFFSET
protected static final int META_DATA_SIZE
protected static final int USABLE_BUFFER_BYTES
protected static final Address TAIL_INITIAL_VALUE
protected static final Address HEAD_INITIAL_VALUE
Deque()
protected final Offset bufferOffset(Address buf)
buf
- the buffer's addressprotected final Address bufferStart(Address buf)
protected final Address bufferFirst(Address buf)
protected final Address bufferLast(Address buf, int arity)
protected final Address bufferLast(Address buf)
protected final Offset bufferLastOffset(int arity)