D | VarHandleBaseByteArrayTest.java | 120 static class ByteBufferSource extends ByteArrayViewSource<ByteBuffer> { class in VarHandleBaseByteArrayTest 121 public ByteBufferSource(ByteBuffer buffer, MemoryMode... modes) { in ByteBufferSource() method in VarHandleBaseByteArrayTest.ByteBufferSource 143 static class ByteBufferReadOnlySource extends ByteBufferSource { 285 ByteBufferSource hbb = in setupByteSources() 286 new ByteBufferSource(ByteBuffer.wrap(array), in setupByteSources() 294 ByteBufferSource hbb_offset_aligned = in setupByteSources() 295 … new ByteBufferSource(ByteBuffer.wrap(array, array.length / 4, array.length / 2).slice(), in setupByteSources() 303 ByteBufferSource hbb_offset_unaligned = in setupByteSources() 304 … new ByteBufferSource(ByteBuffer.wrap(array, array.length / 4 - 1, array.length / 2).slice(), in setupByteSources() 313 ByteBufferSource dbb = in setupByteSources() [all …]
|