|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <scratch_slab.hpp>
Public Member Functions | |
| ScratchSlab (const ScratchManifest &manifest) | |
| ~ScratchSlab () | |
| ScratchSlab (const ScratchSlab &)=delete | |
| ScratchSlab & | operator= (const ScratchSlab &)=delete |
| ScratchSlab (ScratchSlab &&)=delete | |
| ScratchSlab & | operator= (ScratchSlab &&)=delete |
| const ScratchManifest & | manifest () const noexcept |
| const Layout & | layout () const noexcept |
| const std::array< Region, kScratchRegionCount > & | regions () const noexcept |
| const Region & | region (ScratchResource resource) const |
| bool | can_extend (ScratchResource resource, std::uint64_t new_extent) const noexcept |
| bool | can_extend (const Region &item, std::uint64_t new_extent) const |
| void | require_extend (ScratchResource resource, std::uint64_t new_extent) const |
| void | require_extend (const Region &item, std::uint64_t new_extent) const |
| void | extend (ScratchResource resource, std::uint64_t new_extent) |
| void | read_at (ScratchResource resource, std::uint64_t offset, void *destination, std::size_t length) const |
| void | read_at (const Region &item, std::uint64_t offset, void *destination, std::size_t length) const |
| void | write_at (ScratchResource resource, std::uint64_t offset, const void *source, std::size_t length) |
| void | write_at (const Region &item, std::uint64_t offset, const void *source, std::size_t length) |
| void | zero () noexcept |
| void | zero (ScratchResource resource) |
| void | reset () noexcept |
| void | reset (ScratchResource resource) |
Definition at line 110 of file scratch_slab.hpp.
|
inlineexplicit |
Definition at line 112 of file scratch_slab.hpp.
References pineforge::detail::compute_layout(), pineforge::detail::kScratchPageSize, manifest(), and zero().
Referenced by operator=(), operator=(), ScratchSlab(), and ScratchSlab().
|
inline |
Definition at line 124 of file scratch_slab.hpp.
References pineforge::detail::kScratchPageSize.
|
delete |
References ScratchSlab().
|
delete |
References ScratchSlab().
|
delete |
References ScratchSlab().
|
delete |
References ScratchSlab().
|
inlinenoexcept |
Definition at line 133 of file scratch_slab.hpp.
Referenced by ScratchSlab().
|
inlinenoexcept |
Definition at line 134 of file scratch_slab.hpp.
|
inlinenoexcept |
Definition at line 135 of file scratch_slab.hpp.
|
inline |
Definition at line 136 of file scratch_slab.hpp.
References pineforge::resource.
Referenced by read_at().
|
inlinenoexcept |
Definition at line 140 of file scratch_slab.hpp.
References pineforge::detail::kScratchRegionCount, and pineforge::resource.
Referenced by can_extend(), and require_extend().
|
inline |
Definition at line 145 of file scratch_slab.hpp.
References can_extend(), and pineforge::detail::Region::resource.
|
inline |
Definition at line 149 of file scratch_slab.hpp.
References can_extend(), and pineforge::resource.
Referenced by extend(), and require_extend().
|
inline |
Definition at line 152 of file scratch_slab.hpp.
References require_extend(), and pineforge::detail::Region::resource.
|
inline |
Definition at line 159 of file scratch_slab.hpp.
References require_extend(), and pineforge::resource.
|
inline |
Definition at line 169 of file scratch_slab.hpp.
References region(), and pineforge::resource.
Referenced by read_at(), and pineforge::detail::IdPairSlabFold::update().
|
inline |
Definition at line 179 of file scratch_slab.hpp.
References read_at(), and pineforge::detail::Region::resource.
|
inline |
Definition at line 184 of file scratch_slab.hpp.
References pineforge::resource.
Referenced by pineforge::detail::IdPairSlabFold::update(), and write_at().
|
inline |
Definition at line 195 of file scratch_slab.hpp.
References pineforge::detail::Region::resource, and write_at().
|
inlinenoexcept |
Definition at line 203 of file scratch_slab.hpp.
Referenced by reset(), reset(), and ScratchSlab().
|
inline |
Definition at line 206 of file scratch_slab.hpp.
References pineforge::resource.
|
inlinenoexcept |
Definition at line 211 of file scratch_slab.hpp.
References zero().
|
inline |
Definition at line 215 of file scratch_slab.hpp.
References pineforge::resource, and zero().