|
clang-tools 22.0.0git
|
NOTE: This is an implementation detail. More...
#include <PostingList.h>
Public Member Functions | |
| llvm::SmallVector< DocID, PayloadSize+1 > | decompress () const |
Public Attributes | |
| DocID | Head |
| The first element of decompressed Chunk. | |
| std::array< uint8_t, PayloadSize > | Payload |
| VByte-encoded deltas. | |
Static Public Attributes | |
| static constexpr size_t | PayloadSize = 32 - sizeof(DocID) |
| Keep sizeof(Chunk) == 32. | |
NOTE: This is an implementation detail.
Chunk is a fixed-width piece of PostingList which contains the first DocID in uncompressed format (Head) and delta-encoded Payload. It can be decompressed upon request.
Definition at line 42 of file PostingList.h.
| llvm::SmallVector< DocID, Chunk::PayloadSize+1 > clang::clangd::dex::Chunk::decompress | ( | ) | const |
Definition at line 204 of file PostingList.cpp.
| DocID clang::clangd::dex::Chunk::Head |
The first element of decompressed Chunk.
Definition at line 49 of file PostingList.h.
Referenced by decompress().
| std::array<uint8_t, PayloadSize> clang::clangd::dex::Chunk::Payload |
|
staticconstexpr |
Keep sizeof(Chunk) == 32.
Definition at line 44 of file PostingList.h.