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 IntBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact();
74 buf.put(0);
84 buf.put(array);
90 buf.put((int[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((int[]) null, -1, 1);
112 buf.put(new int[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((IntBuffer) null);
140 buf.put(buf);
149 buf.put(0, (int) 0);
155 buf.put(-1, (int) 0);