Searched defs:occupancy (Results 1 - 2 of 2) sorted by relevance

/external/v8/test/cctest/
H A Dtest-hashmap.cc74 uint32_t occupancy() const { function in class:IntSet
79 CHECK_EQ(map_.occupancy(), static_cast<double>(count));
95 CHECK_EQ(0, set.occupancy());
100 CHECK_EQ(3, set.occupancy());
104 CHECK_EQ(3, set.occupancy());
110 CHECK_EQ(3, set.occupancy());
116 CHECK_EQ(2, set.occupancy());
122 CHECK_EQ(1, set.occupancy());
125 CHECK_EQ(0, set.occupancy());
135 CHECK_EQ(i, static_cast<double>(set.occupancy()));
[all...]
/external/v8/src/
H A Dhashmap.h68 // Empties the hash map (occupancy() == 0).
72 uint32_t occupancy() const { return occupancy_; } function in class:v8::internal::TemplateHashMapImpl
75 // makes sure that occupancy is at most 80% of
134 // Grow the map if we reached >= 80% occupancy.

Completed in 623 milliseconds