Lines Matching refs:position
106 * the record, both 0-based (though position 0 is reserved for special
108 * @param position int Record number
111 int readEntry(int position, int offset) throws ArrayIndexOutOfBoundsException
116 return fastArray[(position*slotsize)+offset];
124 position*=slotsize;
125 int chunkpos = position >> lowbits;
126 int slotpos = position & lowmask;
132 // Check that the node at index "position" is not an ancestor
134 // RETURN -1. If position is NOT an ancestor, return position.
135 // Special case: The Document node (position==0) is acceptable.
138 int specialFind(int startPos, int position)
156 if(ancestor == position)
162 return position;
189 * @param position int Record number
193 void writeEntry(int position, int offset, int value) throws ArrayIndexOutOfBoundsException
198 fastArray[( position*slotsize)+offset] = value;
205 position*=slotsize;
206 int chunkpos = position >> lowbits;
207 int slotpos = position & lowmask;
216 * @param position integer Record number
222 void writeSlot(int position, int w0, int w1, int w2, int w3)
224 position *= slotsize;
225 int chunkpos = position >> lowbits;
226 int slotpos = (position & lowmask);
242 * @param position int Record number
246 void readSlot(int position, int[] buffer)
251 System.arraycopy(fastArray, position*slotsize, buffer, 0, slotsize);
256 // System.out.println("Using slow read (2): "+position);
257 position *= slotsize;
258 int chunkpos = position >> lowbits;
259 int slotpos = (position & lowmask);