netty-incubator-buffer-api/src/main/java/io/netty/buffer/api
Chris Vest 926a1807b4 Clean up code and remove the BufferAdaptor
Instead use Mockito to implement the throwing behaviour on the buffers in those tests.
Sadly Mockito cannot spy or mock our Buffer implementation classes, and does not allow mocking an interface while spying on an implementation, so we have to do a more complicated dance with our mocking.
2021-04-27 10:00:27 +02:00
..
adaptor Clean up code and remove the BufferAdaptor 2021-04-27 10:00:27 +02:00
bytebuffer Make bifurcate and ensureWritable more flexible 2021-04-27 10:00:27 +02:00
internal UnsafeBuffer implementation, based on sun.misc.Unsafe 2021-04-08 14:44:58 +02:00
memseg Make bifurcate and ensureWritable more flexible 2021-04-27 10:00:27 +02:00
unsafe Make bifurcate and ensureWritable more flexible 2021-04-27 10:00:27 +02:00
AllocatorControl.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Buffer.java Fix prose errors 2021-04-27 10:00:27 +02:00
BufferAccessors.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
BufferAllocator.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
BufferHolder.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
BufferRef.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
ByteCursor.java Fix more test failures for UnsafeBuffer 2021-04-08 14:44:58 +02:00
CleanerPooledDrop.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
CompositeBuffer.java Make bifurcate and ensureWritable more flexible 2021-04-27 10:00:27 +02:00
Deref.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
Drop.java Address review comments on bifurcate PR 2020-12-10 12:51:18 +01:00
LifecycleTracer.java Make LifecycleTracer thread-safe 2021-03-09 11:57:49 +01:00
ManagedBufferAllocator.java Fix native memory leak bug 2021-04-07 17:17:35 +02:00
MemoryManager.java UnsafeBuffer implementation, based on sun.misc.Unsafe 2021-04-08 14:44:58 +02:00
MemoryManagers.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
MemoryManagersOverride.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
Owned.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
package-info.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Rc.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
RcSupport.java Fix failing ByteBufAdaptorTests and increase adaptor compatibility 2021-03-16 12:11:29 +01:00
ReadableComponent.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
ReadableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00
ResourceDisposeFailedException.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
Scope.java Add BufHolder and BufRef helper classes 2020-12-14 14:22:37 +01:00
Send.java Make bifurcate and ensureWritable more flexible 2021-04-27 10:00:27 +02:00
SizeClassedMemoryPool.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
TransferSend.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
WritableComponent.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
WritableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00