|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Namespaces | |
| namespace | journal_codec |
| namespace | o1 |
| namespace | scratch_impl |
| namespace | scratch_layout_detail |
| namespace | script_array |
Typedefs | |
| using | QuotaWire = std::array<unsigned char, kRunQuotaWireSize> |
| using | ScratchPageId = std::uint64_t |
| using | ScratchIoError = ReportScratchIoError |
| using | ScratchHandle = std::uint64_t |
| using | ScratchRecordVisitor = bool (*)(void*, const ScratchRecordView&) noexcept |
| using | ScratchChunkVisitor = bool (*)(void*, const ScratchChunkView&) noexcept |
| template<typename T> | |
| using | PineMapBare = std::remove_cv_t<std::remove_reference_t<T>> |
| template<typename T> | |
| using | MapRepOf |
Functions | |
| template<class Container> | |
| void | release_empty_exposure_capacity (Container &container) |
| template<class Container> | |
| void | clear_exposure_storage (Container &container) |
| bool | operator== (ReadThroughCacheKey a, ReadThroughCacheKey b) noexcept |
| bool | operator!= (ReadThroughCacheKey a, ReadThroughCacheKey b) noexcept |
| QuotaMode | mode () noexcept |
| const char * | quota_line () noexcept |
| const char * | last_admission_diagnostic () noexcept |
| QuotaWire | encode_quota_message (const QuotaMessage &) |
| QuotaMessage | decode_quota_message (const unsigned char *, std::size_t) |
| RunFailureValue | run_quota_failure () noexcept |
| std::uint64_t | quota_rounded_extent (std::uint64_t extent, std::uint64_t block_size) |
| const ReportScratchIoError & | scratch_out_of_memory_failure () noexcept |
| void | rethrow_carried_scratch_failure (const ReportScratchIoError *failure) |
| ScratchManifest | default_scratch_manifest (std::uint64_t bars) |
| ScratchManifest | default_scratch_manifest () |
| const char * | scratch_memory_filesystem_name (std::uint64_t type) noexcept |
| bool | scratch_filesystem_is_memory (std::uint64_t type) noexcept |
| std::string | scratch_create_message (const char *operation, const std::string &directory, const std::string &selection_note) |
| std::string | scratch_failure_detail (const char *what, int errno_value) |
| std::string | scratch_with_detail (const char *prefix, const char *what, int errno_value) |
| int | scratch_directory_filesystem_type (const char *path, std::uint64_t &type) noexcept |
| template<class Probe> | |
| std::string | resolve_scratch_directory (const std::string &configured, std::string &refusal, int &error, bool &proven_memory, Probe probe) |
| std::string | resolve_scratch_directory (const std::string &configured, std::string &refusal, int &error, bool &proven_memory) |
| std::string | resolve_scratch_directory (const std::string &configured, std::string &refusal, int &error) |
| const char * | scratch_resource_name (ScratchResource resource) noexcept |
| std::string | scratch_limit_number (std::uint64_t limit) |
| std::string | scratch_limit_message (const char *prefix, std::uint64_t limit, const char *suffix) |
| std::string | scratch_count_limit_message (ScratchResource resource, std::uint64_t limit) |
| std::string | scratch_byte_limit_message (ScratchResource resource, std::uint64_t limit) |
| std::string | scratch_resident_cohort_limit_message (std::uint64_t limit) |
| std::string | scratch_object_limit_message (std::uint64_t limit, std::uint64_t live, std::uint64_t cap) |
| void | raise_scratch_io_error (int error, const char *operation) |
| Layout | compute_layout (const ScratchManifest &manifest) |
| std::unique_ptr< ScratchBacking > | make_script_scratch_backing () |
| template<class Rec> | |
| constexpr const char * | drawing_object_name () noexcept |
| void | drawing_na_error (const char *object, const char *what) |
| void | drawing_argument_error (const char *function, const char *argument, const char *rule, const char *what) |
| template<class Base> | |
| void | matrix_call_error (const char *function, const char *reason, const char *what) |
| template<class Base> | |
| void | matrix_limit_error (const char *what) |
| void | matrix_na_error (const char *what) |
| void | matrix_snapshot_error (const char *what) |
| template<typename Row> | |
| void | erase_row (std::vector< Row > &data, int idx) |
| template<typename Row> | |
| void | erase_col (std::vector< Row > &data, int idx) |
| template<typename Row> | |
| void | swap_rows_impl (std::vector< Row > &data, int i, int j) |
| template<typename Row> | |
| void | swap_cols_impl (std::vector< Row > &data, int i, int j) |
| template<typename Row> | |
| std::vector< Row > | copy_submatrix (const std::vector< Row > &data, int from_row, int to_row, int from_col, int to_col) |
| template<typename Row> | |
| std::vector< Row > | transpose_impl (const std::vector< Row > &data, int r, int c, const typename Row::value_type &zero) |
| template<typename Row> | |
| void | concat_impl (std::vector< Row > &m, const std::vector< Row > &other, bool horizontal) |
| template<typename Row> | |
| void | reshape_impl (std::vector< Row > &data, int new_rows, int new_cols, const typename Row::value_type &zero) |
| template<typename Row> | |
| int | elements_count_impl (const std::vector< Row > &data) |
| template<typename Row> | |
| void | sort_impl (std::vector< Row > &data, int column, bool ascending) |
| void | map_na_error (const char *what) |
| void | map_capacity_error (int cap, const char *what) |
| template<class Base> | |
| void | map_invariant_error (const char *what) |
| std::shared_ptr< MapStoreHolder > & | map_store_slot () |
| std::shared_ptr< MapStoreHolder > | map_current_store () |
| MapStringRep | map_string_encode (o1::Store &store, const std::string &text) |
| std::string | map_string_decode (const o1::Store &store, const MapStringRep &rep) |
| bool | map_string_equals (const o1::Store &store, const MapStringRep &rep, const std::string &text) |
| template<typename T> | |
| MapRepOf< T > | map_encode (o1::Store &store, const T &value) |
| template<typename T> | |
| T | map_decode (o1::Store &store, const MapRepOf< T > &rep, const std::shared_ptr< MapStoreHolder > &owner={}) |
| template<typename T> | |
| void | map_retain (o1::Store &store, const MapRepOf< T > &rep) |
| template<typename T> | |
| void | map_release (o1::Store &store, const MapRepOf< T > &rep) |
| void | payload_encode (std::uint64_t value, std::byte *bytes) noexcept |
| std::uint64_t | payload_decode (const std::byte *bytes) noexcept |
| SessionClockSwitches & | session_clock_switches () noexcept |
| int64_t | symbol_session_time_close (int64_t bar_ms, const std::string &tf, const std::string &session, const std::string &tz, const std::string &chart_tf) |
| void | bind_tree_scratch_tables (source::PineExecutionAdapter &, const std::shared_ptr< ScratchSlab > &) |
| void | bind_id_pair_scratch_tables (source::PineExecutionAdapter &, const std::shared_ptr< ScratchSlab > &) |
Variables | |
| constexpr std::size_t | kFeedProjectionCacheBytes = 256 * 1024 |
| constexpr std::uint64_t | kRunQuotaMax = (std::uint64_t{1} << 53) - 1 |
| constexpr std::size_t | kRunQuotaWireSize = 256 |
| constexpr std::uint16_t | kRunQuotaVersion = 1 |
| constexpr std::uint16_t | kRunQuotaReply = 0x8000 |
| constexpr char | kRunQuotaModeEnv [] = "PF_RUN_QUOTA_MODE" |
| constexpr char | kRunQuotaNativeFdEnv [] = "PF_RUN_QUOTA_NATIVE_FD" |
| constexpr char | kRunQuotaPythonFdEnv [] = "PF_RUN_QUOTA_PYTHON_FD" |
| constexpr char | kRunQuotaEnforcement [] = "cooperative" |
| constexpr char | kRunQuotaManagedLine [] = "quota=managed enforcement=cooperative" |
| constexpr char | kRunQuotaUnmanagedLine [] = "quota=unmanaged" |
| constexpr ScratchPageId | scratch_no_page |
| constexpr std::size_t | kMaxResidentCohorts = 4096 |
| constexpr ScratchHandle | scratch_no_handle = 0 |
| constexpr std::size_t | kScratchRegionCount = 9 |
| constexpr std::uint64_t | kScratchPageSize = 4096 |
| constexpr std::size_t | scratch_min_page_count = 2 |
| constexpr std::size_t | scratch_min_page_size = 512 |
| template<typename T> | |
| constexpr bool | is_pine_map_key_v |
| template<typename T> | |
| constexpr bool | is_pine_map_snapshot_value_v |
| constexpr const char * | kMapStoreTransferError = "map store transfer is short" |
| constexpr const char * | kMapSequenceRangeError = "map sequence index out of range" |
| constexpr std::size_t | kMapInlineBytes = 24 |
| template<typename T> | |
| constexpr bool | is_map_string_v = std::is_same_v<PineMapBare<T>, std::string> |
| template<typename T> | |
| constexpr bool | is_map_inline_v |
| constexpr std::size_t | kMapReadCacheSlots = 8 |
| constexpr std::uint32_t | kMapNoBucket = ~std::uint32_t{0} |
| constexpr std::uint64_t | payload_root_kind = 0x4f31533200000001ULL |
| constexpr std::uint64_t | payload_field_kind = 0x4f31533200000002ULL |
| using pineforge::detail::QuotaWire = std::array<unsigned char, kRunQuotaWireSize> |
Definition at line 81 of file run_quota.hpp.
| using pineforge::detail::ScratchPageId = std::uint64_t |
Definition at line 30 of file scratch_backing.hpp.
Definition at line 33 of file scratch_file.hpp.
| using pineforge::detail::ScratchHandle = std::uint64_t |
Definition at line 7 of file scratch_readback.hpp.
| using pineforge::detail::ScratchRecordVisitor = bool (*)(void*, const ScratchRecordView&) noexcept |
Definition at line 67 of file scratch_readback.hpp.
| using pineforge::detail::ScratchChunkVisitor = bool (*)(void*, const ScratchChunkView&) noexcept |
Definition at line 68 of file scratch_readback.hpp.
| using pineforge::detail::PineMapBare = std::remove_cv_t<std::remove_reference_t<T>> |
| using pineforge::detail::MapRepOf |
|
strong |
| Enumerator | |
|---|---|
| direct_mapped | |
| clock | |
| lru | |
Definition at line 23 of file read_through_cache.hpp.
|
strong |
| Enumerator | |
|---|---|
| write_through | |
| write_back | |
Definition at line 24 of file read_through_cache.hpp.
|
strong |
| Enumerator | |
|---|---|
| unmanaged | |
| managed | |
Definition at line 24 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| hello | |
| reserve | |
| commit | |
| cancel | |
| release | |
| snapshot | |
| finish | |
Definition at line 37 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| admission | |
| transpile | |
| compile | |
| execution | |
| assembly | |
| finalizer | |
| converter | |
| publication | |
Definition at line 40 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| workdir | |
| compiler | |
| table | |
| ledger | |
| arena | |
| curve | |
| sink | |
| spool | |
| column_index | |
| column_data | |
| json | |
| stdout_stream | |
| conversion | |
| diagnostic | |
Definition at line 43 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| host | |
| compiler | |
| worker | |
| finalizer | |
| converter | |
| reaper | |
Definition at line 47 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| scratch_bytes | |
| scratch_files | |
| output_bytes | |
| descriptors | |
Definition at line 48 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| scratch_bytes | |
| scratch_files | |
| output_bytes | |
| descriptors | |
| compiler | |
| facts | |
| workdir | |
| channel | |
| profile | |
| protocol | |
Definition at line 50 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| ok | |
| resource_exceeded | |
| descriptors_exceeded | |
| missing_limit | |
| malformed_limit | |
| counter_overflow | |
| protocol | |
| containment_unavailable | |
| unmanaged_path | |
| unknown_bound | |
| unsupported_route | |
Definition at line 54 of file run_quota.hpp.
|
strong |
Definition at line 59 of file run_quota.hpp.
|
strong |
| Enumerator | |
|---|---|
| unknown | |
| curve | |
| position_tail | |
| cohort | |
| exit_rank | |
| sequence_index | |
| sequence_index_idx | |
| erased_minima | |
| erased_minima_idx | |
| partial_cycles | |
| partial_cycles_idx | |
| successor_roots | |
| command | |
Definition at line 43 of file scratch_arena.hpp.
|
strong |
| Enumerator | |
|---|---|
| sealed_memfd | |
| regular_file | |
Definition at line 59 of file scratch_arena.hpp.
|
strong |
| Enumerator | |
|---|---|
| ok | |
| end | |
| cancelled | |
| not_found | |
| programming_error | |
| io_error | |
| corrupt | |
Definition at line 20 of file scratch_backing.hpp.
|
strong |
| Enumerator | |
|---|---|
| disk | |
| memfd | |
| tmpfs | |
| test_memory | |
Definition at line 46 of file scratch_backing.hpp.
|
strong |
| Enumerator | |
|---|---|
| buffered | |
| data | |
| full | |
Definition at line 53 of file scratch_backing.hpp.
|
strong |
| Enumerator | |
|---|---|
| read_page | |
| write_page | |
| sync | |
Definition at line 59 of file scratch_backing.hpp.
|
strong |
| Enumerator | |
|---|---|
| layout | |
| sequence_data | |
| sequence_index | |
| erased_data | |
| erased_index | |
| consumed_data | |
| consumed_index | |
| cohort | |
| exit_rank | |
| successor_roots | |
| cohort_ids_total | |
| cohort_orders_live | |
Definition at line 13 of file scratch_errors.hpp.
|
strong |
| Enumerator | |
|---|---|
| key | |
| value | |
Definition at line 49 of file scratch_readback.hpp.
|
strong |
| Enumerator | |
|---|---|
| create_empty | |
| reopen | |
Definition at line 32 of file scratch_store.hpp.
|
strong |
| Enumerator | |
|---|---|
| disk_scratch | |
| bounded_memory | |
Definition at line 8 of file scratch_tables.hpp.
|
strong |
| Enumerator | |
|---|---|
| unsigned_integer | |
| signed_integer | |
| real | |
| boolean | |
| text | |
| object_begin | |
| object_end | |
Definition at line 17 of file payload_readback.hpp.
|
strong |
| Enumerator | |
|---|---|
| request | |
| placement | |
| pending | |
Definition at line 20 of file payload_readback.hpp.
|
inline |
Definition at line 10 of file adapter_exposure_storage.hpp.
|
inline |
Definition at line 18 of file adapter_exposure_storage.hpp.
Referenced by pineforge::source::detail::PositionTailSummary::forget_origins(), pineforge::source::detail::PositionTailSummary::live_cohort(), pineforge::source::PineExecutionAdapter::on_applied(), and pineforge::source::detail::PositionTailSummary::retire_origin().
|
inlinenoexcept |
Definition at line 17 of file read_through_cache.hpp.
|
inlinenoexcept |
Definition at line 21 of file read_through_cache.hpp.
|
noexcept |
Referenced by pineforge::detail::ScratchFile::open(), and pineforge::detail::ScratchFile::open_bounded().
|
noexcept |
References quota_line().
Referenced by quota_line().
|
noexcept |
References last_admission_diagnostic().
Referenced by last_admission_diagnostic().
| QuotaWire pineforge::detail::encode_quota_message | ( | const QuotaMessage & | ) |
| QuotaMessage pineforge::detail::decode_quota_message | ( | const unsigned char * | , |
| std::size_t | ) |
|
noexcept |
| std::uint64_t pineforge::detail::quota_rounded_extent | ( | std::uint64_t | extent, |
| std::uint64_t | block_size ) |
|
noexcept |
Referenced by pineforge::detail::CommandScratchStore::carried_failure().
|
inline |
Definition at line 37 of file scratch_arena.hpp.
References rethrow_carried_scratch_failure().
Referenced by pineforge::admission::market_admission_v2::Journal::bind_journal_codec, pineforge::source::detail::ExitScratchTeardownFailure::check(), pineforge::source::detail::exit_scratch_edit_failure(), pineforge::source::detail::exit_scratch_equal(), pineforge::source::detail::exit_scratch_failure(), pineforge::admission::market_admission_v2::Journal::folded_window(), and rethrow_carried_scratch_failure().
|
inline |
Definition at line 22 of file scratch_defaults.hpp.
References layout.
|
inline |
Definition at line 38 of file scratch_defaults.hpp.
References default_scratch_manifest().
Referenced by default_scratch_manifest().
|
inlinenoexcept |
Definition at line 20 of file scratch_directory.hpp.
Referenced by resolve_scratch_directory(), and scratch_filesystem_is_memory().
|
inlinenoexcept |
Definition at line 28 of file scratch_directory.hpp.
References scratch_memory_filesystem_name().
Referenced by pineforge::detail::ScratchFile::open(), and resolve_scratch_directory().
|
inline |
Definition at line 34 of file scratch_directory.hpp.
Referenced by pineforge::detail::ScratchFile::open().
|
inline |
Definition at line 43 of file scratch_directory.hpp.
Referenced by scratch_with_detail().
|
inline |
Definition at line 59 of file scratch_directory.hpp.
References scratch_failure_detail().
|
inlinenoexcept |
Definition at line 65 of file scratch_directory.hpp.
References status.
Referenced by resolve_scratch_directory().
|
inline |
Definition at line 110 of file scratch_directory.hpp.
References scratch_filesystem_is_memory(), and scratch_memory_filesystem_name().
Referenced by pineforge::detail::ScratchFile::open(), resolve_scratch_directory(), and resolve_scratch_directory().
|
inline |
Definition at line 188 of file scratch_directory.hpp.
References resolve_scratch_directory(), and scratch_directory_filesystem_type().
|
inline |
Definition at line 195 of file scratch_directory.hpp.
References resolve_scratch_directory().
|
inlinenoexcept |
Definition at line 28 of file scratch_errors.hpp.
References cohort, cohort_ids_total, cohort_orders_live, consumed_data, consumed_index, erased_data, erased_index, exit_rank, layout, resource, sequence_data, sequence_index, and successor_roots.
Referenced by pineforge::detail::ScratchCapacityError::ScratchCapacityError(), and pineforge::detail::ScratchCapacityError::ScratchCapacityError().
|
inline |
Definition at line 47 of file scratch_errors.hpp.
Referenced by scratch_limit_message(), and scratch_object_limit_message().
|
inline |
Definition at line 64 of file scratch_errors.hpp.
References limit, and scratch_limit_number().
Referenced by scratch_byte_limit_message(), scratch_count_limit_message(), scratch_object_limit_message(), and scratch_resident_cohort_limit_message().
|
inline |
Definition at line 72 of file scratch_errors.hpp.
References cohort, consumed_index, erased_index, exit_rank, limit, resource, and scratch_limit_message().
Referenced by pineforge::detail::DiskIdTable< typename Value::Record >::require_inserts().
|
inline |
Definition at line 92 of file scratch_errors.hpp.
References cohort, consumed_data, erased_data, exit_rank, limit, resource, and scratch_limit_message().
Referenced by pineforge::detail::IdPairStore< std::uint64_t >::preflight_joined_single(), and pineforge::detail::DiskIdTable< typename Value::Record >::require_inserts().
|
inline |
Definition at line 112 of file scratch_errors.hpp.
References limit, and scratch_limit_message().
|
inline |
Definition at line 118 of file scratch_errors.hpp.
References limit, scratch_limit_message(), and scratch_limit_number().
|
inline |
Definition at line 156 of file scratch_errors.hpp.
|
inline |
Definition at line 75 of file scratch_slab.hpp.
References pineforge::detail::ScratchManifest::B_c, pineforge::detail::ScratchManifest::B_e, pineforge::detail::ScratchManifest::B_q, pineforge::detail::ScratchManifest::B_U, pineforge::detail::ScratchManifest::B_V, pineforge::detail::ScratchManifest::K_c, pineforge::detail::ScratchManifest::K_e, pineforge::detail::ScratchManifest::K_q, kScratchPageSize, layout, pineforge::detail::ScratchManifest::R, pineforge::detail::ScratchManifest::U, and pineforge::detail::ScratchManifest::V.
Referenced by pineforge::detail::ScratchSlab::ScratchSlab().
| std::unique_ptr< ScratchBacking > pineforge::detail::make_script_scratch_backing | ( | ) |
Referenced by pineforge::detail::MapStoreHolder::MapStoreHolder().
|
constexprnoexcept |
Definition at line 99 of file drawing.hpp.
Referenced by pineforge::pf_require_live(), and pineforge::pf_require_live().
|
inline |
Definition at line 111 of file drawing.hpp.
References pineforge::pine_na_reference.
Referenced by pineforge::pf_line_get_price(), pineforge::pf_require_live(), and pineforge::pf_require_live().
|
inline |
Definition at line 116 of file drawing.hpp.
References pineforge::pine_invalid_argument.
Referenced by pineforge::pf_line_get_price().
| void pineforge::detail::matrix_call_error | ( | const char * | function, |
| const char * | reason, | ||
| const char * | what ) |
Definition at line 21 of file generic_matrix.hpp.
References pineforge::pine_matrix_error.
Referenced by pineforge::GenericMatrix< T >::add_col(), pineforge::GenericMatrix< bool >::add_col(), pineforge::GenericMatrix< T >::add_row(), pineforge::GenericMatrix< bool >::add_row(), pineforge::GenericMatrix< T >::col(), pineforge::GenericMatrix< bool >::col(), pineforge::GenericMatrix< T >::concat(), pineforge::GenericMatrix< bool >::concat(), pineforge::GenericMatrix< T >::get(), pineforge::GenericMatrix< bool >::get(), pineforge::GenericMatrix< T >::new_(), pineforge::GenericMatrix< T >::new_(), pineforge::GenericMatrix< bool >::new_(), pineforge::GenericMatrix< T >::remove_col(), pineforge::GenericMatrix< bool >::remove_col(), pineforge::GenericMatrix< T >::remove_row(), pineforge::GenericMatrix< bool >::remove_row(), reshape_impl(), pineforge::GenericMatrix< T >::row(), pineforge::GenericMatrix< bool >::row(), pineforge::GenericMatrix< T >::row_ref(), pineforge::GenericMatrix< T >::set(), pineforge::GenericMatrix< bool >::set(), pineforge::GenericMatrix< T >::submatrix(), pineforge::GenericMatrix< bool >::submatrix(), pineforge::GenericMatrix< T >::swap_columns(), pineforge::GenericMatrix< bool >::swap_columns(), pineforge::GenericMatrix< T >::swap_rows(), and pineforge::GenericMatrix< bool >::swap_rows().
| void pineforge::detail::matrix_limit_error | ( | const char * | what | ) |
Definition at line 30 of file generic_matrix.hpp.
References pineforge::pine_runtime_limit.
Referenced by elements_count_impl(), and reshape_impl().
|
inline |
Definition at line 37 of file generic_matrix.hpp.
References pineforge::pine_na_reference.
|
inline |
Definition at line 43 of file generic_matrix.hpp.
References pineforge::engine_invariant.
Referenced by pineforge::GenericMatrix< T >::restore(), and pineforge::GenericMatrix< bool >::restore().
|
inline |
Definition at line 54 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::remove_row(), and pineforge::GenericMatrix< bool >::remove_row().
|
inline |
Definition at line 59 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::remove_col(), and pineforge::GenericMatrix< bool >::remove_col().
|
inline |
Definition at line 72 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::swap_rows(), and pineforge::GenericMatrix< bool >::swap_rows().
|
inline |
Definition at line 77 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::swap_columns(), and pineforge::GenericMatrix< bool >::swap_columns().
|
inline |
Definition at line 85 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::submatrix(), and pineforge::GenericMatrix< bool >::submatrix().
|
inline |
Definition at line 98 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::transpose(), and pineforge::GenericMatrix< bool >::transpose().
|
inline |
Definition at line 110 of file generic_matrix.hpp.
References end.
Referenced by pineforge::GenericMatrix< T >::concat(), and pineforge::GenericMatrix< bool >::concat().
|
inline |
Definition at line 121 of file generic_matrix.hpp.
References data, matrix_call_error(), and matrix_limit_error().
Referenced by pineforge::GenericMatrix< T >::reshape(), and pineforge::GenericMatrix< bool >::reshape().
|
inline |
Definition at line 144 of file generic_matrix.hpp.
References data, and matrix_limit_error().
Referenced by pineforge::GenericMatrix< T >::elements_count(), and pineforge::GenericMatrix< bool >::elements_count().
|
inline |
Definition at line 154 of file generic_matrix.hpp.
References data.
Referenced by pineforge::GenericMatrix< T >::sort().
|
inline |
Definition at line 36 of file map.hpp.
References pineforge::pine_na_reference.
|
inline |
Definition at line 42 of file map.hpp.
References pineforge::pine_runtime_limit.
Referenced by pineforge::PineMap< Key, Value >::put_all().
| void pineforge::detail::map_invariant_error | ( | const char * | what | ) |
Definition at line 51 of file map.hpp.
References pineforge::engine_invariant.
Referenced by pineforge::detail::MapSequence< Elem >::at(), map_release(), map_retain(), map_string_decode(), map_string_encode(), map_string_equals(), pineforge::PineMap< Key, Value >::restore(), and pineforge::PineMap< Key, Value >::size().
|
inline |
Definition at line 150 of file map.hpp.
Referenced by map_current_store(), pineforge::detail::MapStoreScope::MapStoreScope(), and pineforge::detail::MapStoreScope::~MapStoreScope().
|
inline |
Definition at line 160 of file map.hpp.
References map_store_slot().
Referenced by pineforge::PineMap< Key, Value >::new_().
|
inlinenodiscard |
Definition at line 298 of file map.hpp.
References pineforge::detail::o1::Store::create(), kMapInlineBytes, kMapStoreTransferError, pineforge::detail::MapStringRep::length, map_invariant_error(), text, and pineforge::detail::o1::Store::write().
Referenced by map_encode().
|
inlinenodiscard |
Definition at line 315 of file map.hpp.
References pineforge::detail::MapStringRep::external, pineforge::detail::MapStringRep::inline_bytes, kMapInlineBytes, kMapStoreTransferError, pineforge::detail::MapStringRep::length, map_invariant_error(), pineforge::detail::o1::Store::read(), and text.
|
inlinenodiscard |
Definition at line 328 of file map.hpp.
References pineforge::detail::MapStringRep::external, pineforge::detail::MapStringRep::inline_bytes, kMapInlineBytes, kMapStoreTransferError, pineforge::detail::MapStringRep::length, map_invariant_error(), pineforge::detail::o1::Store::read(), and text.
|
nodiscard |
Definition at line 349 of file map.hpp.
References is_map_inline_v, is_map_string_v, map_string_encode(), and value.
|
nodiscard |
Definition at line 365 of file map.hpp.
Referenced by pineforge::detail::MapSequence< Elem >::at(), and pineforge::PineMap< Key, Value >::get().
| void pineforge::detail::map_retain | ( | o1::Store & | store, |
| const MapRepOf< T > & | rep ) |
Definition at line 381 of file map.hpp.
References is_map_string_v, kMapInlineBytes, kMapStoreTransferError, map_invariant_error(), pineforge::detail::o1::Store::read(), and pineforge::detail::o1::Store::write().
| void pineforge::detail::map_release | ( | o1::Store & | store, |
| const MapRepOf< T > & | rep ) |
Definition at line 397 of file map.hpp.
References is_map_string_v, kMapInlineBytes, kMapStoreTransferError, map_invariant_error(), pineforge::detail::o1::Store::read(), pineforge::detail::o1::Store::release(), release, and pineforge::detail::o1::Store::write().
Referenced by pineforge::PineMap< Key, Value >::remove().
|
inlinenoexcept |
Definition at line 24 of file payload_readback.hpp.
References value.
|
inlinenoexcept |
Definition at line 27 of file payload_readback.hpp.
References value.
|
noexcept |
| int64_t pineforge::detail::symbol_session_time_close | ( | int64_t | bar_ms, |
| const std::string & | tf, | ||
| const std::string & | session, | ||
| const std::string & | tz, | ||
| const std::string & | chart_tf ) |
| void pineforge::detail::bind_tree_scratch_tables | ( | source::PineExecutionAdapter & | adapter, |
| const std::shared_ptr< ScratchSlab > & | slab ) |
Definition at line 29077 of file pine_adapter.cpp.
References pineforge::detail::DiskIdTable< Value >::bind_scratch(), pineforge::detail::DiskResidentIdTable< Value >::bind_scratch(), bind_tree_scratch_tables(), cohort, pineforge::engine_invariant, exit_rank, pineforge::detail::DiskIdTable< Value >::size(), and pineforge::detail::DiskResidentIdTable< Value >::size().
Referenced by bind_tree_scratch_tables(), and pineforge::source::PineStrategyHost::prepare_native_begin().
| void pineforge::detail::bind_id_pair_scratch_tables | ( | source::PineExecutionAdapter & | adapter, |
| const std::shared_ptr< ScratchSlab > & | slab ) |
Definition at line 29087 of file pine_adapter.cpp.
References pineforge::source::PlacementTable::bind_auxiliary_scratch_tables(), bind_id_pair_scratch_tables(), pineforge::detail::IdPairStore< Value, MaintainSortedFold >::bind_scratch_tables(), consumed_data, and consumed_index.
Referenced by bind_id_pair_scratch_tables(), and pineforge::source::PineStrategyHost::prepare_native_begin().
|
inlineconstexpr |
Definition at line 27 of file feed_projection.hpp.
Referenced by pineforge::detail::FeedProjection< Row >::FeedProjection(), and pineforge::detail::FeedProjectionBuilder< Row >::finish().
|
inlineconstexpr |
Definition at line 12 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 13 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 14 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 15 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 17 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 18 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 19 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 20 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 21 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 22 of file run_quota.hpp.
|
inlineconstexpr |
Definition at line 31 of file scratch_backing.hpp.
Referenced by pineforge::detail::ScratchBacking::do_sync(), and pineforge::detail::ScratchBacking::sync().
|
inlineconstexpr |
Definition at line 16 of file scratch_defaults.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::require_inserts().
|
inlineconstexpr |
Definition at line 8 of file scratch_readback.hpp.
Referenced by pineforge::admission::market_admission_v2::Journal::append_journal_record, pineforge::detail::journal_codec::clear(), pineforge::admission::market_admission_v2::Journal::events(), pineforge::detail::journal_codec::find(), pineforge::detail::scratch_impl::Core::first(), pineforge::admission::market_admission_v2::Journal::folded_window(), pineforge::detail::scratch_impl::Core::lower_bound(), pineforge::detail::scratch_impl::Core::next(), pineforge::detail::journal_codec::put(), and pineforge::admission::market_admission_v2::Journal::retain().
|
inlineconstexpr |
Definition at line 18 of file scratch_slab.hpp.
Referenced by pineforge::detail::ScratchSlab::can_extend().
|
inlineconstexpr |
Definition at line 19 of file scratch_slab.hpp.
Referenced by compute_layout(), pineforge::detail::scratch_layout_detail::page(), pineforge::detail::ScratchSlab::ScratchSlab(), and pineforge::detail::ScratchSlab::~ScratchSlab().
|
inlineconstexpr |
Definition at line 15 of file scratch_store.hpp.
Referenced by pineforge::detail::scratch_impl::Core::geometry_ok().
|
inlineconstexpr |
Definition at line 16 of file scratch_store.hpp.
Referenced by pineforge::detail::scratch_impl::Core::geometry_ok().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 128 of file map.hpp.
Referenced by pineforge::detail::MapSequence< Elem >::at(), map_release(), map_retain(), map_string_decode(), map_string_encode(), and map_string_equals().
|
inlineconstexpr |
Definition at line 129 of file map.hpp.
Referenced by pineforge::detail::MapSequence< Elem >::at().
|
inlineconstexpr |
Definition at line 187 of file map.hpp.
Referenced by map_release(), map_retain(), map_string_decode(), map_string_encode(), and map_string_equals().
|
inlineconstexpr |
Definition at line 234 of file map.hpp.
Referenced by map_encode(), map_release(), and map_retain().
|
inlineconstexpr |
Definition at line 237 of file map.hpp.
Referenced by map_encode().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 424 of file map.hpp.
Referenced by pineforge::PineMap< Key, Value >::remove().
|
inlineconstexpr |
Definition at line 21 of file payload_readback.hpp.
|
inlineconstexpr |
Definition at line 22 of file payload_readback.hpp.