/external/chromium_org/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(0, set.occupancy()); 101 CHECK_EQ(3, set.occupancy()); 105 CHECK_EQ(3, set.occupancy()); 111 CHECK_EQ(3, set.occupancy()); 117 CHECK_EQ(2, set.occupancy()); 123 CHECK_EQ(1, set.occupancy()); 126 CHECK_EQ(0, set.occupancy()); 136 CHECK_EQ(i, static_cast<double>(set.occupancy())); [all...] |
/external/harfbuzz_ng/src/ |
gen-indic-table.py | 197 occupancy = used * 100. / total variable 199 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy) 235 # Maintain at least 30% occupancy in the table */ 236 if occupancy < 30: 237 raise Exception ("Table too sparse, please investigate: ", occupancy)
|
/external/chromium_org/v8/src/ |
hashmap.h | 57 // Empties the hash map (occupancy() == 0). 61 uint32_t occupancy() const { return occupancy_; } function in class:v8::internal::TemplateHashMapImpl 64 // makes sure that occupancy is at most 80% of 130 // Grow the map if we reached >= 80% occupancy.
|