qt5base-lts/tests/auto
João Abecasis 7919c0529e Add AllocationOption::Grow
This is meant to reduce the number of allocations on growing containers.
It serves the same purpose as the existing qAllocMore which is currently
used by container classes.

While only a container knows when it is growing, it doesn't need to care
how that information is used. qAllocMore is currently treated as a
black-box and its result is (basically) forwarded blindly to an allocate
function. In that respect, container code using qAllocMore acts as an
intermediary.

By merging that functionality in the allocate function itself we offer
the same benefits without the intermediaries, allowing for simpler code
and centralized decisions on memory allocation.

Once all users of qAllocMore get ported to QArrayData and
QArrayData::allocate, qAllocMore can be moved or more closely integrated
into qarraydata.cpp and qtools_p.h can be dropped.

Change-Id: I4c09bf7df274b45c399082fc7113a18e4641c5f0
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-02-29 14:31:15 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Complete split of QtConcurrent. 2012-02-06 16:48:22 +01:00
corelib Add AllocationOption::Grow 2012-02-29 14:31:15 +01:00
dbus Port QDBusMetaObject to Qt5 meta-property/method descriptor format 2012-02-29 12:50:14 +01:00
gui QClipboard: Fix autotest fails 2012-02-27 20:52:45 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Changed qnetworkreply unittest to return correct code 2012-02-27 04:19:28 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Reduce QtCore lib binary size by around ~3KB, by removing template code 2012-02-27 12:57:02 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql restore previously non-working disabled test 2012-02-28 07:29:00 +01:00
testlib testlib: Improve the silent logging mode 2012-02-28 05:56:03 +01:00
tools Rename QMetaMethod::signature() to methodSignature() 2012-02-29 12:50:14 +01:00
widgets Rename QMetaMethod::signature() to methodSignature() 2012-02-29 12:50:14 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Disable 'check' target generation for network autotests for Windows. 2012-02-17 11:48:08 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00