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.java125 static final class Cell { class in Striped64
127 Cell(long x) { value = x; } in Cell() method in Striped64.Cell
146 VALUE = l.findVarHandle(Cell.class, "value", long.class);
159 transient volatile Cell[] cells;
238 Cell[] cs; Cell c; int n; long v; in longAccumulate()
242 Cell r = new Cell(x); // Optimistically create in longAccumulate()
245 Cell[] rs; int m, j; in longAccumulate()
284 Cell[] rs = new Cell[2]; in longAccumulate()
285 rs[index & 1] = new Cell(x); in longAccumulate()
320 Cell[] cs; Cell c; int n; long v; in doubleAccumulate()
[all …]
DLongAdder.java86 Cell[] cs; long b, v; int m; Cell c; in add()
121 Cell[] cs = cells; in sum()
124 for (Cell c : cs) in sum()
139 Cell[] cs = cells; in reset()
142 for (Cell c : cs) in reset()
159 Cell[] cs = cells; in sumThenReset()
162 for (Cell c : cs) { in sumThenReset()
DDoubleAdder.java90 Cell[] cs; long b, v; int m; Cell c; in add()
119 Cell[] cs = cells; in sum()
122 for (Cell c : cs) in sum()
137 Cell[] cs = cells; in reset()
140 for (Cell c : cs) in reset()
157 Cell[] cs = cells; in sumThenReset()
160 for (Cell c : cs) { in sumThenReset()
DLongAccumulator.java107 Cell[] cs; long b, v, r; int m; Cell c; in accumulate()
133 Cell[] cs = cells; in get()
136 for (Cell c : cs) in get()
152 Cell[] cs = cells; in reset()
155 for (Cell c : cs) in reset()
172 Cell[] cs = cells; in getThenReset()
175 for (Cell c : cs) { in getThenReset()
DDoubleAccumulator.java109 Cell[] cs; long b, v, r; int m; Cell c; in accumulate()
138 Cell[] cs = cells; in get()
141 for (Cell c : cs) in get()
158 Cell[] cs = cells; in reset()
161 for (Cell c : cs) in reset()
178 Cell[] cs = cells; in getThenReset()
181 for (Cell c : cs) { in getThenReset()