Lines Matching refs:offset

267     final int offset;
271 // backing array, and array offset
274 $type$[] hb, int offset)
278 this.offset = offset;
318 * offset<code>} will be zero.
340 * <tt>array.length</tt>, its position will be <tt>offset</tt>, its limit
341 * will be <tt>offset + length</tt>, and its mark will be undefined. Its
343 * its {@link #arrayOffset </code>array offset<code>} will be zero. </p>
348 * @param offset
349 * The offset of the subarray to be used; must be non-negative and
356 * <tt>array.length - offset</tt>.
357 * The new buffer's limit will be set to <tt>offset + length</tt>.
362 * If the preconditions on the <tt>offset</tt> and <tt>length</tt>
366 int offset, int length)
369 return new Heap$Type$Buffer(array, offset, length);
383 * given array, and its {@link #arrayOffset </code>array offset<code>} will
630 * buffer and at the given offset in the array. The position of this
647 * @param offset
648 * The offset within the array of the first $type$ to be
655 * <tt>dst.length - offset</tt>
664 * If the preconditions on the <tt>offset</tt> and <tt>length</tt>
667 public $Type$Buffer get($type$[] dst, int offset, int length) {
668 checkBounds(offset, length, dst.length);
671 int end = offset + length;
672 for (int i = offset; i < end; i++)
763 * given array into this buffer, starting at the given offset in the array
781 * @param offset
782 * The offset within the array of the first $type$ to be read;
788 * <tt>array.length - offset</tt>
796 * If the preconditions on the <tt>offset</tt> and <tt>length</tt>
802 public $Type$Buffer put($type$[] src, int offset, int length) {
803 checkBounds(offset, length, src.length);
806 int end = offset + length;
807 for (int i = offset; i < end; i++)
868 * The offset within the string of the first $type$ to be read;
873 * The offset within the string of the last $type$ to be read,
966 * Returns the offset within this buffer's backing array of the first
976 * @return The offset within this buffer's array
990 return offset;