Lines Matching defs:sum
46 * thread compares the sum of the first n integers to the sum of the
67 * sum of the first n numbers using the formula n*(n+1)/2
88 PRInt32 rv, cnt, sum;
198 sum = 0;
209 sum += Item->data;
226 if (sum == SUM_OF_NUMBERS(data_cnt * thread_cnt)) {
228 PR_fprintf(output, "\t\tsum = 0x%x, expected = 0x%x\n", sum,
232 PR_fprintf(output, "%s failed: sum = 0x%x, expected = 0x%x\n",
233 argv[0], sum,