Home
last modified time | relevance | path

Searched refs:getElementSizeShift (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java136 public int getElementSizeShift() { in getElementSizeShift() method in Buffer
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java813 public int getElementSizeShift() {
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java916 assertEquals(1, 1 << ByteBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
918 assertEquals(Character.BYTES, 1 << CharBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
919 assertEquals(Short.BYTES, 1 << ShortBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
921 assertEquals(Integer.BYTES, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
922 assertEquals(Float.BYTES, 1 << FloatBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
924 assertEquals(Long.BYTES, 1 << LongBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
925 assertEquals(Double.BYTES, 1 << DoubleBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()