Home
last modified time | relevance | path

Searched refs:mean (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/external/chromium_org/third_party/smhasher/src/
DSpeedTest.cpp19 double mean = 0; in CalcMean() local
23 mean += v[i]; in CalcMean()
26 mean /= double(v.size()); in CalcMean()
28 return mean; in CalcMean()
33 double mean = 0; in CalcMean() local
37 mean += v[i]; in CalcMean()
40 mean /= (b-a+1); in CalcMean()
42 return mean; in CalcMean()
47 double mean = CalcMean(v,a,b); in CalcStdv() local
53 double x = v[i] - mean; in CalcStdv()
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
51 double d = (u[i] - mean); in main()
62 double x_mean = d.mean(); in main()
63 double x_var = d.mean(); in main()
66 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
84 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
90 double d = (u[i] - mean); in main()
101 double x_mean = d.mean(); in main()
102 double x_var = d.mean(); in main()
105 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
[all …]
Deval_param.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
53 double d = (u[i] - mean); in main()
64 double x_mean = p.mean(); in main()
65 double x_var = p.mean(); in main()
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
94 double d = (u[i] - mean); in main()
105 double x_mean = p.mean(); in main()
106 double x_var = p.mean(); in main()
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/
Dwebrunner.js171 results.mean = results.sum / num;
182 results.variance += Math.pow(times[i] - results.mean, 2);
193 results.error = ((results.sem / results.mean) * 100) || 0;
472 runs[data.id].mean = 0;
490 … results[curID].total[run] = {max:0, mean:0, median:0, min:0, deviation:0, error:0, num:0}; property
494 …error = ((((result.deviation / Math.sqrt(result.runs)) * tDistribution) / result.mean) * 100) || 0;
497 … var error = (parseFloat(result.error) / 100) * parseFloat(result.mean);
506 … total.mean += (runStyle === "ms" ? parseFloat(result.mean) : Math.log(parseFloat(result.mean)));
513 … runs[run].mean += runStyle === "ms" ? parseFloat(result.mean) : Math.log(parseFloat(result.mean));
541 item.error = ((item.sem / item.mean) * 100) || 0;
[all …]
/external/opencv/cxcore/src/
Dcxmean.cpp165 mean[0] = scale*(double)tmp##0
171 mean[0] = t0; \
172 mean[1] = t1
179 mean[0] = t0; \
180 mean[1] = t1; \
181 mean[2] = t2
187 mean[0] = t0; \
188 mean[1] = t1; \
191 mean[2] = t0; \
192 mean[3] = t1
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), in main() local
52 double d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
85 double mean = std::accumulate(u.begin(), u.end(), in main() local
92 double d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
125 double mean = std::accumulate(u.begin(), u.end(), in main() local
132 double d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
165 double mean = std::accumulate(u.begin(), u.end(), in main() local
[all …]
/external/opencv/cv/src/
Dcvadapthresh.cpp48 CvMat* mean = 0; in icvAdaptiveThreshold_MeanC() local
70 mean = dst; in icvAdaptiveThreshold_MeanC()
72 CV_CALL( mean = cvCreateMat( rows, cols, CV_8UC1 )); in icvAdaptiveThreshold_MeanC()
74 CV_CALL( cvSmooth( src, mean, method == CV_ADAPTIVE_THRESH_MEAN_C ? in icvAdaptiveThreshold_MeanC()
89 const uchar* m = mean->data.ptr + i*mean->step; in icvAdaptiveThreshold_MeanC()
98 if( mean != dst ) in icvAdaptiveThreshold_MeanC()
99 cvReleaseMat( &mean ); in icvAdaptiveThreshold_MeanC()
/external/clang/test/FixIt/
Dtypo.m12 …NSstring *str = @"A string"; // expected-error{{unknown type name 'NSstring'; did you mean 'NSStri…
50 herivar = a; // expected-error{{use of undeclared identifier 'herivar'; did you mean 'her_ivar'?}}
51 hisivar = a; // expected-error{{use of undeclared identifier 'hisivar'; did you mean 'his_ivar'?}}
52 …self->herivar = a; // expected-error{{'B' does not have a member named 'herivar'; did you mean 'he…
53 …self->hisivar = a; // expected-error{{'B' does not have a member named 'hisivar'; did you mean 'hi…
54 …// expected-error{{property 'hisprop' not found on object of type 'B *'; did you mean 'his_prop'?}}
55 …// expected-error{{property 'herprop' not found on object of type 'B *'; did you mean 'her_prop'?}}
56 … 0; // expected-error{{property 's_prop' not found on object of type 'B *'; did you mean 'sprop'?}}
64 [NSstring method:17]; // expected-error{{unknown receiver 'NSstring'; did you mean 'NSString'?}}
81 …// expected-error{{property 'valu' not found on object of type 'Collide *'; did you mean 'value'?}}
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), in main() local
52 double d = (u[i] - mean); in main()
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
86 double mean = std::accumulate(u.begin(), u.end(), in main() local
93 double d = (u[i] - mean); in main()
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
127 double mean = std::accumulate(u.begin(), u.end(), in main() local
134 double d = (u[i] - mean); in main()
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
168 double mean = std::accumulate(u.begin(), u.end(), in main() local
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/resources/
Dsunspider-analyze-results.js35 var mean = 0; variable
115 mean = total / count;
124 function standardDeviation(mean, items) argument
128 var delta = items[i] - mean;
137 stdDev = standardDeviation(mean, itemTotals["total"]);
176 function formatResult(meanWidth, mean, stdErr, n) argument
178 var meanString = mean.toFixed(1).toString();
186 return meanString + "ms +/- " + ((tDist(n) * stdErr / mean) * 100).toFixed(1) + "%";
207 var width = mean.toFixed(1).toString().length;
222 function resultLine(labelWidth, indent, label, meanWidth, mean, stdErr) argument
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dsampstat47 def standardDeviation(mean, items): argument
48 deltaSquares = [(item - mean) ** 2 for item in items]
65 mean = arithmeticMean(items)
66 stdDev = standardDeviation(mean, items)
83 mean = arithmeticMean(results) variable
85 confidencePercent = 100 * confidenceInterval / mean
97 print "%s%.2f %s +/- %.2f %s (%.1f%%)" % (prefix, mean, options.unit, confidenceInterval, options.u…
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp21 expected-note {{did you mean to compare}} \ in f()
27 expected-note {{did you mean to compare}} \ in f()
33 expected-note {{did you mean to compare}} \ in f()
39 expected-note {{did you mean to compare}} \ in f()
45 expected-note {{did you mean to compare}} \ in f()
51 expected-note {{did you mean to compare}} \ in f()
57 expected-note {{did you mean to compare}} \ in f()
63 expected-note {{did you mean to compare}} \ in f()
69 expected-note {{did you mean to compare}} \ in f()
75 expected-note {{did you mean to compare}} \ in f()
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp45 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local
52 D::result_type d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
85 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local
92 D::result_type d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
125 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local
132 D::result_type d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
165 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), in main() local
52 double d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
85 double mean = std::accumulate(u.begin(), u.end(), in main() local
92 double d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
125 double mean = std::accumulate(u.begin(), u.end(), in main() local
132 double d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
165 double mean = std::accumulate(u.begin(), u.end(), in main() local
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), in main() local
52 double d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
85 double mean = std::accumulate(u.begin(), u.end(), in main() local
92 double d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
125 double mean = std::accumulate(u.begin(), u.end(), in main() local
132 double d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
165 double mean = std::accumulate(u.begin(), u.end(), in main() local
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
51 double d = (u[i] - mean); in main()
66 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
84 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
90 double d = (u[i] - mean); in main()
105 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
123 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
129 double d = (u[i] - mean); in main()
144 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
162 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
[all …]
Deval_param.pass.cpp46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
52 double d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
92 double d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
132 double d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
166 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp42 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
48 double d = (u[i] - mean); in main()
63 assert(std::abs(mean - x_mean) < 0.01); in main()
78 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
84 double d = (u[i] - mean); in main()
99 assert(std::abs(mean - x_mean) < 0.01); in main()
114 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
120 double d = (u[i] - mean); in main()
135 assert(std::abs(mean - x_mean) < 0.01); in main()
Deval_param.pass.cpp43 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
49 double d = (u[i] - mean); in main()
64 assert(std::abs(mean - x_mean) < 0.01); in main()
80 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
86 double d = (u[i] - mean); in main()
101 assert(std::abs(mean - x_mean) < 0.01); in main()
117 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
123 double d = (u[i] - mean); in main()
138 assert(std::abs(mean - x_mean) < 0.01); in main()
/external/chromium_org/third_party/webrtc/base/
Dprofiler_unittest.cc40 EXPECT_NEAR(kWaitSec, event->mean(), kTolerance * 3); in TEST()
46 EXPECT_NEAR(kWaitSec, event->mean(), kTolerance); in TEST()
48 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count()); in TEST()
71 EXPECT_NEAR(kWaitSec, event1->mean(), kTolerance); in TEST()
85 EXPECT_NEAR(kEvent2WaitSec, event2->mean(), kTolerance * 4); in TEST()
97 EXPECT_NEAR(kWaitSec, event1->mean(), kTolerance); in TEST()
99 EXPECT_DOUBLE_EQ(event1->mean(), in TEST()
/external/lldb/tools/lldb-perf/lib/
DMetric.cpp67 T mean = 0; in GetStandardDeviation() local
72 T delta = x - mean; in GetStandardDeviation()
73 mean = mean + delta/n; in GetStandardDeviation()
74 M2 = M2+delta*(x-mean); in GetStandardDeviation()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
52 double d = (u[i] - mean); in main()
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
92 double d = (u[i] - mean); in main()
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
132 double d = (u[i] - mean); in main()
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
/external/fio/
Dstat.c244 double *mean, double *dev) in calc_lat() argument
253 *mean = is->mean.u.f; in calc_lat()
345 double mean, double dev) in display_lat() argument
350 if (!usec_to_msec(&min, &max, &mean, &dev)) in display_lat()
357 " stdev=%5.02f\n", name, base, minp, maxp, mean, dev); in display_lat()
369 double mean, dev; in show_ddir_status() local
397 if (calc_lat(&ts->slat_stat[ddir], &min, &max, &mean, &dev)) in show_ddir_status()
398 display_lat("slat", min, max, mean, dev); in show_ddir_status()
399 if (calc_lat(&ts->clat_stat[ddir], &min, &max, &mean, &dev)) in show_ddir_status()
400 display_lat("clat", min, max, mean, dev); in show_ddir_status()
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
53 double d = (u[i] - mean); in main()
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
94 double d = (u[i] - mean); in main()
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
129 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
135 double d = (u[i] - mean); in main()
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval_param.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
53 double d = (u[i] - mean); in main()
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
94 double d = (u[i] - mean); in main()
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
129 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local
135 double d = (u[i] - mean); in main()
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()

12345678910>>...25