Lines Matching refs:offset
12 * Keeps track of a set of visited objects and their corresponding offset in a
54 * Adds a visited object and offset, growing the visited arrays as needed.
57 int add(Object o, int offset) {
65 offsets[i] = offset;
77 * Sets the offset for an existing slot index.
79 void setOffset(int index, int offset) {
80 offsets[index] = offset;
84 * Returns the offset for a visited object, or -1 if never visited.
96 * Returns the visited object for a given offset, or null if never visited.
98 Object getObject(int offset) {
100 if (offsets[i] == offset) {