Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ functions
Functions
27,764 in github.com/clockworklabs/SpacetimeDB
⨍
Functions
27,764
◇
Types & classes
9,245
↓ 1 callers
Function
run_publish_checks
()
tools/ci/src/main.rs:404
↓ 1 callers
Method
run_query_for_view
Compiles and runs a query that was returned from a view. This tracks read dependencies for the view. Note that this doesn't modify the resulting rows
crates/core/src/host/wasm_common/module_host_actor.rs:1397
↓ 1 callers
Function
run_selected_for_model_async_for_lang
run only selected tasks by selectors like 1/01/001 or t_001
tools/xtask-llm-benchmark/src/bench/runner.rs:655
↓ 1 callers
Function
run_selected_or_all_for_model_async_for_lang
(ctx: &BenchRunContext<'_>)
tools/xtask-llm-benchmark/src/bench/runner.rs:850
↓ 1 callers
Function
run_serial
Run test one by one
crates/sqltest/src/main.rs:135
↓ 1 callers
Function
run_smoketest
(server: Option<String>, dotnet: bool, args: Vec<String>)
tools/ci/src/smoketest.rs:129
↓ 1 callers
Method
run_sql
(&self, sql: &str)
crates/sqltest/src/space.rs:67
↓ 1 callers
Method
run_sync_job
Run `f` on this database executor and return its result.
crates/core/src/util/jobs.rs:412
↓ 1 callers
Function
run_test_file
Different from [`Runner::run_file_async`], we re-implement it here to print some progress information.
crates/sqltest/src/main.rs:196
↓ 1 callers
Method
run_threaded
Spawn a thread which processes WebSocket messages as they are received.
modules/sdk-test-procedure-cpp/client/src/module_bindings/mod.rs:384
↓ 1 callers
Method
run_threaded
Spawn a thread which processes WebSocket messages as they are received.
templates/chat-console-rs/src/module_bindings/mod.rs:330
↓ 1 callers
Method
run_threaded
Spawn a thread which processes WebSocket messages as they are received.
templates/basic-rs/src/module_bindings/mod.rs:309
↓ 1 callers
Method
run_threaded
Spawn a thread which processes WebSocket messages as they are received.
templates/basic-cpp/src/module_bindings/mod.rs:309
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/mod.rs:386
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/event-table-client/src/module_bindings/mod.rs:329
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/case-conversion-client/src/module_bindings/mod.rs:397
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/mod.rs:387
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/mod.rs:453
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/view-client/src/module_bindings/mod.rs:429
↓ 1 callers
Method
run_threaded
(&self)
sdks/rust/tests/procedure-client/src/module_bindings/mod.rs:396
↓ 1 callers
Function
run_typescript_tests
()
tools/ci/src/main.rs:434
↓ 1 callers
Function
run_version_upgrade_check
()
tools/ci/src/main.rs:463
↓ 1 callers
Function
run_view_cleanup
(db: &RelationalDB)
crates/engine/src/relational_db.rs:1097
↓ 1 callers
Function
run_with_instance
Run the `SQL` string using the provided `WasmInstance` and `ModuleDef` The query will always be executed on the module's thread.
crates/core/src/sql/execute.rs:69
↓ 1 callers
Function
run_with_retry
(cmd: &mut Command, label: &str, max_retries: u32)
tools/xtask-llm-benchmark/src/bench/publishers.rs:82
↓ 1 callers
Function
run_with_timeout
(mut cmd: Command, cwd: &Path, timeout: Duration)
tools/xtask-llm-benchmark/src/eval/scorers.rs:72
↓ 1 callers
Function
running_from_target_dir
Checks to see if we're running from a subdirectory of a `target` dir that has a `Cargo.toml` as a sibling, and returns the containing directory of the
crates/cli/src/subcommands/version.rs:60
↓ 1 callers
Function
running_from_target_dir
Checks to see if we're running from a subdirectory of a `target` dir that has a `Cargo.toml` as a sibling, and returns the containing directory of the
crates/update/src/proxy.rs:120
↓ 1 callers
Function
runtime
()
crates/cli/src/tasks/javascript.rs:19
↓ 1 callers
Function
rustdoc_readme_path
()
tools/xtask-llm-benchmark/src/context/constants.rs:40
↓ 1 callers
Function
rustfmt
(files: impl IntoIterator<Item = PathBuf>)
crates/cli/src/tasks/rust.rs:172
↓ 1 callers
Function
safe_div
(a, b)
templates/keynote-2/scripts/bench-stats.py:43
↓ 1 callers
Method
same_checksum_as
`true` if the last seen commit in self and the provided one have the same `checksum`.
crates/commitlog/src/commitlog.rs:802
↓ 1 callers
Method
same_offset_as
`true` if the last seen commit in self and the provided one have the same `min_tx_offset`.
crates/commitlog/src/commitlog.rs:793
↓ 1 callers
Method
sample_probability
(&self, probability: f64)
crates/runtime/src/sim/rng.rs:92
↓ 1 callers
Method
sanitize_for_commit
Strip volatile fields that change every run (ports, paths) to reduce git diff noise when committing results. Timestamps (started_at, finished_at) are
tools/xtask-llm-benchmark/src/bench/types.rs:96
↓ 1 callers
Function
sats_name_to_scoped_name_v10
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/v10.rs:1297
↓ 1 callers
Method
saturating_add_energy
(&self, energy: EnergyQuanta)
crates/client-api-messages/src/energy.rs:98
↓ 1 callers
Method
save
Store the provided `token` to disk in the file referred to by `self`. Future calls to [`Self::load`] on a `File` with the same key can retrieve the t
sdks/rust/src/credentials.rs:117
↓ 1 callers
Function
saveToken
(token: string)
templates/nodejs-ts/src/main.ts:103
↓ 1 callers
Function
saveToken
(token: string)
templates/bun-ts/src/main.ts:168
↓ 1 callers
Function
saveToken
(token: string)
templates/deno-ts/src/main.ts:161
↓ 1 callers
Method
save_or_get_content_hash
Return the page's content hash, computing and saving it if it is not already stored.
crates/table/src/page.rs:1930
↓ 1 callers
Function
say_hello
(ctx: &ReducerContext)
modules/module-test/src/lib.rs:283
↓ 1 callers
Method
say_hello_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
templates/basic-rs/src/module_bindings/say_hello_reducer.rs:52
↓ 1 callers
Method
say_hello_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
templates/basic-cpp/src/module_bindings/say_hello_reducer.rs:52
↓ 1 callers
Method
scan_metrics
Scan classification used for runtime metrics.
crates/subscription/src/lib.rs:511
↓ 1 callers
Method
scan_st_columns
(&self)
crates/datastore/src/locking_tx_datastore/datastore.rs:1080
↓ 1 callers
Method
scan_st_constraints
(&self)
crates/datastore/src/locking_tx_datastore/datastore.rs:1102
↓ 1 callers
Method
scan_st_sequences
(&self)
crates/datastore/src/locking_tx_datastore/datastore.rs:1111
↓ 1 callers
Method
scan_type
(&self)
crates/subscription/src/lib.rs:345
↓ 1 callers
Function
scheduleCleanupCheck
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:2062
↓ 1 callers
Function
scheduleMessage
( roomId: number, content: string, scheduleInSeconds: number )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:120
↓ 1 callers
Method
scheduled_proc_table
(&self)
modules/sdk-test-procedure-cpp/client/src/module_bindings/scheduled_proc_table_table.rs:32
↓ 1 callers
Method
scheduled_proc_then
( &self, data: ScheduledProcTable, __callback: impl FnOnce(&super::ProcedureEventCont
modules/sdk-test-procedure-cpp/client/src/module_bindings/scheduled_proc_procedure.rs:37
↓ 1 callers
Method
scheduled_proc_then
( &self, data: ScheduledProcTable, __callback: impl FnOnce(&super::ProcedureEventCont
sdks/rust/tests/procedure-client/src/module_bindings/scheduled_proc_procedure.rs:37
↓ 1 callers
Method
scheduled_procedure_row
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/scheduled_procedure_row_table.rs:32
↓ 1 callers
Method
scheduled_procedure_sleep_between_inserts_then
( &self, schedule: ScheduledProcedureRow, __callback: impl FnOnce(&super::ProcedureEv
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/scheduled_procedure_sleep_between_inserts_procedure.rs:37
↓ 1 callers
Method
scheduler
(&self)
crates/core/src/host/v8/mod.rs:291
↓ 1 callers
Method
scheduler
(&self)
crates/core/src/host/wasm_common/module_host_actor.rs:446
↓ 1 callers
Method
schedules
The schedules of the module definition.
crates/schema/src/def.rs:204
↓ 1 callers
Method
schedules_mut
Get mutable access to the schedules section, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:796
↓ 1 callers
Method
schema
(&self, name: &str)
crates/expr/src/check.rs:32
↓ 1 callers
Method
schema_for_table
(&self, table_id: TableId)
crates/expr/src/check.rs:208
↓ 1 callers
Function
schema_migration_policy
( policy: MigrationPolicy, token: Option<Hash>, )
crates/client-api/src/routes/database.rs:1193
↓ 1 callers
Function
schema_type
(input: StdTokenStream)
crates/bindings-macro/src/lib.rs:279
↓ 1 callers
Method
score
(&self, _llm_output: &str)
tools/xtask-llm-benchmark/src/eval/scorers.rs:28
↓ 1 callers
Method
scorers_for
(&self, lang: Lang, route_tag: &str, host_url: &str)
tools/xtask-llm-benchmark/src/eval/spec.rs:35
↓ 1 callers
Function
scrollToBottom
()
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:114
↓ 1 callers
Method
sdk_setup
Set up the SDK for the client.
crates/smoketests/tests/smoketests/quickstart.rs:635
↓ 1 callers
Method
sealed
(&self)
crates/commitlog/src/repo/fs.rs:169
↓ 1 callers
Method
search_args
Search arguments used for pruning.
crates/subscription/src/lib.rs:506
↓ 1 callers
Function
secondsLeft
(expiresAt: string, nowMs: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:36
↓ 1 callers
Function
section_for
(kind: &str)
tools/xtask-llm-benchmark/src/context/combine.rs:260
↓ 1 callers
Function
seed_accounts
(cli_path: &Path, config_path: &Path, server_url: &str)
tools/ci/src/keynote_bench.rs:161
↓ 1 callers
Method
seek
(&mut self, pos: io::SeekFrom)
crates/commitlog/src/repo/mem/segment.rs:153
↓ 1 callers
Method
seek_point
(&self, key: &Self::Key)
crates/table/src/table_index/unique_direct_index.rs:233
↓ 1 callers
Method
seek_range
( &self, range: &impl RangeBounds<TypedIndexKey<'a>>, )
crates/table/src/table_index/mod.rs:1673
↓ 1 callers
Function
seek_to_offset
Advances the `segment` reader to the position corresponding to the `start_tx_offset` using the `index_file` for efficient seeking. Input: - `segment`
crates/commitlog/src/segment.rs:485
↓ 1 callers
Method
seek_to_offset
(&mut self, index_file: &TxOffsetIndex, start_tx_offset: u64)
crates/commitlog/src/segment.rs:446
↓ 1 callers
Function
seenByForMessage
(msg: Message)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:316
↓ 1 callers
Method
segment
By convention, the file name of a segment consists of the minimum transaction offset contained in it, left-padded with zeroes to 20 digits, and the fi
crates/paths/src/server.rs:264
↓ 1 callers
Function
segment_compressor
Obtain the canonical [CompressOnce] compressor for segments. The compressor will create seekable [Zstd] archives with a max frame size of 4KiB. That
crates/commitlog/src/repo/mod.rs:444
↓ 1 callers
Method
segment_file_path
Return a path-like identifier for debugging logs. This is optional and only used to enrich error messages when segment operations fail.
crates/commitlog/src/repo/mod.rs:116
↓ 1 callers
Function
segment_label
(repo: &R, offset: u64)
crates/commitlog/src/repo/mod.rs:450
↓ 1 callers
Method
segment_len
(&mut self)
crates/commitlog/src/repo/mod.rs:211
↓ 1 callers
Method
segment_offsets_from
Helper to obtain a list of the segment offsets which include transaction offset `offset`. The returned `Vec` is sorted in **ascending** order, such t
crates/commitlog/src/commitlog.rs:189
↓ 1 callers
Method
select
Select the tuple element at position `i`
crates/execution/src/lib.rs:306
↓ 1 callers
Function
select_database
(config: &Config, server: &str, token: &str)
crates/cli/src/subcommands/dev.rs:1139
↓ 1 callers
Method
select_protocol
Select a subprotocol from the ones provided, and prepare a response for the client.
crates/client-api/src/util/websocket.rs:147
↓ 1 callers
Function
sendActivity
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/socket.ts:29
↓ 1 callers
Function
sendEphemeral
( roomId: number, content: string, seconds: number )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:109
↓ 1 callers
Function
sendInitialData
(socket: AuthenticatedSocket)
tools/llm-oneshot/apps/chat-app/typescript/grok-code/postgres/chat-app-20260128-112222/server/src/socket/index.ts:633
↓ 1 callers
Method
send_client_message
Send a message to a client connection. This will eventually be sent by the send-worker. This takes a `TxId`, because this should be called while still
crates/core/src/subscription/module_subscription_actor.rs:1169
↓ 1 callers
Function
send_js_request
( ctx: &'static str, tx: &mpsc::Sender<Req>, request: impl FnOnce(JsReplyTx<T>) -> Req, )
crates/core/src/host/v8/mod.rs:734
↓ 1 callers
Function
send_js_unbounded_request
( ctx: &'static str, tx: &MeteredUnboundedSender<JsMainWorkerRequest>, request: impl FnOnce(JsRepl
crates/core/src/host/v8/mod.rs:753
↓ 1 callers
Method
send_message
Request that the remote module invoke the reducer `send_message` to run as soon as possible. This method returns immediately, and errors only if we a
templates/chat-console-rs/src/module_bindings/send_message_reducer.rs:34
↓ 1 callers
Method
send_metrics
( &self, reducer: Option<ReducerName>, metrics_for_writer: Option<TxMetrics>,
crates/engine/src/lib.rs:49
↓ 1 callers
Method
send_one_computed_queries
( &mut self, tx_offset: TxOffset, ComputedQueries { updates, v
crates/core/src/subscription/module_subscription_manager.rs:2141
↓ 1 callers
Method
send_one_off_query_message_v2
( &self, recipient: Arc<ClientConnectionSender>, message: ws_v2::OneOffQueryResult,
crates/core/src/subscription/module_subscription_actor.rs:1202
← previous
next →
10,101–10,200 of 27,764, ranked by callers