Home
last modified time | relevance | path

Searched refs:countCollisions (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DDynamicHashTest.cpp28 int countCollisions(const int& key) const { return this->INHERITED::countCollisions(key); } in countCollisions() function in __anona2251c300111::Hash
86 ASSERT(hash.countCollisions(1) == 0); in DEF_TEST()
87 ASSERT(hash.countCollisions(5) == 0); in DEF_TEST()
88 ASSERT(hash.countCollisions(9) == 0); in DEF_TEST()
92 ASSERT(hash.countCollisions(1) == 0); in DEF_TEST()
93 ASSERT(hash.countCollisions(5) == 1); in DEF_TEST()
94 ASSERT(hash.countCollisions(9) == 1); in DEF_TEST()
98 ASSERT(hash.countCollisions(1) == 0); in DEF_TEST()
99 ASSERT(hash.countCollisions(5) == 1); in DEF_TEST()
100 ASSERT(hash.countCollisions(9) == 2); in DEF_TEST()
[all …]
/external/skia/src/core/
DSkTDynamicHash.h144 int countCollisions(const Key& key) const { in countCollisions() function