Searched defs:spine (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
H A DSpinedBuffer.java63 * so we try to avoid inflating the spine[] and priorElementCount[] arrays
65 * null. If spine is non-null, then spineIndex points to the current chunk
66 * within the spine, otherwise it is zero. The spine and priorElementCount
72 * curChunk so we have to check before writing. When we inflate the spine
80 * the first element of the spine.
87 protected E[][] spine; field in class:SpinedBuffer
117 : priorElementCount[spineIndex] + spine[spineIndex].length;
122 if (spine == null) {
123 spine
444 T_ARR[] spine; field in class:SpinedBuffer.OfPrimitive
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java2347 /* size threshold determining when to expand hash spine */
2352 private int[] spine; field in class:ObjectOutputStream.HandleTable
2363 spine = new int[initialCapacity];
2393 int index = hash(obj) % spine.length;
2394 for (int i = spine[index]; i >= 0; i = next[i]) {
2406 Arrays.fill(spine, -1);
2423 int index = hash(obj) % spine.length;
2425 next[handle] = spine[index];
2426 spine[index] = handle;
2430 * Expands the hash "spine"
[all...]

Completed in 352 milliseconds