Lines Matching defs:slice
182 private static void checkSlice(DoubleBuffer b, DoubleBuffer slice) {
183 ck(slice, 0, slice.position());
184 ck(slice, b.remaining(), slice.limit());
185 ck(slice, b.remaining(), slice.capacity());
186 if (b.isDirect() != slice.isDirect())
187 fail("Lost direction", slice);
188 if (b.isReadOnly() != slice.isReadOnly())
189 fail("Lost read-only", slice);
593 relGet(b.duplicate().slice(), 13);
594 relGet(b.slice(), 13);
595 relGet(b.slice().duplicate(), 13);
600 DoubleBuffer sb = b.slice();
603 DoubleBuffer sb2 = sb.slice();