MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 3 callersMethodreplay_insert
(&mut self, table_id: TableId, schema: &Arc<TableSchema>, row: &ProductValue)
crates/datastore/src/locking_tx_datastore/replay.rs:754
↓ 3 callersFunctionrepo
(at: &Path)
crates/commitlog/tests/streaming/mod.rs:212
↓ 3 callersFunctionreqwest_client
()
crates/update/src/cli.rs:107
↓ 3 callersMethodreset
Reset all the ids in this schema to sentinel values. It is useful when cloning a schema to create a new table.
crates/schema/src/schema.rs:291
↓ 3 callersMethodresolve_identifier
( &self, source: RawIdentifier, lookup: &HashMap<RawIdentifier, RawIdentifier>, )
crates/schema/src/def/validate/v9.rs:614
↓ 3 callersMethodresolve_table_ident
(&self, source: RawIdentifier)
crates/schema/src/def/validate/v9.rs:626
↓ 3 callersFunctionresolve_view_for_refresh
Lookup a module's [`ViewDef`] and check for consistency among its readset, `st_view`, and the [`ModuleDef`].
crates/core/src/host/module_host.rs:1083
↓ 3 callersFunctionresolve_views_for_sub
The main driver of RLS resolution for subscription queries. Mainly a wrapper around [resolve_views_for_expr].
crates/expr/src/rls.rs:15
↓ 3 callersMethodretrieve_blob
(&self, _hash: &BlobHash)
crates/table/src/blob_store.rs:148
↓ 3 callersMethodreturn_instance
(&self, lease: ModuleInstanceLease<M::Instance>)
crates/core/src/host/module_host.rs:1398
↓ 3 callersMethodreturn_table
Does this plan select or return whole (unprojected) rows from a single table?
crates/physical-plan/src/plan.rs:123
↓ 3 callersMethodreturns_event_table
Does this plan return rows from an event table?
crates/core/src/subscription/module_subscription_manager.rs:145
↓ 3 callersMethodrollback_mut_tx
Rolls back `tx` and returns the offset as it was before `tx`.
crates/core/src/subscription/module_subscription_actor.rs:1727
↓ 3 callersFunctionround_500
(n: usize)
tools/xtask-llm-benchmark/src/llm/segmentation.rs:286
↓ 3 callersMethodrow_hash
Returns the row hash for `ptr`.
crates/table/src/table.rs:1933
↓ 3 callersFunctionrow_iter_bsatn_close
Module ABI that destroys the iterator registered under `iter`. Once `row_iter_bsatn_close` is called on `iter`, the `iter` is invalid. That is, `row_
crates/core/src/host/v8/syscall/common.rs:383
↓ 3 callersFunctionrow_size_for_bytes
Returns the minimum row size needed to store `required_bytes` accounting for the minimum row size and alignment.
crates/sats/src/layout.rs:244
↓ 3 callersFunctionrun
(args: SmoketestsArgs)
tools/ci/src/smoketest.rs:46
↓ 3 callersMethodrunAvg
( concurrency: number, alpha: number, runs: number = 3, )
templates/keynote-2/src/cli.ts:40
↓ 3 callersFunctionrunOne
({ connector, scenario, seconds, concurrency, accounts, alpha, runtimeConfig, }: { connector:
templates/keynote-2/src/core/runner.ts:49
↓ 3 callersFunctionrun_buggified_client_server
Run a small concurrent client/server workload under one seed. The client submits every request from its own simulated task. The server receives reque
crates/runtime/tests/sim_e2e.rs:139
↓ 3 callersFunctionrun_cli
(cli_path: &Path, config_path: &Path, args: &[&str], label: &str)
tools/ci/src/keynote_bench.rs:178
↓ 3 callersFunctionrun_cmd
(cmd: &str)
crates/bindings/tests/deps.rs:63
↓ 3 callersFunctionrun_dotnet
Runs `dotnet` in a given working directory with error context suitable for tests. This wrapper centralizes command construction so callers consistent
crates/smoketests/src/csharp.rs:54
↓ 3 callersFunctionrun_query_for_view
( tx: &mut MutTxId, the_query: &str, expected_row_type: &ProductType, call_info: &ViewCallInfo
crates/core/src/host/wasm_common/module_host_actor.rs:167
↓ 3 callersMethodrun_threaded
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4439
↓ 3 callersFunctionrun_vlo_bytes
Runs the function `run` on the concatenated bytes of a var-len object, referred to at by the var-len reference at `curr_offset` which is then advanced
crates/table/src/row_hash.rs:187
↓ 3 callersMethodsample
crates/bindings-cpp/include/spacetimedb/random.h:311
↓ 3 callersFunctionsats_derive
A helper for the common bits of the derive macros.
crates/bindings-macro/src/lib.rs:251
↓ 3 callersFunctionsats_to_json
(v: &T)
crates/cli/src/subcommands/describe.rs:103
↓ 3 callersMethodsave
Save the config to a file. The config will be serialized as pretty-printed JSON.
crates/cli/src/spacetime_config.rs:825
↓ 3 callersMethodsave_content_hash
Computes the content hash of this page and saves it to [`PageHeader::unmodified_hash`].
crates/table/src/page.rs:1924
↓ 3 callersMethodscan_st_columns_by_col
( &self, cols: impl Into<ColList>, value: &AlgebraicValue, )
crates/datastore/src/locking_tx_datastore/datastore.rs:1089
↓ 3 callersMethodscan_st_tables_by_col
( &self, cols: impl Into<ColList>, value: &AlgebraicValue, )
crates/datastore/src/locking_tx_datastore/datastore.rs:1067
↓ 3 callersFunctionscheduleAwayCheck
(ctx: any, userIdentity: any)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260105-180000/backend/spacetimedb/src/reducers.ts:80
↓ 3 callersFunctionscheduleConsumeEntity
( ctx: BlackholioCtx, consumer_entity_id: number, consumed_entity_id: number )
demo/Blackholio/server-ts/src/index.ts:586
↓ 3 callersFunctionschedule_consume_entity
(ctx: &ReducerContext, consumer_id: i32, consumed_id: i32)
demo/Blackholio/server-rust/src/lib.rs:443
↓ 3 callersMethodscheduled_id
Get a handle on the `scheduled_id` unique index on the table `scheduled_table`.
sdks/rust/tests/test-client/src/module_bindings/scheduled_table_table.rs:112
↓ 3 callersFunctionschema
( State(worker_ctx): State<S>, Path(SchemaParams { name_or_identity }): Path<SchemaParams>, Query(
crates/client-api/src/routes/database.rs:531
↓ 3 callersMethodseek
(&self, key: Self::K)
crates/bench/benches/index.rs:211
↓ 3 callersFunctionseek_buffer
Allocate a buffer to use with [seek_to]. We assume a log line is typically around 150 bytes long, and allocate space to fit `num_lines` in one read.
crates/core/src/database_logger.rs:556
↓ 3 callersMethodseek_point_via_algebraic_value
Returns an iterator yielding all rows in this index for `key`. Matching is defined by `Eq for AlgebraicValue`.
crates/table/src/table.rs:2193
↓ 3 callersMethodseek_range
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:2179
↓ 3 callersFunctionseek_to
Set `file`'s position such that reading to the end will yield `num_lines`. If `file` contains less than `num_lines`, the position is set to the start
crates/core/src/database_logger.rs:571
↓ 3 callersFunctionsegment_len
(r: &mut T)
crates/fs-utils/src/compression.rs:232
↓ 3 callersMethodsegment_len
(&mut self)
crates/commitlog/src/repo/fs.rs:201
↓ 3 callersFunctionsendMessage
( roomId: number, content: string )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:99
↓ 3 callersMethodsend_detached_request
(&self, ctx: &'static str, request: JsMainWorkerRequest)
crates/core/src/host/v8/mod.rs:466
↓ 3 callersMethodsend_request
( &self, ctx: &'static str, request: impl FnOnce(JsReplyTx<T>) -> JsProcedureWorkerReq
crates/core/src/host/v8/mod.rs:684
↓ 3 callersFunctionsend_to_client_v1
( client: &ClientConnectionSender, tx_offset: Option<TxOffset>, message: impl Into<SerializableMes
crates/core/src/subscription/module_subscription_manager.rs:2164
↓ 3 callersMethodsender_right_view
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/sender_right_view_table.rs:32
↓ 3 callersFunctionserialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/serialization.h:53
↓ 3 callersFunctionserialize
crates/bindings-cpp/include/spacetimedb/bsatn/serialization.h:53
↓ 3 callersMethodserialize_into
(&mut self, val: &T)
crates/bindings/src/lib.rs:1724
↓ 3 callersMethodserver_fingerprint
Return the ECDSA public key in PEM format for the server named by `server`. Returns an `Err` if there is no such server configuration. Returns `None`
crates/cli/src/config.rs:316
↓ 3 callersMethodsetVisible
(visible: boolean)
demo/Blackholio/client-ts/src/ui/DeathScreen.ts:13
↓ 3 callersFunctionset_dependency_version
(item: &mut Item, version: &str, remove_path: bool)
crates/cli/src/subcommands/init.rs:1981
↓ 3 callersFunctionset_store_fuel
(store: &mut impl AsContextMut, fuel: WasmtimeFuel)
crates/core/src/host/wasmtime/wasmtime_module.rs:884
↓ 3 callersMethodsetupSubscription
( queryKey: QueryKey, accessorName: string, querySql: string, whereExpr?: BooleanExpr<any> )
crates/bindings-typescript/src/tanstack/SpacetimeDBQueryClient.ts:173
↓ 3 callersFunctionsetup_view
(stdb: &TestDB)
crates/engine/src/relational_db.rs:2456
↓ 3 callersMethodshow
(visible: boolean)
demo/Blackholio/client-ts/src/ui/UsernameChooser.ts:23
↓ 3 callersMethodsingle_probe_field
(&self)
crates/physical-plan/src/plan.rs:1381
↓ 3 callersMethodsize_on_disk
Determine the size on disk of this commitlog.
crates/commitlog/src/lib.rs:194
↓ 3 callersMethodsleep_until
Suspend execution until approximately `Timestamp`. This will update `self.timestamp` to the new time after execution resumes. Actual time suspended
crates/bindings/src/lib.rs:1341
↓ 3 callersMethodslug
canonical, lowercase slug for file keys / merges
tools/xtask-llm-benchmark/src/llm/types.rs:25
↓ 3 callersMethodsnapshot_dir
(&self, tx_offset: u64)
crates/paths/src/server.rs:200
↓ 3 callersFunctionsortRootFirst
Sort paths so root manifests come before subdirs (e.g. root package.json before spacetimedb/package.json)
tools/templates/update-template-jsons.ts:124
↓ 3 callersMethodspacetime_reverse_dns
(&self, database_identity: &Identity)
crates/standalone/src/control_db.rs:110
↓ 3 callersFunctionspacetimedb_update_main
()
crates/update/src/main.rs:40
↓ 3 callersFunctionspawn_send_worker
(metric_database_identity: Option<Identity>)
crates/core/src/subscription/module_subscription_manager.rs:1811
↓ 3 callersFunctionsql_raw
(db: &str, query: &str, host: Option<&str>)
tools/xtask-llm-benchmark/src/eval/scorers.rs:235
↓ 3 callersFunctionsqrMagnitude
(a: DbVector2)
demo/Blackholio/server-ts/src/math.ts:30
↓ 3 callersFunctionstale_view_backing_table_recreate_plan
Build a repair-only migration plan for views whose stored backing table row layout is stale compared to the currently loaded module definition.
crates/engine/src/update.rs:34
↓ 3 callersFunctionstdbSendMessage
(h: StdbHandle, roomId: bigint, text: string)
tools/llm-sequential-upgrade/perf-benchmark/src/clients/spacetime-client.ts:95
↓ 3 callersFunctionstopTyping
()
tools/llm-oneshot/apps/chat-app/typescript/grok-code/postgres/chat-app-20260128-112222/client/src/components/MessageInput.tsx:78
↓ 3 callersMethodstorage_mut
Returns the backing `[B]` slice for mutation.
crates/table/src/fixed_bit_set.rs:145
↓ 3 callersFunctionstrip_verbatim_prefix
Strip the Windows extended-length path prefix (`\\?\`) if present. `fs::canonicalize()` on Windows produces these prefixes, which are correct but ugly
crates/cli/src/util.rs:18
↓ 3 callersFunctionsubmittedUsername
(input: string)
demo/Blackholio/client-ts/src/ui/UsernameChooser.ts:1
↓ 3 callersFunctionsubscribe_all_then
(ctx: &impl RemoteDbContext, callback: impl FnOnce(&SubscriptionEventContext) + Send + 'static)
sdks/rust/tests/procedure-client/src/test_handlers.rs:94
↓ 3 callersFunctionsubscribe_single
Subscribe to a query as a client
crates/core/src/subscription/module_subscription_actor.rs:2247
↓ 3 callersFunctionsubscribe_these_then
( ctx: &impl RemoteDbContext, queries: &[&str], callback: impl FnOnce(&SubscriptionEventContext) +
sdks/rust/tests/event-table-client/src/test_handlers.rs:67
↓ 3 callersMethodsubscription_builder
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/mod.rs:375
↓ 3 callersMethodsubscription_builder
(&self)
sdks/rust/tests/view-client/src/module_bindings/mod.rs:351
↓ 3 callersMethodsubscriptions
(&self)
crates/core/src/host/module_host.rs:1755
↓ 3 callersFunctionsudo
(f: impl FnOnce(&mut process::Command) -> T)
crates/durability/tests/io/fallocate.rs:259
↓ 3 callersMethodsum
(iter: I)
crates/cli/src/api.rs:99
↓ 3 callersMethodsum_type
(&self)
crates/sats/src/layout.rs:820
↓ 3 callersMethodsystem_logger
(&self)
crates/core/src/database_logger.rs:436
↓ 3 callersFunctiontable_auto_inc
()
crates/engine/src/relational_db.rs:2385
↓ 3 callersFunctiontable_id_from_name
(name: &str)
crates/bindings-sys/src/lib.rs:1090
↓ 3 callersMethodtable_id_from_name
( [In] byte[] name, uint name_len, out TableId out_ )
crates/bindings-csharp/Runtime/Internal/FFI.cs:193
↓ 3 callersMethodtable_id_from_name_mut_tx
(&self, tx: &Self::MutTx, table_name: &str)
crates/datastore/src/locking_tx_datastore/datastore.rs:518
↓ 3 callersFunctiontable_indexed
(is_unique: bool)
crates/engine/src/relational_db.rs:2399
↓ 3 callersFunctiontable_row_count
(tx_state: &TxState, committed_state: &CommittedState, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3427
↓ 3 callersMethodtable_row_count
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3400
↓ 3 callersMethodtake
Takes an object from the pool or creates a new one.
crates/data-structures/src/object_pool.rs:101
↓ 3 callersMethodtake_mutable_tx_for_commit
Extract an anonymous mutable tx so callers can perform extra work before commit.
crates/core/src/host/instance_env.rs:776
↓ 3 callersMethodtake_procedure_tx_offset
After a procedure has finished, take its known last tx offset, if any.
crates/core/src/host/wasmtime/wasm_instance_env.rs:387
↓ 3 callersFunctiontask_slug
(p: &Path)
tools/xtask-llm-benchmark/src/bench/utils.rs:77
↓ 3 callersMethodterminate_execution
Request that v8 terminate execution due to the given host error.
crates/core/src/host/v8/error.rs:197
← previousnext →3,001–3,100 of 27,764, ranked by callers