Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfreelist.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#include "qfreelist_p.h"
6
8
9// default sizes and offsets (no need to define these when customizing)
11enum {
12 Offset0 = 0x00000000,
13 Offset1 = 0x00008000,
14 Offset2 = 0x00080000,
15 Offset3 = 0x00800000,
16
20 Size3 = QFreeListDefaultConstants::MaxIndex - Offset3
21};
22}
23
24Q_CONSTINIT const int QFreeListDefaultConstants::Sizes[QFreeListDefaultConstants::BlockCount] = {
25 QFreeListDefaultConstantsPrivate::Size0,
26 QFreeListDefaultConstantsPrivate::Size1,
27 QFreeListDefaultConstantsPrivate::Size2,
28 QFreeListDefaultConstantsPrivate::Size3
29};
30
31QT_END_NAMESPACE
Combined button and popup list for selecting options.