MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 3 callersFunctiontest_call_query_macro_with_caller
Invoke the `module-test` module, use `caller` to invoke its `test` reducer, and assert that its logs look right. `caller` must invoke the reducer wit
crates/testing/tests/standalone_integration_test.rs:286
↓ 3 callersFunctiontest_nonrepeating_scheduled_reducer_in_module
(module_name: &'static str)
crates/testing/tests/standalone_integration_test.rs:160
↓ 3 callersFunctiontime_insert_one
( b: &mut Bencher, page: &mut Page, ty: &RowTypeLayout, value: &ProductValue, visitor: &im
crates/table/benches/page.rs:685
↓ 3 callersMethodtoHexString
* Print the identity as a hexadecimal string.
crates/bindings-typescript/src/lib/identity.ts:55
↓ 3 callersFunctiontoPascalCase
(s: string)
crates/bindings-typescript/src/lib/util.ts:104
↓ 3 callersMethodto_bsatn_extend
(&self, buf: &mut (impl BufWriter + BufReservedFill))
crates/sats/src/bsatn.rs:181
↓ 3 callersMethodto_hex
Convert this `ConnectionId` to a hexadecimal string.
crates/lib/src/connection_id.rs:118
↓ 3 callersFunctionto_len
Computes the size of `val` when BSATN encoding without actually encoding.
crates/sats/src/bsatn.rs:35
↓ 3 callersMethodto_string
Convert to string using proper decimal conversion
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:145
↓ 3 callersMethodto_string_utf8_lossy
Convert body to UTF-8 string (lossy conversion)
crates/bindings-cpp/include/spacetimedb/http.h:144
↓ 3 callersMethodto_timestamp_from
(&self, from: Timestamp)
crates/lib/src/scheduler.rs:51
↓ 3 callersMethodto_u256
Converts this identity to an `u256`.
crates/lib/src/identity.rs:184
↓ 3 callersMethodto_value
(&self)
crates/bindings-macro/src/table.rs:33
↓ 3 callersFunctionto_wire
* @brief Convert user-facing HttpMethod to wire format * * Standard methods (GET, POST, etc.) map to unit enum variants. * Non-standard methods are
crates/bindings-cpp/include/spacetimedb/http_convert.h:38
↓ 3 callersMethodtotalMass
()
demo/Blackholio/client-ts/src/game/PlayerController.ts:63
↓ 3 callersMethodtrack_initial_instance
(&self)
crates/core/src/host/module_host.rs:1264
↓ 3 callersMethodtrack_instance_removed
(&self)
crates/core/src/host/module_host.rs:1268
↓ 3 callersFunctiontransactions_from
Obtain an iterator which traverses the commitlog located at the `root` directory starting from `offset` and yielding [`Transaction`]s. Starts the tra
crates/commitlog/src/lib.rs:657
↓ 3 callersFunctiontry_commit_tx
crates/bindings-cpp/include/spacetimedb/internal/tx_execution.h:67
↓ 3 callersMethodtry_put
Tries to reclaim the allocation of `buffer` into the pool to be used when building a new list. In most calls, this method will do nothing, as `buffer
crates/core/src/subscription/row_list_builder_pool.rs:66
↓ 3 callersMethodtry_resolve
Resolve this [`NameOrIdentity`]. If `self` is a [`NameOrIdentity::Identity`], the inner [`Identity`] is returned directly. Otherwise, if `self` is a
crates/client-api/src/util.rs:97
↓ 3 callersFunctionty_fmt_with_ns
Like `ty_fmt`, but prefixes type references with the provided namespace.
crates/codegen/src/csharp.rs:1246
↓ 3 callersMethodtype_ref_for_table_like
Find and return the product type ref for a table or view in this module def
crates/lib/src/db/raw_def/v9.rs:132
↓ 3 callersFunctiontype_select
Type check and lower a [SqlExpr]
crates/expr/src/lib.rs:33
↓ 3 callersMethodtypespace_mut
Get mutable access to the typespace section, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:700
↓ 3 callersFunctionu128ToHexString
(data: bigint)
crates/bindings-typescript/src/lib/util.ts:85
↓ 3 callersFunctionu32_matrix_value
(matrix: [[u32; N]; M])
crates/table/benches/page.rs:522
↓ 3 callersFunctionu32x4_type
()
crates/table/benches/page.rs:502
↓ 3 callersFunctionu64_from_le_bytes
(x: &[u8])
crates/commitlog/src/index/indexfile.rs:363
↓ 3 callersMethodunsubscribe_then
Unsubscribe from the query controlled by this `SubscriptionHandle`, then run `on_end` when its rows are removed from the client cache.
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4494
↓ 3 callersMethodunsubscribe_view
Decrement `num_subscribers` in `st_view_sub` to effectively unsubscribe a caller from a view.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2591
↓ 3 callersMethodunsubscribe_views_and_downgrade_tx
Unsubscribes a caller from the views returned by the `view_collector`, and subsequently downgrades to a read-only transaction. Unlike [`Self::materia
crates/core/src/subscription/module_subscription_actor.rs:1860
↓ 3 callersMethodupdateStatus
(status: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:68
↓ 3 callersMethodupdate_left_then
( &self, id: u64, filter: u64, callback: impl FnOnce(&super::ReducerEventCont
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/update_left_reducer.rs:60
↓ 3 callersMethodupdate_mut_tx
( &'a self, tx: &'a mut Self::MutTx, table_id: TableId, index_id: IndexId,
crates/datastore/src/locking_tx_datastore/datastore.rs:643
↓ 3 callersFunctionupdate_position_all
(ctx: &ReducerContext, expected: u32)
modules/benchmarks/src/ia_loop.rs:171
↓ 3 callersFunctionupdate_position_with_velocity
(ctx: &ReducerContext, expected: u32)
modules/benchmarks/src/ia_loop.rs:196
↓ 3 callersMethodupdate_st_table_row
(&mut self, table_id: TableId, updater: impl FnOnce(&mut StTableRow) -> R)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1054
↓ 3 callersFunctionupdated_module_def
()
crates/schema/src/auto_migrate.rs:1293
↓ 3 callersFunctionupsertRoomReadPosition
( ctx: any, roomId: bigint, messageId: bigint, atMicros: bigint )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/backend/spacetimedb/src/index.ts:84
↓ 3 callersMethodurl
()
crates/bindings-typescript/src/server/http_handlers.ts:189
↓ 3 callersFunctionuseProcedure
( procedureDef: ProcedureDef )
crates/bindings-typescript/src/react/useProcedure.ts:9
↓ 3 callersFunctionuseReducer
( reducerDef: ReducerDef )
crates/bindings-typescript/src/solid/useReducer.ts:6
↓ 3 callersFunctionuseTable
( query: () => Query<TableDef>, callbacks?: UseTableCallbacks<Prettify<RowType<TableDef>>> )
crates/bindings-typescript/src/solid/useTable.ts:61
↓ 3 callersMethodused
Returns the used energy amount.
crates/core/src/host/wasm_common/module_host_actor.rs:133
↓ 3 callersMethodusing_visitor
(&self, f: impl FnOnce(&mut ReplayVisitor<'_, '_, F>) -> T)
crates/datastore/src/locking_tx_datastore/replay.rs:133
↓ 3 callersMethodvalidate_col_ids
Validate a `ColList` for this table, returning it unmodified if valid. `def_name` is the name of the definition being validated and is used in errors.
crates/schema/src/def/validate/v9.rs:1367
↓ 3 callersMethodvalidate_column_def
Validate a column. Note that this accepts a `ProductTypeElement` rather than a `ColumnDef`, because all information about columns is stored in the `T
crates/schema/src/def/validate/v9.rs:1044
↓ 3 callersMethodvalidate_no_module_specific_cli_args_for_multiple_targets
Validate that module-specific CLI flags are not used when operating on multiple targets.
crates/cli/src/spacetime_config.rs:483
↓ 3 callersMethodvalidate_seq_product
(self, prod: A)
crates/sats/src/de/impls.rs:745
↓ 3 callersMethodvalidate_token
(&self, _token: &str)
crates/client-api/src/routes/database.rs:1684
↓ 3 callersMethodvalue
Helper to override value for delete
sdks/rust/src/credentials.rs:279
↓ 3 callersMethodvec_string
(&self)
sdks/rust/tests/test-client/src/module_bindings/vec_string_table.rs:32
↓ 3 callersFunctionversion
(version: &str)
crates/update/src/update_notice.rs:162
↓ 3 callersMethodversion
()
crates/bindings-typescript/src/server/http_handlers.ts:193
↓ 3 callersMethodversion
(&self)
crates/update/src/cli/install.rs:283
↓ 3 callersMethodviews_for_refresh
Returns the views whose read sets overlaps with this transaction's write set
crates/datastore/src/locking_tx_datastore/mut_tx.rs:385
↓ 3 callersMethodvisit_mut
Walk the expression tree and call `f` on each node
crates/expr/src/expr.rs:291
↓ 3 callersFunctionvisit_seq_product
Deserialize, provided the fields' types, a product value with unnamed fields.
crates/sats/src/de/impls.rs:856
↓ 3 callersMethodvisit_sum
(self, data: A)
crates/sats/src/layout.rs:1008
↓ 3 callersMethodvisit_value
(&mut self, val: &AlgebraicTypeLayout)
crates/table/src/static_layout.rs:349
↓ 3 callersFunctionvisitor_program
(row_ty: impl Into<ProductType>)
crates/table/benches/var_len_visitor.rs:14
↓ 3 callersMethodweb_session_token
(&self)
crates/cli/src/config.rs:826
↓ 3 callersFunctionwindow_stats
Return aggregate stats for time-series points where t_min <= tSec < t_max.
templates/keynote-2/scripts/bench-stats.py:47
↓ 3 callersMethodwith_column_index
Generate a [RawIndexDefV8] using the supplied `columns`.
crates/lib/src/db/raw_def/v8.rs:404
↓ 3 callersFunctionwith_file_logger
(f: F)
crates/core/src/database_logger.rs:846
↓ 3 callersMethodwith_page_to_insert_row
Call `f` with a reference to a page which satisfies `page.has_space_for_row(fixed_row_size, num_var_len_granules)`.
crates/table/src/pages.rs:179
↓ 3 callersFunctionwith_scope
Sets up V8 and runs `logic` with a [`PinScope`].
crates/core/src/host/v8/to_value.rs:113
↓ 3 callersMethodwith_table_cache
Read something out of the [`TableCache`] which this `TableHandle` accesses.
sdks/rust/src/client_cache.rs:431
↓ 3 callersMethodwith_timer
(self, timer: Instant)
crates/core/src/util/prometheus_handle.rs:51
↓ 3 callersMethodwith_token
Supply a token with which to authenticate with the remote database. `token` should be an OpenID Connect compliant JSON Web Token. If this method is
sdks/rust/src/db_connection.rs:1083
↓ 3 callersMethodwith_values
( &self, vals: I, )
crates/sats/src/product_type.rs:316
↓ 3 callersMethodwrite
(&mut self, buf: &[u8])
crates/fs-utils/src/compression.rs:199
↓ 3 callersMethodwrite
(&mut self, buf: &[u8])
crates/commitlog/src/tests/partial.rs:222
↓ 3 callersMethodwrite_f32_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:71
↓ 3 callersMethodwrite_f64_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:72
↓ 3 callersMethodwrite_i16_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:60
↓ 3 callersMethodwrite_i32_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:61
↓ 3 callersMethodwrite_i64
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:87
↓ 3 callersMethodwrite_i64_le
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:62
↓ 3 callersFunctionwrite_string
crates/bindings-cpp/include/spacetimedb/internal/field_registration.h:208
↓ 3 callersMethodwrite_string
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:74
↓ 3 callersFunctionwrite_test_string
Write the [`TEST_STRING`] into the entry [`TEST_ID`].
crates/fs-utils/src/dir_trie.rs:246
↓ 3 callersFunctionwrite_type
(module: &ModuleDef, out: &mut W, ty: &AlgebraicTypeUse)
crates/codegen/src/rust.rs:820
↓ 3 callersMethodwrite_u16
Write a `u16` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:457
↓ 3 callersMethodwrite_u16_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:48
↓ 3 callersFunctionws_client_message_handler
Stream that consumes [`ClientMessage`]s and yields [`DataMessage`]s for evaluation. Calls `state.set_ponged()` if and when the input yields a pong me
crates/client-api/src/routes/subscribe.rs:1015
↓ 3 callersFunctionws_recv_queue
Consumes `ws` and queues its items in a channel. The channel is initialized with [`ActorConfig::incoming_queue_length`]. If it is at capacity, a conn
crates/client-api/src/routes/subscribe.rs:915
↓ 3 callersMethod~ScheduleAt
Destructor
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/schedule_at.h:102
↓ 3 callersMethod~ScheduleAt
Destructor
crates/bindings-cpp/include/spacetimedb/bsatn/schedule_at.h:102
↓ 2 callersMethod#applyTransactionUpdates
( eventContext: EventContextInterface<RemoteModule>, tu: TransactionUpdate )
crates/bindings-typescript/src/sdk/db_connection_impl.ts:841
↓ 2 callersMethod#buildManagedConnection
( managed: ManagedConnection, builder: DbConnectionBuilder<T> )
crates/bindings-typescript/src/sdk/connection_manager.ts:205
↓ 2 callersMethod#callProcedureWithEncodedName
( procedureName: string, encodedProcedureName: Uint8Array, argsBuffer: Uint8Array )
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1249
↓ 2 callersMethod#callReducerWithEncodedName
( reducerName: string, encodedReducerName: Uint8Array, argsBuffer: Uint8Array, reducerArgs?: o
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1132
↓ 2 callersMethod#dbView
()
crates/bindings-typescript/src/server/runtime.ts:357
↓ 2 callersMethod#detach
Unregister this object with the finalization registry and return the id
crates/bindings-typescript/src/server/runtime.ts:1081
↓ 2 callersMethod#detachCallbacks
( managed: ManagedConnection, connection: DbConnectionImpl<any> )
crates/bindings-typescript/src/sdk/connection_manager.ts:190
↓ 2 callersMethod#ensureEntry
(key: string)
crates/bindings-typescript/src/sdk/connection_manager.ts:105
↓ 2 callersMethod#ensureEntry
(key: string)
crates/bindings-typescript/tests/connection_manager.test.ts:173
↓ 2 callersMethod#processServerMessage
(serverMessage: ServerMessage)
crates/bindings-typescript/src/sdk/db_connection_impl.ts:869
← previousnext →3,101–3,200 of 27,764, ranked by callers