Qt
6.x
The Qt SDK
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
enum
{
10
Offset0
= 0x00000000,
11
Offset1
= 0x00008000,
12
Offset2
= 0x00080000,
13
Offset3
= 0x00800000,
14
15
Size0
=
Offset1
-
Offset0
,
16
Size1
=
Offset2
-
Offset1
,
17
Size2
=
Offset3
-
Offset2
,
18
Size3
=
QFreeListDefaultConstants::MaxIndex
-
Offset3
19
};
20
21
Q_CONSTINIT
const
int
QFreeListDefaultConstants::Sizes
[
QFreeListDefaultConstants::BlockCount
] = {
22
Size0
,
23
Size1
,
24
Size2
,
25
Size3
26
};
27
28
QT_END_NAMESPACE
29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
Size0
@ Size0
Definition
qfreelist.cpp:15
Size1
@ Size1
Definition
qfreelist.cpp:16
Offset0
@ Offset0
Definition
qfreelist.cpp:10
Size3
@ Size3
Definition
qfreelist.cpp:18
Offset1
@ Offset1
Definition
qfreelist.cpp:11
Size2
@ Size2
Definition
qfreelist.cpp:17
Offset3
@ Offset3
Definition
qfreelist.cpp:13
Offset2
@ Offset2
Definition
qfreelist.cpp:12
qfreelist_p.h
QFreeListDefaultConstants::Sizes
static const int Sizes[BlockCount]
Definition
qfreelist_p.h:90
QFreeListDefaultConstants::MaxIndex
@ MaxIndex
Definition
qfreelist_p.h:86
QFreeListDefaultConstants::BlockCount
@ BlockCount
Definition
qfreelist_p.h:87
qtbase
src
corelib
tools
qfreelist.cpp
Generated by
1.9.7