/external/v8/test/cctest/ |
test-hashmap.cc | 75 uint32_t occupancy() const { function in class:IntSet 80 CHECK_EQ(map_.occupancy(), static_cast<double>(count)); 96 CHECK_EQ(0u, set.occupancy()); 101 CHECK_EQ(3u, set.occupancy()); 105 CHECK_EQ(3u, set.occupancy()); 111 CHECK_EQ(3u, set.occupancy()); 117 CHECK_EQ(2u, set.occupancy()); 123 CHECK_EQ(1u, set.occupancy()); 126 CHECK_EQ(0u, set.occupancy()); 136 CHECK_EQ(i, static_cast<double>(set.occupancy())); [all...] |
/external/harfbuzz_ng/src/ |
gen-indic-table.py | 198 occupancy = used * 100. / total variable 200 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy) 236 # Maintain at least 30% occupancy in the table */ 237 if occupancy < 30: 238 raise Exception ("Table too sparse, please investigate: ", occupancy)
|
gen-use-table.py | 436 occupancy = used * 100. / total variable 438 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy) 474 # Maintain at least 50% occupancy in the table */ 475 if occupancy < 50: 476 raise Exception ("Table too sparse, please investigate: ", occupancy)
|
/external/v8/src/ |
hashmap.h | 59 // Empties the hash map (occupancy() == 0). 63 uint32_t occupancy() const { return occupancy_; } function in class:v8::internal::TemplateHashMapImpl 66 // makes sure that occupancy is at most 80% of 139 // Grow the map if we reached >= 80% occupancy.
|