Lines Matching refs:BufferState
124 enum BufferState {
131 private BufferState loadBufferWithChanges(final ThreadLocalByteBuffer localByteBuffer) {
159 return BufferState.ALL_CHANGES_IN_BUFFER;
162 private BufferState handleBufferOverflow(final ByteBuffer buffer, final int changeIndex) {
165 return BufferState.CHANGE_WONT_FIT_IN_BUFFER;
169 return BufferState.SOME_CHANGES_IN_BUFFER;
219 BufferState bufferState = loadBufferWithChanges(localByteBuffer);
222 if (bufferState == BufferState.ALL_CHANGES_IN_BUFFER) {
227 while (bufferState == BufferState.SOME_CHANGES_IN_BUFFER) {
233 if (bufferState == BufferState.CHANGE_WONT_FIT_IN_BUFFER) {
254 BufferState bufferState = loadBufferWithChanges(localByteBuffer);
257 if (bufferState == BufferState.ALL_CHANGES_IN_BUFFER) {
262 while (bufferState == BufferState.SOME_CHANGES_IN_BUFFER) {
268 if (bufferState == BufferState.CHANGE_WONT_FIT_IN_BUFFER) {
306 BufferState bufferState = loadBufferWithChanges(localByteBuffer);
307 if (bufferState == BufferState.ALL_CHANGES_IN_BUFFER) {
313 while (bufferState == BufferState.SOME_CHANGES_IN_BUFFER) {
319 if (bufferState == BufferState.CHANGE_WONT_FIT_IN_BUFFER) {