Home
last modified time | relevance | path

Searched refs:snapshot1 (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc100 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() local
101 EXPECT_EQ(1, snapshot1->TotalCount()); in TEST_P()
102 EXPECT_EQ(1, snapshot1->GetCount(100)); in TEST_P()
119 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() local
120 EXPECT_EQ(15, snapshot1->TotalCount()); in TEST_P()
121 EXPECT_EQ(15, snapshot1->GetCount(100)); in TEST_P()
138 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() local
139 EXPECT_EQ(15, snapshot1->TotalCount()); in TEST_P()
140 EXPECT_EQ(15, snapshot1->GetCount(1000000000)); in TEST_P()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java294 DiskLruCache.Snapshot snapshot1 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency() local
295 BufferedSource inV1 = Okio.buffer(snapshot1.getSource(0)); in readAndWriteOverlapsMaintainConsistency()
311 assertSnapshotValue(snapshot1, 1, "BBbb"); in readAndWriteOverlapsMaintainConsistency()
312 snapshot1.close(); in readAndWriteOverlapsMaintainConsistency()
/external/python/cpython3/Doc/library/
Dtracemalloc.rst85 snapshot1 = tracemalloc.take_snapshot()
89 top_stats = snapshot2.compare_to(snapshot1, 'lineno')