Home
last modified time | relevance | path

Searched refs:Cell (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java123 static final class Cell { class in Striped64
125 Cell(long x) { value = x; } in Cell() method in Striped64.Cell
142 (Cell.class.getDeclaredField("value"));
155 transient volatile Cell[] cells;
231 Cell[] as; Cell a; int n; long v; in longAccumulate()
235 Cell r = new Cell(x); // Optimistically create in longAccumulate()
238 Cell[] rs; int m, j; in longAccumulate()
277 Cell[] rs = new Cell[2]; in longAccumulate()
278 rs[h & 1] = new Cell(x); in longAccumulate()
315 Cell[] as; Cell a; int n; long v; in doubleAccumulate()
[all …]
DLongAdder.java86 Cell[] as; long b, v; int m; Cell a; in add()
120 Cell[] as = cells; in sum()
123 for (Cell a : as) in sum()
138 Cell[] as = cells; in reset()
141 for (Cell a : as) in reset()
158 Cell[] as = cells; in sumThenReset()
162 for (Cell a : as) { in sumThenReset()
DDoubleAdder.java90 Cell[] as; long b, v; int m; Cell a; in add()
118 Cell[] as = cells; in sum()
121 for (Cell a : as) in sum()
136 Cell[] as = cells; in reset()
139 for (Cell a : as) in reset()
156 Cell[] as = cells; in sumThenReset()
160 for (Cell a : as) { in sumThenReset()
DLongAccumulator.java105 Cell[] as; long b, v, r; int m; Cell a; in accumulate()
128 Cell[] as = cells; in get()
131 for (Cell a : as) in get()
147 Cell[] as = cells; in reset()
150 for (Cell a : as) in reset()
167 Cell[] as = cells; in getThenReset()
171 for (Cell a : as) { in getThenReset()
DDoubleAccumulator.java103 Cell[] as; long b, v, r; int m; Cell a; in accumulate()
130 Cell[] as = cells; in get()
133 for (Cell a : as) in get()
150 Cell[] as = cells; in reset()
153 for (Cell a : as) in reset()
170 Cell[] as = cells; in getThenReset()
174 for (Cell a : as) { in getThenReset()