Searched refs:appendBuffer (Results 1 – 3 of 3) sorted by relevance
47 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement()57 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements()58 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements()70 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements()71 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements()80 assertTrue(rb.appendBuffer(data)); in canFillToCapacityWithSingleElement()88 assertFalse(rb.appendBuffer(data)); in canNotOverfillWithSingleElement()96 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary()99 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary()109 assertTrue(rb.appendBuffer(data1)); in appendPrunesMultipleBuffersIfNecessary()[all …]
52 public boolean appendBuffer(byte[] newData) { in appendBuffer() method in ByteArrayRingBuffer
469 ring.appendBuffer(buffer); in onRingBufferData()