D | atomics.js | 127 var testOp = function(op, ia, index, expectedIndex, name) { function in TestGoodIndex 146 testOp(Atomics.compareExchange, array, i, 0, name); 147 testOp(Atomics.load, array, i, 0, name); 148 testOp(Atomics.store, array, i, 0, name); 149 testOp(Atomics.add, array, i, 0, name); 150 testOp(Atomics.sub, array, i, 0, name); 151 testOp(Atomics.and, array, i, 0, name); 152 testOp(Atomics.or, array, i, 0, name); 153 testOp(Atomics.xor, array, i, 0, name); 154 testOp(Atomics.exchange, array, i, 0, name); [all …]
|