Searched refs:LazyInt (Results 1 – 2 of 2) sorted by relevance
/third_party/abseil-cpp/absl/container/ |
D | flat_hash_map_test.cc | 125 struct LazyInt { struct 126 explicit LazyInt(size_t value, int* tracker) in LazyInt() function 145 size_t operator()(const LazyInt& obj) const { in operator ()() 156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()() 169 m[LazyInt(1, &conversions)] = 1; in TEST() 176 m[LazyInt(1, &conversions)] = 2; in TEST() 183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST() 190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | flat_hash_map_test.cc | 125 struct LazyInt { struct 126 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument 145 size_t operator()(const LazyInt& obj) const { in operator ()() 156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()() 169 m[LazyInt(1, &conversions)] = 1; in TEST() 176 m[LazyInt(1, &conversions)] = 2; in TEST() 183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST() 190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
|