MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 2 callersFunctionrun_fetcher
( provider: impl BlobProvider + 'static, snapshots_dir: SnapshotsPath, snapshot: Snapshot, dry
crates/snapshot/src/remote.rs:148
↓ 2 callersFunctionrun_inherit
Run a command inheriting stdio; error if it fails.
tools/generate-client-api/src/main.rs:11
↓ 2 callersFunctionrun_inherit
(cmd: impl AsRef<OsStr>, args: &[&str], cwd: Option<&Path>)
tools/gen-bindings/src/main.rs:29
↓ 2 callersFunctionrun_prepared_generate_configs
( run_configs: Vec<GenerateRunConfig>, extract_descriptions: ExtractDescriptions, json_module: Opt
crates/cli/src/subcommands/generate.rs:456
↓ 2 callersFunctionrun_sql
(builder: RequestBuilder, sql: &str, with_stats: bool)
crates/cli/src/subcommands/sql.rs:146
↓ 2 callersMethodrun_threaded
(&self)
sdks/rust/tests/connect_disconnect_client/src/module_bindings/mod.rs:336
↓ 2 callersFunctionrustdoc_crate_root
()
tools/xtask-llm-benchmark/src/context/constants.rs:35
↓ 2 callersFunctionsame_key_iter
Returns an iterator for a key's entries `ske`. This efficiently handles the case where there's no key (`None`).
crates/table/src/table_index/same_key_entry.rs:130
↓ 2 callersFunctionsats_name_to_scoped_name
Convert a string from a sats type-name annotation like `#[sats(name = "namespace.name")]` to a `RawScopedTypeNameV9`. We split the input on the string
crates/lib/src/db/raw_def/v9.rs:836
↓ 2 callersFunctionsats_type_from_derive
( input: &syn::DeriveInput, crate_fallback: TokenStream, )
crates/bindings-macro/src/sats.rs:54
↓ 2 callersFunctionsave_root_module_path_to_spacetime_json
Persist the root module-path so subsequent layered loads resolve module location without interactive prompts.
crates/cli/src/subcommands/dev.rs:1654
↓ 2 callersFunctionscalarCompare
(x: any, y: any)
crates/bindings-typescript/src/sdk/table_cache.ts:41
↓ 2 callersMethodscan_all_row_ptrs
Returns a list of all present row pointers.
crates/table/src/table.rs:1545
↓ 2 callersMethodscan_st_indexes
(&self)
crates/datastore/src/locking_tx_datastore/datastore.rs:1120
↓ 2 callersFunctionscheduleAutoSave
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:2052
↓ 2 callersFunctionschedulePresenceAway
( ctx: any, userId: (typeof User.rowType)['identity'] )
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-171317/backend/spacetimedb/src/index.ts:1279
↓ 2 callersMethodschedule_proc_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/procedure-client/src/module_bindings/schedule_proc_reducer.rs:52
↓ 2 callersMethodschedule_procedure_then_reducer_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/schedule_procedure_then_reducer_reducer.rs:52
↓ 2 callersMethodschedule_replicas
(&self, database_id: u64, num_replicas: u8)
crates/standalone/src/lib.rs:568
↓ 2 callersMethodschedule_row
( &self, stdb: &RelationalDB, tx: &mut MutTx, table_id: TableId, row_p
crates/core/src/host/instance_env.rs:397
↓ 2 callersFunctionscheduled_call_time
(at: Option<Timestamp>)
crates/core/src/host/scheduler.rs:808
↓ 2 callersFunctionscheduled_item_id
(item: &QueueItem)
crates/core/src/host/scheduler.rs:567
↓ 2 callersMethodscheduled_reducer_row
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/scheduled_reducer_row_table.rs:32
↓ 2 callersMethodscheduler
(&self)
crates/core/src/host/module_host.rs:3495
↓ 2 callersMethodschema_for_table
(&self, table_id: TableId)
crates/engine/src/sql/ast.rs:36
↓ 2 callersMethodschema_for_table_tx
(&self, tx: &Self::Tx, table_id: TableId)
crates/datastore/src/locking_tx_datastore/datastore.rs:424
↓ 2 callersMethodschema_for_view
(&self, name: &str)
crates/expr/src/statement.rs:583
↓ 2 callersFunctionschema_from_ty
(ty: ProductType, name: &str)
crates/table/benches/page_manager.rs:493
↓ 2 callersFunctionschema_index_cols
(schema: &TableSchema, index_id: IndexId)
crates/physical-plan/src/plan.rs:1273
↓ 2 callersMethodscript_name
Returns the name of the script where the function resides.
crates/core/src/host/v8/error.rs:508
↓ 2 callersFunctionscrollToBottom
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/client/src/App.tsx:1424
↓ 2 callersFunctionseal_object
Seal the object, so that e.g., new properties cannot be added. However, the values of existing properties may be modified, which can be useful if the
crates/core/src/host/v8/ser.rs:75
↓ 2 callersMethodsearch_args
Return the search arguments for this query
crates/core/src/subscription/module_subscription_manager.rs:120
↓ 2 callersMethodsearch_params_for_table
Return the column ids by which a table is parameterized
crates/core/src/subscription/module_subscription_manager.rs:304
↓ 2 callersFunctionsecondsSince
(nowMicros: bigint, thenMicros: bigint)
demo/Blackholio/server-ts/src/index.ts:711
↓ 2 callersMethodseed
(&self)
crates/runtime/src/sim/rng.rs:117
↓ 2 callersMethodseek_range
Returns an iterator yielding all the [`RowPointer`] that correspond to the provided `range`.
crates/table/src/table_index/unique_direct_index.rs:298
↓ 2 callersMethodseek_range_via_algebraic_value
Returns an iterator yielding all rows in this index that fall within `range`, if the index is compatible with range seeks. Matching is defined by `Or
crates/table/src/table.rs:2202
↓ 2 callersMethodsegment_len
(&mut self)
crates/commitlog/src/stream/common.rs:62
↓ 2 callersMethodsend_message_then
( &self, text: String, callback: impl FnOnce(&super::ReducerEventContext, Result<Resu
templates/chat-console-rs/src/module_bindings/send_message_reducer.rs:55
↓ 2 callersMethodsend_procedure_error
( &self, procedure_name: &str, timer: Option<Instant>, target: ProcedureResult
crates/core/src/host/module_host.rs:2637
↓ 2 callersFunctionsend_request
( client: &reqwest::Client, request_path: &str, auth: &AuthHeader, confirmation_token: Option<
crates/cli/src/subcommands/delete.rs:90
↓ 2 callersMethodsender_auth
Returns the authorization information for the caller of this reducer.
crates/bindings/src/lib.rs:1079
↓ 2 callersMethodsender_view_pk_players_b
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/sender_view_pk_players_b_table.rs:32
↓ 2 callersFunctionserialize
(duration: &Duration, ser: S)
crates/client-api/src/util/serde.rs:9
↓ 2 callersMethodserialize
BSATN serialization
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:181
↓ 2 callersMethodserialize
(&self, ser: S)
crates/table/src/table.rs:1980
↓ 2 callersFunctionserializeHeaders
(headers: Headers)
crates/bindings-typescript/src/server/http_shared.ts:62
↓ 2 callersFunctionserializeRange
( buffer: ResizableBuffer, range: any[] )
crates/bindings-typescript/src/server/runtime.ts:899
↓ 2 callersMethodserialize_element
(&mut self, elem: &T)
crates/sats/src/ser/serde.rs:136
↓ 2 callersMethodserialize_into_bsatn
Serialize `self` in the data format BSATN using the provided BSATN `serializer`.
crates/sats/src/ser.rs:290
↓ 2 callersFunctionserialize_product
Serializes every product field in `value = &bytes[range_move(0..ty.size(), *curr_offset)]`, which is typed at `ty`, into `ser`. SAFETY: 1. the `value
crates/table/src/bflatn_from.rs:107
↓ 2 callersFunctionserialize_product_field
Serializes a product field in `value = &bytes[range_move(0..ty.size(), offset)]`, where the field is typed at `elem_ty`, into `ser`. SAFETY: 1. the `
crates/table/src/bflatn_from.rs:139
↓ 2 callersMethodserialize_row_extend
Serialize `row` from BFLATN to BSATN, appending the BSATN to `buf`. # Safety - `row` must store a valid, initialized instance of the BFLATN row type
crates/table/src/static_layout.rs:106
↓ 2 callersFunctionserialize_row_from_page
Serializes the row in `page` where the fixed part starts at `fixed_offset` and lasts `ty.size()` bytes. This region is typed at `ty`. # Safety 1. th
crates/table/src/bflatn_from.rs:34
↓ 2 callersMethodserialize_seq_product
(self, len: usize)
crates/sats/src/satn.rs:345
↓ 2 callersFunctionserialize_snapshot
(w: &mut impl SatsWriter, value: &Snapshot)
crates/snapshot/src/remote.rs:760
↓ 2 callersMethodserialize_str
(mut self, v: &str)
crates/sats/src/satn.rs:330
↓ 2 callersFunctionserialize_v2_messages
( bsatn_rlb_pool: &BsatnRowListBuilderPool, mut buffer: SerializeBuffer, msgs: impl IntoIterator<I
crates/core/src/client/messages.rs:220
↓ 2 callersFunctionserialize_value
Serialize `value = &bytes[range_move(0..ty.size(), *curr_offset)]` into a `ser`, using `blob_store` to retrieve the bytes of any large blob object and
crates/table/src/bflatn_from.rs:234
↓ 2 callersMethodserialize_variant
( mut self, tag: u8, name: Option<&str>, value: &T, )
crates/sats/src/satn.rs:358
↓ 2 callersMethodset
Sets bit at position `idx` to `val`.
crates/table/src/fixed_bit_set.rs:202
↓ 2 callersFunctionsetOnline
(userId: string, isOnline: boolean)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/realtime.ts:15
↓ 2 callersMethodset_capacity
Sets the capacity of the allocation in terms of elements. SAFETY: `cap` must match the actual capacity of the allocation.
crates/primitives/src/col_list.rs:604
↓ 2 callersMethodset_database_lock
( &self, _caller_identity: &Identity, _database_identity: &Identity,
crates/client-api/src/routes/database.rs:1862
↓ 2 callersMethodset_default_server
(&mut self, server: &str)
crates/cli/src/config.rs:277
↓ 2 callersFunctionset_env
(cmd: &mut Command, server: Option<String>, dotnet: bool)
tools/ci/src/smoketest.rs:190
↓ 2 callersMethodset_epoch
Update the current epoch. Does nothing if the given `epoch` is equal to the current epoch. # Errors If `epoch` is smaller than the current epoch, a
crates/commitlog/src/commitlog.rs:110
↓ 2 callersMethodset_initialized
Mark the database as initialized with the given module parameters. Records the database's identity, owner and module parameters in the system tables.
crates/engine/src/relational_db.rs:405
↓ 2 callersMethodset_name_then
( &self, name: String, callback: impl FnOnce(&super::ReducerEventContext, Result<Resu
templates/chat-console-rs/src/module_bindings/set_name_reducer.rs:55
↓ 2 callersMethodset_pages
Reset the internal storage of `self` to be `pages`. This recomputes the pointer map based on the `pages`, but does not recompute indexes. Used when
crates/table/src/table.rs:1635
↓ 2 callersMethodset_raw
Sets the slot to `tx`, ensuring that there was no tx before.
crates/core/src/host/instance_env.rs:1289
↓ 2 callersMethodset_row_presence
(&mut self, offset: PageOffset, fixed_row_size: Size, present: bool)
crates/table/src/page.rs:206
↓ 2 callersMethodset_row_present
(&mut self, offset: PageOffset, fixed_row_size: Size)
crates/table/src/page.rs:198
↓ 2 callersMethodset_server_fingerprint
Store the fingerprint for the server named `server`. Returns an `Err` if no such server configuration exists. On success, any existing fingerprint is
crates/cli/src/config.rs:344
↓ 2 callersMethodset_spacetimedb_token
(&mut self, token: String)
crates/cli/src/config.rs:450
↓ 2 callersMethodset_state
Finish the initialization of [Self] by passing a [SnapshotDatabaseState], or replace the current [SnapshotDatabaseState] with a new one. This is call
crates/engine/src/snapshot.rs:110
↓ 2 callersMethodsetupArena
(worldSize: number)
demo/Blackholio/client-ts/src/game/BlackholioScene.ts:53
↓ 2 callersFunctionsetupConnection
( connectionBuilder: DbConnectionBuilder<DbConnection> )
crates/bindings-typescript/src/vue/SpacetimeDBProvider.ts:31
↓ 2 callersFunctionsetup_anonymous_view
(stdb: &TestDB)
crates/engine/src/relational_db.rs:2467
↓ 2 callersFunctionsetup_client
( db: &Arc<crate::db::relational_db::RelationalDB>, )
crates/core/src/host/module_host.rs:3553
↓ 2 callersFunctionsetup_typescript_sdk_in_package_json
Points the `spacetimedb` entry in `package.json` at the local TypeScript SDK and removes the template's lockfile so pnpm re-resolves dependencies.
crates/smoketests/tests/smoketests/templates.rs:596
↓ 2 callersFunctionshared_target_dir
Returns the shared target directory for smoketest module builds. All tests share this directory to cache compiled dependencies. The warmup step pre-c
crates/smoketests/src/lib.rs:207
↓ 2 callersFunctionshould_display
Returns true if the record should be displayed given the filter settings.
crates/cli/src/subcommands/logs.rs:356
↓ 2 callersMethodshuffle
crates/bindings-cpp/include/spacetimedb/random.h:279
↓ 2 callersFunctionshutdown
()
templates/bun-ts/src/main.ts:102
↓ 2 callersFunctionsignalWorkerReachedEnd
()
templates/keynote-2/src/core/runner.ts:192
↓ 2 callersMethodsince
(other: Timestamp)
crates/bindings-typescript/src/lib/timestamp.ts:142
↓ 2 callersMethodsingle_col_point
(&self, params: &impl ParamResolver)
crates/physical-plan/src/plan.rs:1341
↓ 2 callersFunctionsingle_table_module
()
crates/engine/src/update.rs:618
↓ 2 callersMethodsize
(&self)
crates/core/src/database_logger.rs:91
↓ 2 callersMethodsize_in_bytes
Return the size of this request's URI and [`Headers`] for purposes of metrics reporting. Ignores the size of the [`Method`] and [`Version`] as they a
crates/lib/src/http.rs:42
↓ 2 callersFunctionskills_dir
()
tools/xtask-llm-benchmark/src/context/constants.rs:30
↓ 2 callersFunctionskip_record_fn
A free standing implementation of [`crate::Decoder::skip_record`] specifically for `Txdata<ProductValue>`.
crates/commitlog/src/payload/txdata.rs:535
↓ 2 callersMethodskip_row
(&mut self, _table_id: TableId, reader: &mut R)
crates/commitlog/src/payload/txdata.rs:691
↓ 2 callersFunctionsleep_until
(wake_at_timestamp: i64)
crates/bindings-sys/src/lib.rs:1554
↓ 2 callersFunctionsort_by_words
(name: &str)
crates/cli/src/edit_distance.rs:179
↓ 2 callersMethodsort_deduplicate
Sort and deduplicate the errors in the error stream.
crates/data-structures/src/error_stream.rs:204
↓ 2 callersMethodsorted_uuids_insert_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<(), __sdk::InternalErr
modules/sdk-test-procedure-cpp/client/src/module_bindings/sorted_uuids_insert_procedure.rs:32
↓ 2 callersMethodsorted_uuids_insert_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/test-client/src/module_bindings/sorted_uuids_insert_reducer.rs:52
← previousnext →4,801–4,900 of 27,764, ranked by callers