Searched refs:directBuffer (Results 1 – 3 of 3) sorted by relevance
38 return new ByteBufAdapter(alloc.directBuffer(capacity)); in allocateDirectBuffer()
82 private static ThreadLocal<SoftReference<ByteBuffer>> directBuffer = field in IsValidUtf8TestUtil94 SoftReference<ByteBuffer> ref = directBuffer.get();98 directBuffer.set(new SoftReference<ByteBuffer>(buffer));
1170 private long directByteBufferAddress(ByteBuffer directBuffer, int pos) { in directByteBufferAddress() argument1171 return NativeCrypto.getDirectBufferAddress(directBuffer) + pos; in directByteBufferAddress()