D | Order.java | 36 static final ByteOrder be = ByteOrder.BIG_ENDIAN; field in Order 57 ck(bb.asReadOnlyBuffer().order(), be); in ckCopyViews() local 58 ck(bb.duplicate().order(), be); in ckCopyViews() local 59 ck(bb.slice().order(), be); in ckCopyViews() local 65 bb.order(be); in ckByteBuffer() 78 ck(ByteBuffer.wrap(new byte[LENGTH], LENGTH/2, LENGTH/2).order(), be); in testOrder() local 79 ck(ByteBuffer.wrap(new byte[LENGTH]).order(), be); in testOrder() local 80 ck(ByteBuffer.wrap(new byte[LENGTH], LENGTH/2, LENGTH/2).order(be).order(), be); in testOrder() local 81 ck(ByteBuffer.wrap(new byte[LENGTH]).order(be).order(), be); in testOrder() local 84 ck(ByteBuffer.allocate(LENGTH).order(), be); in testOrder() local [all …]
|