Searched refs:initialCapacity (Results 1 - 3 of 3) sorted by relevance

/system/core/include/cutils/
H A Dhashmap.h37 * @param initialCapacity number of expected entries
41 Hashmap* hashmapCreate(size_t initialCapacity,
/system/core/libutils/tests/
H A DBasicHashtable_test.cpp416 size_t initialCapacity = h.capacity(); local
419 for (size_t i = 0; i < initialCapacity; i++) {
423 EXPECT_EQ(initialCapacity, h.size());
424 EXPECT_EQ(initialCapacity, h.capacity());
429 EXPECT_EQ(initialCapacity + 1, h.size());
430 EXPECT_GT(h.capacity(), initialCapacity);
/system/core/libcutils/
H A Dhashmap.c43 Hashmap* hashmapCreate(size_t initialCapacity, argument
54 size_t minimumBucketCount = initialCapacity * 4 / 3;

Completed in 54 milliseconds