Lines Matching defs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
55 /** Untouched data - still link callsites as IntArrayData, but expands to
56 * a proper ArrayData when we try to write to it */
61 * This is private to ensure that no one in a subclass is able to touch the length
62 * without going through {@link #setLength}. This is used to implement
69 * Method handle to throw an {@link UnwarrantedOptimismException} when getting an element
75 * Immutable empty array to get ScriptObjects started.
76 * Use the same array and convert it to mutable as soon as it is modified
114 //known to fit in int
195 public ArrayData slice(final long from, final long to) {
204 //no need to override fastPopInt, as the default behavior is to throw classcast exception so we
260 * Align an array size up to the nearest array chunk size
305 * @param array the array to use for initial elements
315 * @param array the array to use for initial elements
325 * @param array the array to use for initial elements
335 * @param buf the nio ByteBuffer to wrap
343 * Apply a freeze filter to an ArrayData.
345 * @param underlying the underlying ArrayData to wrap in the freeze filter
353 * Apply a seal filter to an ArrayData.
355 * @param underlying the underlying ArrayData to wrap in the seal filter
365 * @param underlying the underlying ArrayData to wrap in the non extensible filter
375 * @param underlying the underlying ArrayDAta to wrap in the non extensible filter
392 * that basically maps to the ScriptObject directly for better abstraction
402 * It is safe to return themselves for immutable subclasses.
456 * @param by offset to shift
464 * @param by offset to shift
473 * updated to {@code safeIndex + 1}.
475 * @param safeIndex the index to ensure wont go out of bounds
481 * Shrink the array to a new length, may or may not retain the
552 * Returns the optimistic type of this array data. Basically, when an array data object needs to throw an
601 * Tests to see if an entry exists (avoids boxing.)
632 * Delete a range from the array if {@code fromIndex} is less than or equal to {@code toIndex}
672 * @param toIndex to index (inclusive)
679 * Convert the ArrayData to one with a different element type
680 * Currently Arrays are not collapsed to narrower types, just to
681 * wider ones. Attempting to narrow an array will assert
689 * Push an array of items to the end of the array
712 * Push an array of items to the end of the array
731 * subsection as a new array data: [from, to)
734 * @param to end index + 1
737 public abstract ArrayData slice(final long from, final long to);
740 * Fast splice operation. This just modifies the array according to the number of
810 * @return next size to allocate for internal array