Searched refs:getElementSizeShift (Results 1 – 3 of 3) sorted by relevance
136 public int getElementSizeShift() { in getElementSizeShift() method in Buffer
597 public int getElementSizeShift() { in getElementSizeShift() method in Buffer
887 assertEquals(1, 1 << ByteBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()889 assertEquals(Character.BYTES, 1 << CharBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()890 assertEquals(Short.BYTES, 1 << ShortBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()892 assertEquals(Integer.BYTES, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()893 assertEquals(Float.BYTES, 1 << FloatBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()895 assertEquals(Long.BYTES, 1 << LongBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()896 assertEquals(Double.BYTES, 1 << DoubleBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()