Searched refs:Buffer (Results 1 – 13 of 13) sorted by relevance
47 public abstract class Buffer { class91 Buffer(int elementSizeShift, int capacity, long effectiveDirectAddress) { in Buffer() method in Buffer208 public final Buffer clear() { in clear()225 public final Buffer flip() { in flip()296 public final Buffer limit(int newLimit) { in limit()317 public final Buffer mark() { in mark()344 public final Buffer position(int newPosition) { in position()377 public final Buffer reset() { in reset()393 public final Buffer rewind() { in rewind()
29 static long getBasePointer(Buffer b) { in getBasePointer()41 static Object getBaseArray(Buffer b) { in getBaseArray()52 static int getBaseArrayOffset(Buffer b) { in getBaseArrayOffset()
35 public abstract class LongBuffer extends Buffer implements
35 public abstract class ShortBuffer extends Buffer implements
34 public abstract class IntBuffer extends Buffer implements Comparable<IntBuffer> {
36 public abstract class DoubleBuffer extends Buffer implements
35 public abstract class FloatBuffer extends Buffer implements
38 public abstract class CharBuffer extends Buffer implements
37 public abstract class ByteBuffer extends Buffer implements Comparable<ByteBuffer> {
19 import java.nio.Buffer;30 protected Buffer baseBuf;51 Buffer ret = baseBuf.clear(); in testClear()72 Buffer ret = baseBuf.flip(); in testFlip()122 Buffer ret = baseBuf.limit(baseBuf.limit());172 Buffer ret = baseBuf.mark();244 Buffer ret = baseBuf.position(0);271 Buffer ret = baseBuf.reset();292 Buffer ret = baseBuf.rewind();
19 import java.nio.Buffer;34 void checkBuffer(Buffer b) { in checkBuffer()
24 import java.nio.Buffer;622 Field addressField = Buffer.class.getDeclaredField("effectiveDirectAddress"); in testDirectByteBufferAlignment()
31 import java.nio.Buffer;2927 Buffer expected = ByteBuffer.allocate(1024).put(data).put(data).flip(); in test_write$LByteBuffer2()