![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Types | |
| enum | { NumChunks = 8*sizeof(quint64) , SegmentSize = NumChunks*Chunk::ChunkSize , NumChunks = 8*sizeof(quint64) , SegmentSize = NumChunks*Chunk::ChunkSize } |
| enum | { NumChunks = 8*sizeof(quint64) , SegmentSize = NumChunks*Chunk::ChunkSize , NumChunks = 8*sizeof(quint64) , SegmentSize = NumChunks*Chunk::ChunkSize } |
Public Member Functions | |
| MemorySegment (size_t sizesize) | |
| MemorySegment (MemorySegment &&other) | |
| ~MemorySegment () | |
| void | setBit (size_t indexindex) |
| void | clearBit (size_t indexindex) |
| bool | testBit (size_t indexindex) const |
| Chunk * | allocate (size_t sizesize) |
| void | free (Chunk *chunk, size_t sizesize) |
| bool | contains (Chunk *cc) const |
| MemorySegment (size_t sizesize) | |
| MemorySegment (MemorySegment &&other) | |
| ~MemorySegment () | |
| void | setBit (size_t indexindex) |
| void | clearBit (size_t indexindex) |
| bool | testBit (size_t indexindex) const |
| Chunk * | allocate (size_t sizesize) |
| void | free (Chunk *chunk, size_t sizesize) |
| bool | contains (Chunk *cc) const |
Public Attributes | |
| PageReservation | pageReservation |
| Chunk * | base = nullptr |
| quint64 | allocatedMap = 0 |
| size_t | availableBytes = 0 |
| uint | nChunks = 0 |
| anonymous enum |
| anonymous enum |
|
inline |
Definition at line 88 of file qv4mm.cpp.
References nChunks, NumChunks, and SegmentSize.
|
inline |
|
inline |
| Chunk * QV4::MemorySegment::allocate | ( | size_t | size | ) |
| Chunk * QV4::MemorySegment::allocate | ( | size_t | size | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint QV4::MemorySegment::nChunks = 0 |
Definition at line 161 of file qv4mm.cpp.
Referenced by MemorySegment(), MemorySegment(), allocate(), clearBit(), setBit(), and testBit().