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
4
#
include
"qfreelist_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
// default sizes and offsets (no need to define these when customizing)
9
namespace
QFreeListDefaultConstantsPrivate
{
10
enum
{
11
Offset0
= 0x00000000,
12
Offset1
= 0x00008000,
13
Offset2
= 0x00080000,
14
Offset3
= 0x00800000,
15
16
Size0
=
Offset1
-
Offset0
,
17
Size1
=
Offset2
-
Offset1
,
18
Size2
=
Offset3
-
Offset2
,
19
Size3
= QFreeListDefaultConstants::MaxIndex - Offset3
20
};
21
}
22
23
Q_CONSTINIT
const
int
QFreeListDefaultConstants::Sizes[QFreeListDefaultConstants::BlockCount] = {
24
QFreeListDefaultConstantsPrivate::Size0,
25
QFreeListDefaultConstantsPrivate::Size1,
26
QFreeListDefaultConstantsPrivate::Size2,
27
QFreeListDefaultConstantsPrivate::Size3
28
};
29
30
QT_END_NAMESPACE
QFreeListDefaultConstantsPrivate
Definition
qfreelist.cpp:9
QFreeListDefaultConstantsPrivate::Size2
@ Size2
Definition
qfreelist.cpp:18
QFreeListDefaultConstantsPrivate::Offset1
@ Offset1
Definition
qfreelist.cpp:12
QFreeListDefaultConstantsPrivate::Size0
@ Size0
Definition
qfreelist.cpp:16
QFreeListDefaultConstantsPrivate::Offset0
@ Offset0
Definition
qfreelist.cpp:11
QFreeListDefaultConstantsPrivate::Offset2
@ Offset2
Definition
qfreelist.cpp:13
QFreeListDefaultConstantsPrivate::Offset3
@ Offset3
Definition
qfreelist.cpp:14
QFreeListDefaultConstantsPrivate::Size3
@ Size3
Definition
qfreelist.cpp:19
QFreeListDefaultConstantsPrivate::Size1
@ Size1
Definition
qfreelist.cpp:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtbase
src
corelib
tools
qfreelist.cpp
Generated on Sun Mar 9 2025 00:40:43 for Qt by
1.13.2