Searched refs:getElementSizeShift (Results 1 – 2 of 2) sorted by relevance
408 public final int getElementSizeShift() { in getElementSizeShift() method in Buffer
890 assertEquals(1, 1 << ByteBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()892 assertEquals(SizeOf.CHAR, 1 << CharBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()893 assertEquals(SizeOf.SHORT, 1 << ShortBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()895 assertEquals(SizeOf.INT, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()896 assertEquals(SizeOf.FLOAT, 1 << FloatBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()898 assertEquals(SizeOf.LONG, 1 << LongBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()899 assertEquals(SizeOf.DOUBLE, 1 << DoubleBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()