P4C
The P4 Compiler
|
#include <copacker.h>
Public Member Functions | |
bool | empty () const |
size_t | size () const |
Public Attributes | |
std::optional< PHV::Container > | container = std::nullopt |
pack to this container. | |
FieldSliceAllocStartMap | fs_starts = {} |
field slices and their starting indexes. | |
SrcPackVec represents a way of how to pack and allocate a set of source field slices to a source container.
|
inline |
true if it is okay to left shift (increase starting index) for fields in fs_starts. disabled because we have not found a good algorithm to generate shiftable candidates.
|
inline |