Lines Matching refs:position
79 long oldSinkPosition = sinkChannel.position();
80 long oldSourcePosition = sourceChannel.position();
86 if (sourceChannel.position() == oldSourcePosition)
87 throw new RuntimeException("Source position didn't change");
89 if (sinkChannel.position() != oldSinkPosition)
90 throw new RuntimeException("Sink position changed");
132 long oldPosition = fc.position();
139 if (fc.position() != oldPosition)
353 sourceChannel.position(7);
354 long remaining = sourceChannel.size() - sourceChannel.position();
378 sourceChannel.position(32000L)
471 long position = testdata[(int)i][0];
481 fc.write(sendbuf, position);
482 fc.transferTo(position, count, source);