Searched refs:appendBuffer (Results 1 – 3 of 3) sorted by relevance
45 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement()55 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements()56 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements()68 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements()69 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements()78 assertTrue(rb.appendBuffer(data)); in canFillToCapacityWithSingleElement()86 assertFalse(rb.appendBuffer(data)); in canNotOverfillWithSingleElement()94 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary()97 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary()107 assertTrue(rb.appendBuffer(data1)); in appendPrunesMultipleBuffersIfNecessary()[all …]
52 public boolean appendBuffer(byte[] newData) { in appendBuffer() method in ByteArrayRingBuffer
436 ring.appendBuffer(buffer); in onRingBufferData()