Searched refs:neededCapacity (Results 1 – 2 of 2) sorted by relevance
139 size_t neededCapacity = newIndex + 1; in add() local140 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE; in add()143 size_t nextCapacity = neededCapacity << 1; in add()147 neededCapacity, in add()151 if (neededCapacity > mEntries.size()) { in add()193 size_t neededCapacity = newIndex + 1; in addFixed() local195 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE; in addFixed()198 size_t nextCapacity = neededCapacity << 1; in addFixed()202 neededCapacity, in addFixed()206 if (neededCapacity > mEntries.size()) { in addFixed()
154 uint64_t neededCapacity = newIndex + 1;155 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE;158 uint64_t nextCapacity = neededCapacity << 1;162 neededCapacity,166 if (neededCapacity > mEntries.size()) {208 uint64_t neededCapacity = newIndex + 1;210 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE;213 uint64_t nextCapacity = neededCapacity << 1;217 neededCapacity,221 if (neededCapacity > mEntries.size()) {