Home | History | Annotate | Download | only in collect

Lines Matching refs:deltas

38  * do operations at random. Each thread keeps track of the per-key deltas that it's directly
39 * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
77 int[] deltas = new int[3];
80 for (int i = 0; i < deltas.length; i++) {
81 deltas[i] += taskDeltas[i];
91 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
115 int[] deltas = new int[nKeys];
125 deltas[keyIndex] += delta;
131 deltas[keyIndex] += (newValue - oldValue);
138 deltas[keyIndex] += (newValue - oldValue);
145 deltas[keyIndex] -= Math.min(delta, oldValue);
151 deltas[keyIndex] -= delta;
157 return deltas;