Lines Matching refs:current
78 * Returns the current value of the reference.
80 * @return the current value of the reference
87 * Returns the current value of the mark.
89 * @return the current value of the mark
96 * Returns the current values of both the reference and the mark.
101 * @return the current value of the reference
112 * current reference is {@code ==} to the expected reference
113 * and the current mark is equal to the expected mark.
136 * current reference is {@code ==} to the expected reference
137 * and the current mark is equal to the expected mark.
149 Pair<V> current = pair;
151 expectedReference == current.reference &&
152 expectedMark == current.mark &&
153 ((newReference == current.reference &&
154 newMark == current.mark) ||
155 casPair(current, Pair.of(newReference, newMark)));
165 Pair<V> current = pair;
166 if (newReference != current.reference || newMark != current.mark)
172 * if the current reference is {@code ==} to the expected
175 * when the current value holds the expected value and no other
184 Pair<V> current = pair;
186 expectedReference == current.reference &&
187 (newMark == current.mark ||
188 casPair(current, Pair.of(expectedReference, newMark)));