Searched refs:sum (Results 1 - 25 of 112) sorted by relevance

12345

/barrelfish-2018-10-04/lib/libc/quad/
H A Dadddi3.c44 * u_long addition x+y occurs if and only if the sum x+y is less than
51 union uu aa, bb, sum; local
55 sum.ul[L] = aa.ul[L] + bb.ul[L];
56 sum.ul[H] = aa.ul[H] + bb.ul[H] + (sum.ul[L] < bb.ul[L]);
57 return (sum.q);
/barrelfish-2018-10-04/usr/tests/perfmontest/
H A Dspin.c11 uint64_t sum = 0; local
17 sum += end - start;
20 printf("avg duration: %" PRIu64 " cycles\n", sum / MEASUREMENTS);
/barrelfish-2018-10-04/lib/lwip/src/core/ipv4/
H A Dinet_chksum.c86 * @return host order (!) lwip checksum (non-inverted Internet sum)
121 /* This maybe a little confusing: reorder sum using htons()
123 The caller must invert bits for Internet sum ! */
141 * @return host order (!) lwip checksum (non-inverted Internet sum)
148 u32_t sum = 0; local
160 sum += *ps++;
170 sum += t;
172 /* Fold 32-bit sum to 16 bits
174 sum = FOLD_U32T(sum);
204 u32_t sum = 0, tmp; local
[all...]
/barrelfish-2018-10-04/lib/arranet/
H A Dinet_chksum.c75 * @return host order (!) lwip checksum (non-inverted Internet sum)
111 /* This maybe a little confusing: reorder sum using htons()
113 The caller must invert bits for Internet sum ! */
131 * @return host order (!) lwip checksum (non-inverted Internet sum)
139 u32_t sum = 0; local
151 sum += *ps++;
161 sum += t;
163 /* Fold 32-bit sum to 16 bits
165 sum = FOLD_U32T(sum);
196 u32_t sum = 0, tmp; local
[all...]
/barrelfish-2018-10-04/lib/msun/src/
H A Ds_fmal.c77 struct dd sum; local
80 sum = dd_add(a, b);
81 if (sum.lo != 0) {
82 u.e = sum.hi;
84 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo);
86 return (sum.hi);
97 struct dd sum; local
101 sum
[all...]
H A Ds_fma.c77 struct dd sum; local
80 sum = dd_add(a, b);
81 if (sum.lo != 0) {
82 EXTRACT_WORD64(hibits, sum.hi);
84 /* hibits += (int)copysign(1.0, sum.hi * sum.lo) */
85 EXTRACT_WORD64(lobits, sum.lo);
87 INSERT_WORD64(sum.hi, hibits);
90 return (sum.hi);
101 struct dd sum; local
[all...]
/barrelfish-2018-10-04/usr/bench/scheduling/
H A Dplacement.c25 uint64_t timer = 0, sum = 0; local
47 sum += rdtsc() - timer;
50 if (!ME) printf("RTL %d bytes = %" PRIu64 "\n", BUFSIZE, sum/MAXROUND);
51 sum = 0;
/barrelfish-2018-10-04/usr/bench/rcce/lu/
H A Dl2norm.c8 #define sum(m) sum[m-1] macro
11 void l2norm(int ldx, int ldy, int ldz, double *v, double *sum ) {
26 //c compute the global sum of individual contributions to dot product.
28 RCCE_allreduce( (char*)dummy, (char*)sum, 5, RCCE_DOUBLE, RCCE_SUM, RCCE_COMM_WORLD);
31 sum(m) = sqrt ( sum(m) / ( (nx0-2)*(ny0-2)*(nz0-2) ) );
/barrelfish-2018-10-04/lib/bench/
H A Dbench.c104 cycles_t sum = 0; local
110 sum += array[i];
115 return sum / count;
128 cycles_t sum = 0; local
134 sum += array[i] * array[i];
139 return (sum / count) - (avg * avg);
156 cycles_t sum = 0; local
162 sum += (subsum * subsum);
171 std_dev = sum / (count - 1);
173 std_dev = sum / coun
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Deg_c_external.c71 long x, sum = 0; local
78 sum += x;
82 return ec_unify_arg(2, ec_long(sum));
H A Deg_cc_external.cc84 long x, sum = 0; local
92 sum += x;
96 return unify(EC_arg(2), EC_word(sum));
H A Dexample.c68 long sum = 0; local
76 sum += car->val.nint;
83 Return_Unify_Integer(v, t, sum);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/engines/ccgost/
H A Dgostsum.c18 int hash_file(gost_hash_ctx *ctx,char *filename,char *sum,int mode);
19 int hash_stream(gost_hash_ctx *ctx,int fd, char *sum);
110 fprintf(stderr,"%s: GOST hash sum check failed for '%s'\n",
118 fprintf(stderr,"%s: %d of %d file(f) failed GOST hash sum check\n",
125 char sum[65]; local
126 if (!hash_stream(&ctx,fileno(stdin),sum))
131 printf("%s -\n",sum);
136 char sum[65]; local
137 if (!hash_file(&ctx,argv[i],sum,open_mode))
143 printf("%s %s\n",sum,arg
149 hash_file(gost_hash_ctx *ctx,char *filename,char *sum,int mode) argument
166 hash_stream(gost_hash_ctx *ctx,int fd, char *sum) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/ecrc_solvers/propia/
H A Dmanual_examples.pl29 sum([],0,0,0).
30 sum([Name|Products],Count1,Count2,Profit) :-
36 sum(Products,Ct1b,Ct2b,Profitb).
43 sum(Products,Comp1,Comp2,Profit),
/barrelfish-2018-10-04/usr/bench/rcce/pingpong/
H A DRCCE_pingpong.c24 uint64_t timer = 0, sum = 0; local
81 sum += rdtsc() - timer;
90 if (!ME) printf("RTL %d b = %" PRIu64 "\n", BUFSIZE, sum/MAXROUND);
91 sum = 0;
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Dinet_chksum.c74 * @return host order (!) lwip checksum (non-inverted Internet sum)
110 /* This maybe a little confusing: reorder sum using lwip_htons()
112 The caller must invert bits for Internet sum ! */
130 * @return host order (!) lwip checksum (non-inverted Internet sum)
138 u32_t sum = 0; local
150 sum += *ps++;
160 sum += t;
162 /* Fold 32-bit sum to 16 bits
164 sum = FOLD_U32T(sum);
195 u32_t sum = 0, tmp; local
[all...]
/barrelfish-2018-10-04/usr/bench/rcce/ipi_test/
H A Dmainrc.c34 uint64_t timer = 0, sum = 0; local
95 sum += rdtsc() - timer;
104 if (!ME) printf("RTL = %"PRIu64"\n", sum/MAXROUND);
105 sum = 0;
/barrelfish-2018-10-04/lib/lwip/src/core/ipv6/
H A Dinet6.c129 u32_t acc, sum; local
132 sum = (acc & 0xffff) + (acc >> 16);
133 sum += (sum >> 16);
134 return ~(sum & 0xffff);
/barrelfish-2018-10-04/usr/tests/bomptest/
H A Dsync.c160 uint64_t sum = 0, min = end1[0][0], max = 0; local
164 sum += val;
169 printf("%lu(%lu,%lu) ", sum / WORKMAX, min, max);
186 uint64_t sum = 0, min = end2[0][0], max = 0; local
190 sum += val;
195 printf("%lu(%lu,%lu) ", sum / WORKMAX, min, max);
/barrelfish-2018-10-04/usr/vmkitmon/
H A Dbenchmark.c9 cycles_t sum = 0; local
13 sum += array[i];
16 return sum / count;
23 cycles_t sum = 0; local
27 sum += array[i] * array[i];
30 return (sum / count) - (avg * avg);
/barrelfish-2018-10-04/tools/harness/tests/
H A Dphases.py102 for sum in sums:
104 if t == sum[0]:
108 procsum = float(sum[2]) / float(basesum)
109 results.add_row([sum[0], sum[1], procsum])
/barrelfish-2018-10-04/include/sys/
H A Ddisklabel.h156 u_int16_t sum = 0; local
161 sum ^= *start++;
162 return (sum);
/barrelfish-2018-10-04/usr/bench/
H A Dipi_bench.c92 uint64_t sum = 0; local
95 sum += delay[i];
99 ITERATIONS, sum / ITERATIONS);
/barrelfish-2018-10-04/usr/drivers/omap44xx/mmchs/
H A Dctrlmod.c32 int i = 0, sum = 0; local
37 sum += i + end;
40 dummy += sum;
/barrelfish-2018-10-04/lib/gdtoa/
H A Dsum.c36 sum(a, b) Bigint *a; Bigint *b; function
38 sum(Bigint *a, Bigint *b)

Completed in 262 milliseconds

12345