Home | History | Annotate | Download | only in nio

Lines Matching refs:buf

24         buf = buf.asReadOnlyBuffer();
25 baseBuf = buf;
33 assertTrue(buf.isReadOnly());
37 assertFalse(buf.hasArray());
42 buf.array();
50 ShortBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact();
74 buf.put((short)0);
84 buf.put(array);
90 buf.put((short[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((short[]) null, 0, 1);
112 buf.put(new short[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((ShortBuffer) null);
140 buf.put(buf);
149 buf.put(0, (short) 0);
155 buf.put(-1, (short) 0);