13 #ifndef THRILL_DATA_MULTIPLEXER_HEADER_HEADER 14 #define THRILL_DATA_MULTIPLEXER_HEADER_HEADER 55 size(static_cast<uint32_t>(b.size())),
56 num_items(static_cast<uint32_t>(b.num_items())),
57 first_item(static_cast<uint32_t>(b.first_item_relative())),
67 header_size +
sizeof(size_t) + 3 *
sizeof(uint32_t);
71 "MultiplexerHeader has invalid size");
84 uint32_t receiver_local_worker = 0;
86 uint32_t sender_worker = 0;
91 static const uint32_t all_workers = uint32_t(-1);
93 static const uint32_t final_seq = uint32_t(-1);
119 return receiver_local_worker == all_workers;
124 return sender_worker / workers_per_host;
129 "StreamMultiplexerHeader has invalid size");
134 size_t partition_set_id = 0;
137 uint32_t receiver_local_worker = 0;
138 uint32_t sender_worker = 0;
166 "PartitionMultiplexerHeader has invalid size");
168 #if defined(_MSC_VER) 177 #endif // !THRILL_DATA_MULTIPLEXER_HEADER_HEADER
class thrill::data::MultiplexerHeader TLX_ATTRIBUTE_PACKED
static constexpr bool g_self_verify
BufferReader represents a BufferRef with an additional cursor with which the memory can be read incre...
BufferBuilder & Reserve(size_t n)
Make sure that at least n bytes are allocated.
BufferBuilder represents a dynamically growable area of memory, which can be modified by appending in...
A pinned / pin-counted derivative of a Block.
BufferBuilder & Put(const Type &item)