Searched refs:counts (Results 1 - 25 of 229) sorted by relevance

12345678910

/external/autotest/client/cros/video/
H A Dframe_checksum_utils.py16 counts = {}
19 if checksum in counts:
20 counts[checksum] += 1
22 counts[checksum] = 1
24 return counts
/external/libvpx/libvpx/vpx_dsp/
H A Dprob.c35 const unsigned int *counts,
39 ? counts[-l]
40 : tree_merge_probs_impl(l, tree, pre_probs, counts, probs);
43 ? counts[-r]
44 : tree_merge_probs_impl(r, tree, pre_probs, counts, probs);
51 const unsigned int *counts, vpx_prob *probs) {
52 tree_merge_probs_impl(0, tree, pre_probs, counts, probs);
32 tree_merge_probs_impl(unsigned int i, const vpx_tree_index *tree, const vpx_prob *pre_probs, const unsigned int *counts, vpx_prob *probs) argument
50 vpx_tree_merge_probs(const vpx_tree_index *tree, const vpx_prob *pre_probs, const unsigned int *counts, vpx_prob *probs) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
H A DChiSquareTest.java33 * frequency counts.
36 * the observed counts follow the expected distribution.</p>
39 * <li>Expected counts must all be positive.
41 * <li>Observed counts must all be >= 0.
49 * @param observed array of observed frequency counts
50 * @param expected array of expected frequency counts
63 * frequency counts to those in the <code>expected</code> array.
66 * the null hypothesis that the observed counts conform to the frequency distribution
67 * described by the expected counts.</p>
70 * <li>Expected counts mus
150 chiSquare(long[][] counts) argument
181 chiSquareTest(long[][] counts) argument
219 chiSquareTest(long[][] counts, double alpha) argument
[all...]
H A DChiSquareTestImpl.java58 * expected and observed counts are equal.</p>
60 * @param observed array of observed frequency counts
61 * @param expected array of expected frequency counts
107 * expected and observed counts are equal.</p>
109 * @param observed array of observed frequency counts
110 * @param expected array of expected frequency counts
126 * expected and observed counts are equal.</p>
128 * @param observed array of observed frequency counts
129 * @param expected array of expected frequency counts
147 * @param counts arra
151 chiSquare(long[][] counts) argument
188 chiSquareTest(long[][] counts) argument
204 chiSquareTest(long[][] counts, double alpha) argument
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dinspector_memory_unittest.py25 counts = self._tab.dom_stats
26 self.assertEqual(counts['document_count'], 1,
29 self.assertEqual(counts['node_count'], 14,
31 self.assertEqual(counts['event_listener_count'], 2,
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
H A DPeriod.java32 final int[] counts; field in class:Period
168 for (int i = 0; i < counts.length; ++i) {
169 if (counts[i] != 0) {
182 return counts[unit.ordinal] > 0;
193 if (counts[ord] == 0) {
196 return (counts[ord] - 1)/1000f;
256 * the same counts, both extend into the future or both into the
268 for (int i = 0; i < counts.length; ++i) {
269 if (counts[i] != rhs.counts[
303 Period(int timeLimit, boolean inFuture, int[] counts) argument
[all...]
H A DBasicPeriodFormatter.java42 return format(period.timeLimit, period.inFuture, period.counts);
54 private String format(int tl, boolean inFuture, int[] counts) { argument
56 for (int i = 0; i < counts.length; ++i) {
57 if (counts[i] > 0) {
67 for (int i = 0, m = 1; i < counts.length; ++i, m <<= 1) {
68 if ((mask & m) != 0 && counts[i] == 1) {
91 counts[sx] += (counts[mx]-1)/1000;
100 counts[sx] = 1;
102 counts[s
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DPeriod.java30 final int[] counts; field in class:Period
166 for (int i = 0; i < counts.length; ++i) {
167 if (counts[i] != 0) {
180 return counts[unit.ordinal] > 0;
191 if (counts[ord] == 0) {
194 return (counts[ord] - 1)/1000f;
254 * the same counts, both extend into the future or both into the
266 for (int i = 0; i < counts.length; ++i) {
267 if (counts[i] != rhs.counts[
301 Period(int timeLimit, boolean inFuture, int[] counts) argument
[all...]
H A DBasicPeriodFormatter.java41 return format(period.timeLimit, period.inFuture, period.counts);
53 private String format(int tl, boolean inFuture, int[] counts) { argument
55 for (int i = 0; i < counts.length; ++i) {
56 if (counts[i] > 0) {
66 for (int i = 0, m = 1; i < counts.length; ++i, m <<= 1) {
67 if ((mask & m) != 0 && counts[i] == 1) {
90 counts[sx] += (counts[mx]-1)/1000;
99 counts[sx] = 1;
101 counts[s
[all...]
/external/v8/test/cctest/
H A Dtest-ast-expression-visitor.cc27 NodeTypeCounter(Isolate* isolate, Expression* expr, Counters* counts) argument
28 : AstExpressionVisitor(isolate, expr), counts_(counts) {}
94 // Run NodeTypeCounter and sanity check counts for 3 expression types,
96 NodeTypeCounter::Counters counts; local
97 NodeTypeCounter(isolate, test_function_expr, &counts).Run();
98 CHECK_EQ(21, counts[AstNode::kBinaryOperation]);
99 CHECK_EQ(26, counts[AstNode::kLiteral]);
100 CHECK_EQ(3, counts[AstNode::kFunctionLiteral]);
101 CHECK_EQ(10, counts.size());
/external/strace/
H A Dcount.c46 #define counts (countv[current_personality]) macro
61 if (!counts)
62 counts = xcalloc(nsyscalls, sizeof(*counts));
63 cc = &counts[scno];
108 return -tv_cmp(&counts[*((int *) a)].time,
109 &counts[*((int *) b)].time);
122 int m = counts[*((int *) a)].calls;
123 int n = counts[*((int *) b)].calls;
179 if (counts
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DRegularImmutableSortedMultiset.java33 private final transient int[] counts; field in class:RegularImmutableSortedMultiset
40 int[] counts,
45 this.counts = counts;
55 counts[offset + index]);
71 return (index == -1) ? 0 : counts[index + offset];
106 subElementSet, counts, cumulativeCounts, offset + from, to - from);
112 return offset > 0 || length < counts.length;
38 RegularImmutableSortedMultiset( RegularImmutableSortedSet<E> elementSet, int[] counts, long[] cumulativeCounts, int offset, int length) argument
/external/skia/tools/lua/
H A Dngrams.lua24 -- which generates counts for each n-gram.
49 local counts = {}
53 if counts[ngram] == nil then
54 counts[ngram] = 1
56 counts[ngram] = counts[ngram] + 1
62 for ngram, count in pairs(counts) do
63 io.write("if counts['", ngram, "'] == nil then counts['", ngram, "'] = ", count, " else counts['", ngra
[all...]
H A Dngrams_aggregate.lua4 counts = {}
9 for ngram, count in pairs(counts) do
/external/libvpx/libvpx/
H A Drate_hist.h31 void show_q_histogram(const int counts[64], int max_buckets);
/external/libvpx/libvpx/vp9/common/
H A Dvp9_entropymv.c164 void vp9_inc_mv(const MV *mv, nmv_context_counts *counts) { argument
165 if (counts != NULL) {
167 ++counts->joints[j];
170 inc_mv_component(mv->row, &counts->comps[0], 1, 1);
174 inc_mv_component(mv->col, &counts->comps[1], 1, 1);
184 const nmv_context_counts *counts = &cm->counts.mv; local
186 vpx_tree_merge_probs(vp9_mv_joint_tree, pre_fc->joints, counts->joints,
192 const nmv_component_counts *c = &counts->comps[i];
H A Dvp9_entropymode.c341 const FRAME_COUNTS *counts = &cm->counts; local
345 counts->intra_inter[i]);
348 counts->comp_inter[i]);
351 counts->comp_ref[i]);
355 pre_fc->single_ref_prob[i][j], counts->single_ref[i][j]);
359 counts->inter_mode[i], fc->inter_mode_probs[i]);
363 counts->y_mode[i], fc->y_mode_prob[i]);
367 counts->uv_mode[i], fc->uv_mode_prob[i]);
371 counts
[all...]
H A Dvp9_entropy.c776 vp9_coeff_count_model *counts = cm->counts.coef[tx_size]; local
778 cm->counts.eob_branch[tx_size];
785 const int n0 = counts[i][j][k][l][ZERO_TOKEN];
786 const int n1 = counts[i][j][k][l][ONE_TOKEN];
787 const int n2 = counts[i][j][k][l][TWO_TOKEN];
788 const int neob = counts[i][j][k][l][EOB_MODEL_TOKEN];
/external/testng/src/main/java/org/testng/
H A DSuiteRunnerWorker.java65 SuiteResultCounts counts = new SuiteResultCounts();
67 counts.calculateResultCounts(xmlSuite, suiteRunnerMap);
73 .append(counts.m_total).append(", Failures: ").append(counts.m_failed)
74 .append(", Skips: ").append(counts.m_skipped);
75 if(counts.m_confFailures > 0 || counts.m_confSkips > 0) {
76 bufLog.append("\nConfiguration Failures: ").append(counts.m_confFailures)
77 .append(", Skips: ").append(counts.m_confSkips);
130 * Class to help calculate result counts fo
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DTestBNF.java134 int[] counts; field in class:TestBNF.Counts
136 counts = new int[max+1];
139 counts[index]++;
143 for (int i = 0; i < counts.length; ++i) {
144 if (counts[i] == 0) continue;
145 System.out.println(i + ": " + counts[i]);
200 Counts counts = new Counts(count + 10);
203 counts.inc(s.length());
205 counts.show();
209 Counts counts
[all...]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
H A DTestBNF.java133 int[] counts; field in class:TestBNF.Counts
135 counts = new int[max+1];
138 counts[index]++;
142 for (int i = 0; i < counts.length; ++i) {
143 if (counts[i] == 0) continue;
144 System.out.println(i + ": " + counts[i]);
199 Counts counts = new Counts(count + 10);
202 counts.inc(s.length());
204 counts.show();
208 Counts counts
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemv.h24 nmv_context_counts *const counts);
/external/autotest/client/virt/tests/
H A Dping.py25 counts = params.get("ping_counts", 100)
61 status, output = virt_test_utils.ping(ip, counts,
62 timeout=float(counts) * 1.5)
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodemv.c35 FRAME_COUNTS *counts = xd->counts; local
36 if (counts)
37 ++counts->y_mode[size_group][y_mode];
46 FRAME_COUNTS *counts = xd->counts; local
47 if (counts)
48 ++counts->uv_mode[y_mode][uv_mode];
56 FRAME_COUNTS *counts = xd->counts; local
69 FRAME_COUNTS *counts = xd->counts; local
196 FRAME_COUNTS *counts = xd->counts; local
287 read_mv(vpx_reader *r, MV *mv, const MV *ref, const nmv_context *ctx, nmv_context_counts *counts, int allow_hp) argument
314 FRAME_COUNTS *counts = xd->counts; local
328 FRAME_COUNTS *counts = xd->counts; local
375 FRAME_COUNTS *counts = xd->counts; local
431 FRAME_COUNTS *counts = xd->counts; local
472 FRAME_COUNTS *counts = xd->counts; local
[all...]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
H A Drenderer.py68 @ivar counts: list of the number of RRs in each section
69 @type counts: int list of length 4
99 self.counts = [0, 0, 0, 0]
157 self.counts[QUESTION] += 1
178 self.counts[section] += n
203 self.counts[section] += n
250 self.counts[ADDITIONAL] += 1
299 self.counts[ADDITIONAL] += 1
301 self.output.write(struct.pack('!H', self.counts[ADDITIONAL]))
314 self.counts[
[all...]

Completed in 1362 milliseconds

12345678910