Lines Matching refs:position
26 * @summary (bf) CharBuffer.slice() on wrapped CharSequence results in wrong position
39 ">>> StringCharBufferSliceTest-main: testing with the position 0.");
45 ">>> StringCharBufferSliceTest-main: testing with new position.");
47 buff.position(2);
51 ">>> StringCharBufferSliceTest-main: testing with non zero initial position.");
58 buff.position(4);
69 buff.position(4);
80 buff.position(0);
84 slice.position(i);
86 if (nextSlice.position() != 0)
87 throw new RuntimeException("New buffer's position should be zero");
95 buff.position(4);
104 buff.position(4);
114 buff.position(4);
138 slice.position() != 0 ||