Lines Matching refs:mark
11 * For more information on marked ranges, see {@see IntStream::mark()}.
89 * A mark provides a guarantee that {@see IntStream::seek seek()} operations
90 * will be valid over a "marked range" extending from the index where `mark`
95 * The returned mark is an opaque handle (type `int`) which is passed to
97 * the marked range are no longer necessary. When calls to `mark`/`release`
101 * (i.e. a mark is not released, or a mark is released twice, or marks are
110 * The following example shows the use of {@see IntStream::mark()},
111 * {@see IntStream::release(mark)}, {@see IntStream::index()}, and
114 * release the mark.
118 * $mark = $stream->mark();
127 * $stream->release($mark);
134 public function mark() : int;
138 * {@see IntStream::mark()}. Calls to `release` must appear in the
139 * reverse order of the corresponding calls to `mark`. If a mark is
141 * corresponding calls to `mark`, the behavior is unspecified.
143 * For more information and an example, see {@see IntStream::mark()}.
145 * @param int $marker A marker returned by a call to `mark`.
147 * @see IntStream::mark
176 * {@see IntStream::mark()}. The behavior of this method is unspecified if