Home
last modified time | relevance | path

Searched refs:samples1 (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/base/metrics/
Dsample_map_unittest.cc27 SampleMap samples1; in TEST() local
30 samples1.Accumulate(1, 100); in TEST()
31 samples1.Accumulate(2, 100); in TEST()
32 samples1.Accumulate(3, 100); in TEST()
38 samples1.Add(samples2); in TEST()
39 EXPECT_EQ(300, samples1.GetCount(1)); in TEST()
40 EXPECT_EQ(300, samples1.GetCount(2)); in TEST()
41 EXPECT_EQ(100, samples1.GetCount(3)); in TEST()
42 EXPECT_EQ(200, samples1.GetCount(4)); in TEST()
43 EXPECT_EQ(2000, samples1.sum()); in TEST()
[all …]
Dsample_vector_unittest.cc54 SampleVector samples1(&ranges); in TEST() local
55 samples1.Accumulate(0, 100); in TEST()
56 samples1.Accumulate(2, 100); in TEST()
57 samples1.Accumulate(4, 100); in TEST()
58 EXPECT_EQ(600, samples1.sum()); in TEST()
59 EXPECT_EQ(300, samples1.TotalCount()); in TEST()
60 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
70 samples1.Add(samples2); in TEST()
71 EXPECT_EQ(100, samples1.GetCountAtIndex(0)); in TEST()
72 EXPECT_EQ(200, samples1.GetCountAtIndex(1)); in TEST()
[all …]
/external/chromium_org/chrome/browser/search/
Dmost_visited_iframe_source_unittest.cc39 scoped_ptr<base::HistogramSamples> samples1(histogram->SnapshotSamples()); in TEST_F() local
41 EXPECT_EQ(1, samples1->TotalCount()); in TEST_F()
42 EXPECT_EQ(1, samples1->GetCount(0)); in TEST_F()
48 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
82 scoped_ptr<base::HistogramSamples> samples1(histogram->SnapshotSamples()); in TEST_F() local
84 EXPECT_EQ(1, samples1->TotalCount()); in TEST_F()
85 EXPECT_EQ(1, samples1->GetCount(0)); in TEST_F()
91 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
/external/chromium_org/dbus/
Dsignal_sender_verification_unittest.cc194 scoped_ptr<base::HistogramSamples> samples1( in TEST_F() local
208 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DFragmentedMp4Builder.java97 … List<ByteBuffer> samples1 = o1.getSamples().subList(l2i(startSample1) - 1, l2i(endSample1) - 1); in sortTracksInSequence()
100 for (ByteBuffer byteBuffer : samples1) { in sortTracksInSequence()
/external/chromium-trace/trace-viewer/src/tracing/importer/
Dtrace_event_importer_test.js642 var samples1 = [];
644 samples1.push(sample.value);
646 assertArrayEquals([7, 4, 1], samples1);
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dpprof1653 my $samples1 = {}; # Map from line number to flat count
1721 AddEntry($samples1, $line, $running1);
1737 AddEntry($samples1, $lastline, $running1);
1778 my $n1 = GetEntry($samples1, $l);
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dpprof1653 my $samples1 = {}; # Map from line number to flat count
1721 AddEntry($samples1, $line, $running1);
1737 AddEntry($samples1, $lastline, $running1);
1778 my $n1 = GetEntry($samples1, $l);
/external/chromium_org/net/cookies/
Dcookie_monster_unittest.cc2280 scoped_ptr<base::HistogramSamples> samples1( in TEST_F() local
2296 EXPECT_EQ(samples1->TotalCount() + 1, samples2->TotalCount()); in TEST_F()