Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `valid range` as part of bounded CD or PC geometry-page streaming.
static bool valid_range(uint32_t offset, uint32_t bytes, uint32_t alignment = 4)Performs `valid range` as part of bounded CD or PC geometry-page streaming.
| Parameter | Type | Meaning |
|---|---|---|
offset | uint32_t | Not documented; consult the linked header. |
bytes | uint32_t | Not documented; consult the linked header. |
alignment | uint32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "streaming_pool.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t offset
// uint32_t bytes
// uint32_t alignment
auto result = epok::StreamPagePool::valid_range(offset, bytes, alignment);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/streaming_pool.hpp:187
completePerforms `complete` as part of bounded CD or PC geometry-page streaming.MethoddestinationPerforms `destination` as part of bounded CD or PC geometry-page streaming.MethodfindFinds find as part of bounded CD or PC geometry-page streaming.Methodhas_free_slotReports whether free slot as part of bounded CD or PC geometry-page streaming.MethodpinPerforms `pin` as part of bounded CD or PC geometry-page streaming.Methodpin_slotPerforms `pin slot` as part of bounded CD or PC geometry-page streaming.MethodreadyReads y as part of bounded CD or PC geometry-page streaming.Methodready_dataThe data of a resident, completed page, or null: one search instead of ready() followed by destination(find()).MethodreserveReturn the resident slot or reserve an unpinned slot for a read.Methodresident_countPerforms `resident count` as part of bounded CD or PC geometry-page streaming.MethodunpinPerforms `unpin` as part of bounded CD or PC geometry-page streaming.Methodunpin_slotPerforms `unpin slot` as part of bounded CD or PC geometry-page streaming.Method