Home
last modified time | relevance | path

Searched refs:samples2 (Results 1 – 25 of 39) sorted by relevance

12

/external/libchrome/base/metrics/
Dsample_vector_unittest.cc103 SampleVector samples2(2, &ranges); in TEST_F() local
104 samples2.Accumulate(1, 200); in TEST_F()
105 samples2.Accumulate(2, 200); in TEST_F()
106 samples2.Accumulate(4, 200); in TEST_F()
107 EXPECT_EQ(1400, samples2.sum()); in TEST_F()
108 EXPECT_EQ(600, samples2.TotalCount()); in TEST_F()
109 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST_F()
111 samples1.Add(samples2); in TEST_F()
120 samples1.Subtract(samples2); in TEST_F()
157 SampleVector samples2(2, &ranges2); in TEST_F() local
[all …]
Dpersistent_sample_map_unittest.cc77 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST() local
78 samples2.Accumulate(1, 200); in TEST()
79 samples2.Accumulate(2, 200); in TEST()
80 samples2.Accumulate(4, 200); in TEST()
82 samples1.Add(samples2); in TEST()
91 samples1.Subtract(samples2); in TEST()
119 PersistentSampleMap samples2(12, allocator2.get(), &meta12); in TEST() local
120 EXPECT_EQ(samples1.id(), samples2.id()); in TEST()
121 EXPECT_EQ(samples1.sum(), samples2.sum()); in TEST()
122 EXPECT_EQ(samples1.redundant_count(), samples2.redundant_count()); in TEST()
[all …]
Dsample_map_unittest.cc45 SampleMap samples2(2); in TEST() local
51 samples2.Accumulate(1, 200); in TEST()
52 samples2.Accumulate(2, 200); in TEST()
53 samples2.Accumulate(4, 200); in TEST()
55 samples1.Add(samples2); in TEST()
64 samples1.Subtract(samples2); in TEST()
117 SampleMap samples2(2); in TEST() local
118 samples2.Accumulate(5, 1); in TEST()
119 samples2.Accumulate(20, 4); in TEST()
120 samples2.Accumulate(25, 5); in TEST()
[all …]
Dhistogram_unittest.cc393 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() local
394 EXPECT_EQ(78, samples2->TotalCount()); in TEST_P()
395 EXPECT_EQ(40, samples2->GetCount(20)); in TEST_P()
396 EXPECT_EQ(38, samples2->GetCount(30)); in TEST_P()
416 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() local
417 EXPECT_EQ(78, samples2->TotalCount()); in TEST_P()
418 EXPECT_EQ(40, samples2->GetCount(200000000)); in TEST_P()
419 EXPECT_EQ(38, samples2->GetCount(300000000)); in TEST_P()
420 EXPECT_EQ(19400000000LL, samples2->sum()); in TEST_P()
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodsOld.java105 private DayPeriodsOld(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriodsOld() argument
107 fix(map, samples2, DayPeriod.MORNING2, DayPeriod.MORNING1); in DayPeriodsOld()
108 fix(map, samples2, DayPeriod.AFTERNOON2, DayPeriod.AFTERNOON1); in DayPeriodsOld()
109 fix(map, samples2, DayPeriod.EVENING2, DayPeriod.EVENING1); in DayPeriodsOld()
110 fix(map, samples2, DayPeriod.NIGHT2, DayPeriod.NIGHT1); in DayPeriodsOld()
112 samples = Collections.unmodifiableMap(samples2); in DayPeriodsOld()
115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix() argument
116 if (samples2.containsKey(dayPeriod2) && !samples2.containsKey(dayPeriod1)) { in fix()
117 samples2.put(dayPeriod1, samples2.get(dayPeriod2)); in fix()
118 samples2.remove(dayPeriod2); in fix()
DDayPeriods.java105 private DayPeriods(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriods() argument
107 fix(map, samples2, DayPeriod.MORNING2, DayPeriod.MORNING1); in DayPeriods()
108 fix(map, samples2, DayPeriod.AFTERNOON2, DayPeriod.AFTERNOON1); in DayPeriods()
109 fix(map, samples2, DayPeriod.EVENING2, DayPeriod.EVENING1); in DayPeriods()
110 fix(map, samples2, DayPeriod.NIGHT2, DayPeriod.NIGHT1); in DayPeriods()
112 samples = Collections.unmodifiableMap(samples2); in DayPeriods()
115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix() argument
116 if (samples2.containsKey(dayPeriod2) && !samples2.containsKey(dayPeriod1)) { in fix()
117 samples2.put(dayPeriod1, samples2.get(dayPeriod2)); in fix()
118 samples2.remove(dayPeriod2); in fix()
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dstatistical_testing.py689 samples1, low1, high1, samples2, low2, high2, argument
736 [samples1, low1, high1, samples2, low2, high2, false_fail_rate]):
740 samples2 = ops.convert_to_tensor(samples2, name="samples2")
746 samples2 = _check_shape_dominates(samples2, [low2, high2])
748 array_ops.shape(samples1)[1:], array_ops.shape(samples2)[1:])
758 samples2, low2, high2, false_fail_rate / 2.)
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateCoverageLevels.java270 …private static void summarizeCoverage(PrintWriter summary, PrintWriter samples2, PrintWriter count… in summarizeCoverage() argument
364 samples2.println(); in summarizeCoverage()
365 samples2.println(locale + "\t" + english.getName(locale)); in summarizeCoverage()
387samples2.println(level + "\tMissing:\t" + integer.format(missingCount) + "\tFound:\t" in summarizeCoverage()
394 samples2.println("\t" + row); in summarizeCoverage()
397 samples2.println("\t..."); in summarizeCoverage()
409 samples2.println(summaryLine); in summarizeCoverage()
DWritePluralRulesSpreadsheets.java232 Set<FixedDecimalRange> samples2 = samples.getSamples(); in getSample() local
233 if (samples2 == null) { in getSample()
236 for (FixedDecimalRange sample : samples2) { in getSample()
DGeneratedPluralSamples.java266 Ranges samples2 = new Ranges(samples);
269 samples2.add(ni);
272 return samples2 + (isBounded ? "" : ", …");
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java334 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType);
335 if (samples2 != null) {
336 samples.add(samples2);
353 Set<FixedDecimalRange> samples2 = sample3.getSamples();
354 if (samples2 == null) {
357 for (FixedDecimalRange sample : samples2) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java331 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType);
332 if (samples2 != null) {
333 samples.add(samples2);
350 Set<FixedDecimalRange> samples2 = sample3.getSamples();
351 if (samples2 == null) {
354 for (FixedDecimalRange sample : samples2) {
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dstatistical_testing_test.py179 samples2 = rng.uniform(size=num_samples).astype(np.float32)
181 samples1, 0., 1., samples2, 0., 1., false_fail_rate=1e-6))
Dwishart_test.py181 samples2 = chol_w2.sample(n_val, seed=123456).eval()
183 self.assertAllClose(samples1, samples2)
Dkumaraswamy_test.py332 samples2 = kumaraswamy2.sample(n_val, seed=123456).eval()
334 self.assertAllClose(samples1, samples2)
Dmixture_test.py565 samples2 = dist2.sample(n, seed=123456).eval()
567 self.assertAllClose(samples1, samples2)
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java1151 Set<FixedDecimalRange> samples2 = new LinkedHashSet<>(); in parse() local
1176 samples2.add(new FixedDecimalRange(sample, sample)); in parse()
1183 samples2.add(new FixedDecimalRange(start, end)); in parse()
1188 … return new FixedDecimalSamples(sampleType2, Collections.unmodifiableSet(samples2), bounded2); in parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java1087 Set<FixedDecimalRange> samples2 = new LinkedHashSet<>(); in parse() local
1112 samples2.add(new FixedDecimalRange(sample, sample)); in parse()
1119 samples2.add(new FixedDecimalRange(start, end)); in parse()
1124 … return new FixedDecimalSamples(sampleType2, Collections.unmodifiableSet(samples2), bounded2); in parse()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dbeta_test.py294 samples2 = self.evaluate(beta2.sample(n_val, seed=123456))
296 self.assertAllClose(samples1, samples2)
Dstudent_t_test.py189 samples2 = self.evaluate(student2.sample(n, seed=123456))
191 self.assertAllClose(samples1, samples2)
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DFragmentedMp4Builder.java98 … List<ByteBuffer> samples2 = o2.getSamples().subList(l2i(startSample2) - 1, l2i(endSample2) - 1); in sortTracksInSequence()
104 for (ByteBuffer byteBuffer : samples2) { in sortTracksInSequence()
/external/jemalloc/bin/
Djeprof.in1703 my $samples2 = {}; # Map from line number to cumulative count
1771 AddEntry($samples2, $line, $running2);
1787 AddEntry($samples2, $lastline, $running2);
1828 my $n2 = GetEntry($samples2, $l);
/external/jemalloc_new/bin/
Djeprof.in1704 my $samples2 = {}; # Map from line number to cumulative count
1772 AddEntry($samples2, $line, $running2);
1788 AddEntry($samples2, $lastline, $running2);
1829 my $n2 = GetEntry($samples2, $l);
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java629 Set<FixedDecimalRange> samples2 = samples.getSamples(); in getBest() local
630 FixedDecimalRange range = samples2.iterator().next(); in getBest()
/external/deqp/android/cts/lmp-mr1/src/
Des31-lmp-mr1.txt14366 dEQP-GLES31.functional.fbo.no_attachments.multisample.samples2

12