Searched refs:getElementSizeShift (Results 1 – 3 of 3) sorted by relevance
136 public int getElementSizeShift() { in getElementSizeShift() method in Buffer
813 public int getElementSizeShift() {
916 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()