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
Method
cli_config_dir
(&self)
crates/paths/src/lib.rs:184
↓ 1 callers
Method
client_actor_index
(&self)
crates/standalone/src/lib.rs:168
↓ 1 callers
Method
client_actor_index
(&self)
crates/client-api/src/routes/database.rs:1749
↓ 1 callers
Function
client_with_identity
( identity: Identity, connection_id: ConnectionId, db: &Arc<RelationalDB>, )
crates/core/src/subscription/module_subscription_manager.rs:2245
↓ 1 callers
Function
clone_github_template
(repo_input: &str, target: &Path, is_server_only: bool)
crates/cli/src/subcommands/init.rs:956
↓ 1 callers
Method
close_current_segment
(&mut self)
crates/commitlog/src/stream/writer.rs:364
↓ 1 callers
Method
closed
(&self)
crates/core/src/host/scheduler.rs:267
↓ 1 callers
Function
cmd_analyze
(args: AnalyzeArgs)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:323
↓ 1 callers
Function
cmd_run
(args: RunArgs)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:211
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/datastore/src/locking_tx_datastore/delete_table.rs:154
↓ 1 callers
Function
cmp_bench
(stat: Stat)
crates/bench/hyper_cmp.py:124
↓ 1 callers
Function
coerceParams
( params: Params )
crates/bindings-typescript/src/lib/util.ts:181
↓ 1 callers
Method
col_idx
(self)
crates/datastore/src/system_tables.rs:243
↓ 1 callers
Method
col_list_for_index_id
Retrieve the column ids for this index id
crates/schema/src/schema.rs:448
↓ 1 callers
Function
collapseTupleOptionArgs
( argv: string[], tupleOptionArities: Record<string, number>, )
templates/keynote-2/src/opts.ts:252
↓ 1 callers
Function
collapse_blanks
(s: &str)
tools/xtask-llm-benchmark/src/context/combine.rs:293
↓ 1 callers
Function
collectDepsFromManifests
( templateDir: string, slug: string )
tools/templates/update-template-jsons.ts:130
↓ 1 callers
Method
collect_ephemeral_tables
(&mut self)
crates/datastore/src/locking_tx_datastore/replay.rs:693
↓ 1 callers
Method
collect_sum_dependencies
(&self, module: &ModuleDef, sum: &SumTypeDef)
crates/codegen/src/cpp.rs:161
↓ 1 callers
Method
collect_targets_inner
(&self, parent_fields: Option<&HashMap<String, Value>>)
crates/cli/src/spacetime_config.rs:174
↓ 1 callers
Function
collect_task_numbers_in_categories
(bench_root: &Path, cats: &HashSet<String>)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:756
↓ 1 callers
Method
collect_views
(&self, views: &mut HashSet<ViewId>)
crates/subscription/src/lib.rs:420
↓ 1 callers
Function
collect_wrapper_types
Unified helper function to collect special wrapper types (optionals and results)
crates/codegen/src/unrealcpp.rs:5265
↓ 1 callers
Function
columns
(cols: &[Column])
crates/sqltest/src/pg.rs:13
↓ 1 callers
Function
columns
(stmt: &mut rusqlite::Statement)
crates/sqltest/src/sqlite.rs:30
↓ 1 callers
Method
columns
Get the columns of this type. Returns `None` if this `TableDef` has been constructed with an invalid `ProductTypeRef`.
crates/lib/src/db/raw_def/v9.rs:1031
↓ 1 callers
Function
commitEdit
(messageId: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:287
↓ 1 callers
Function
commit_boundaries
Iterator yielding the start offsets of the commits in a segment.
crates/commitlog/src/tests/bitflip.rs:34
↓ 1 callers
Method
commit_downgrade
Commits this transaction, applying its changes to the committed state. The lock on the committed state is converted into a read lock, and returned as
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2170
↓ 1 callers
Method
commit_mut_tx_and_then
( &self, tx: MutTxId, before_release: impl FnOnce(&Arc<TxData>), )
crates/datastore/src/locking_tx_datastore/datastore.rs:970
↓ 1 callers
Method
commit_mut_tx_downgrade_and_then
Commit `tx`, invoke `before_downgrade` while the write lock is still held, then downgrade the lock to a read-only transaction.
crates/datastore/src/locking_tx_datastore/datastore.rs:980
↓ 1 callers
Function
commits
Obtain an iterator which traverses the commitlog located at the `root` directory from the start, yielding [`StoredCommit`]s. Starts the traversal wit
crates/commitlog/src/lib.rs:619
↓ 1 callers
Function
commits_from
Obtain an iterator which traverses the commitlog located at the `root` directory starting from `offset` and yielding [`StoredCommit`]s. Starts the tr
crates/commitlog/src/lib.rs:628
↓ 1 callers
Method
commits_from
Obtain an iterator starting from transaction offset `offset`, yielding [`StoredCommit`]s. Similar to [`Self::commits`] but will skip until the offset
crates/commitlog/src/lib.rs:351
↓ 1 callers
Method
committed_state
NOTE: This is not unused.
crates/datastore/src/locking_tx_datastore/replay.rs:149
↓ 1 callers
Function
comparePreReleases
(a: PreRelease, b: PreRelease)
crates/bindings-typescript/src/sdk/version.ts:6
↓ 1 callers
Function
compare_indexes
Compare index definitions for common tables
modules/module-test-cpp/compare_module_schemas.py:89
↓ 1 callers
Function
compare_reducers
Compare reducer definitions between Rust and C++
modules/module-test-cpp/compare_module_schemas.py:119
↓ 1 callers
Function
compare_tables
Compare table definitions between Rust and C++
modules/module-test-cpp/compare_module_schemas.py:68
↓ 1 callers
Function
compile_client
Note: this function is memoized to ensure we only compile each client once.
crates/testing/src/sdk.rs:332
↓ 1 callers
Function
compile_dml_plan
Converts a logical DML statement into a physical plan, but does not optimize it.
crates/physical-plan/src/compile.rs:182
↓ 1 callers
Function
compile_expr
(expr: Expr, var: &mut impl VarLabel)
crates/physical-plan/src/compile.rs:17
↓ 1 callers
Function
compile_plan_with_auth
(db: &RelationalDB, sql: &str, auth: AuthCtx)
crates/core/src/subscription/module_subscription_manager.rs:2227
↓ 1 callers
Function
compile_project_list
(var: &mut impl VarLabel, expr: ProjectList)
crates/physical-plan/src/compile.rs:31
↓ 1 callers
Method
compile_queries
Compiles the queries in a [Subscribe] or [SubscribeMulti] message. Note, we hash queries to avoid recompilation, but we need to know if a query is pa
crates/core/src/subscription/module_subscription_actor.rs:1063
↓ 1 callers
Function
compile_query_with_hashes
Compile a string into a single read-only query with externally-computed hashes.
crates/core/src/subscription/query.rs:47
↓ 1 callers
Function
compile_read_only_query
Compile a string into a single read-only query.
crates/core/src/subscription/query.rs:35
↓ 1 callers
Function
compile_sql_stmt
A utility for parsing and type checking a sql statement
crates/query/src/lib.rs:60
↓ 1 callers
Function
compile_tree
(tree: &VarLenRoseTree, into: &mut Vec<Insn>)
crates/table/src/row_type_visitor.rs:210
↓ 1 callers
Function
compile_tree
(tree: &Tree, into: &mut Vec<Insn>)
crates/table/src/static_bsatn_validator.rs:185
↓ 1 callers
Method
complete
( &self, line: &str, pos: usize, _: &rustyline::Context<'_>, )
crates/cli/src/subcommands/repl.rs:126
↓ 1 callers
Method
compress
Replace the original file with the compressed one.
crates/snapshot/src/lib.rs:1229
↓ 1 callers
Method
compress_segment_with
(&self, offset: u64, f: impl CompressOnce)
crates/commitlog/src/repo/mod.rs:187
↓ 1 callers
Function
computeSnapshot
()
crates/bindings-typescript/src/angular/injectors/inject-table.ts:112
↓ 1 callers
Function
compute_backoff
(status: StatusCode, headers: &HeaderMap, attempt: u32)
tools/xtask-llm-benchmark/src/llm/clients/anthropic.rs:213
↓ 1 callers
Function
compute_backoff_google
---- private helpers ----
tools/xtask-llm-benchmark/src/llm/clients/google.rs:199
↓ 1 callers
Function
compute_processed_context_hash
Compute hash of the processed context (after language-specific tab filtering). This ensures each lang/mode combination gets its own unique hash.
tools/xtask-llm-benchmark/src/context/hashing.rs:40
↓ 1 callers
Method
compute_row_count
Compute and store `self.row_count` and `self.blob_store_bytes` by iterating over all the rows in `self` and counting them. Called when restoring from
crates/table/src/table.rs:2443
↓ 1 callers
Function
concat_byte_chunks
Returns the concatenation of `chunks` that must be of `total_len` as a `Vec<u8>`. # Safety - `total_len == chunks.map(|c| c.len()).sum() <= isize::M
crates/sats/src/algebraic_value/ser.rs:133
↓ 1 callers
Method
concurrencyTestsMutiply
( startConc: number = 1, endConc: number = 100, factor: number = 2, alpha: number = 1.5, )
templates/keynote-2/src/cli.ts:116
↓ 1 callers
Function
config
()
crates/table/benches/var_len_visitor.rs:105
↓ 1 callers
Function
configure_tracing
(opts: TracingOptions)
crates/core/src/startup.rs:47
↓ 1 callers
Method
confirm
(self, prompt: String)
crates/update/src/cli.rs:131
↓ 1 callers
Function
confirm_major_version_upgrade
(skip_prompt: bool)
crates/cli/src/subcommands/publish.rs:342
↓ 1 callers
Method
confirm_update
Confirms a row update, after first updating indices and checking constraints. On `Ok(_)`: - the statistics of the table are also updated, - the `ptr`
crates/table/src/table.rs:853
↓ 1 callers
Method
confirmed
(mut self, confirmed: bool)
crates/smoketests/src/lib.rs:676
↓ 1 callers
Function
conflicts
(requested: RequestedHost, listener_addr: IpAddr)
crates/standalone/src/subcommands/start.rs:363
↓ 1 callers
Method
connect
crates/bindings-cpp/include/spacetimedb/http.h:63
↓ 1 callers
Method
connect
()
demo/Blackholio/client-ts/src/game/GameManager.ts:43
↓ 1 callers
Function
connectSocket
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/socket.ts:12
↓ 1 callers
Function
connectWithBindings
()
templates/keynote-2/src/connectors/spacetimedb.ts:36
↓ 1 callers
Function
connect_then_named
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, connect_test_name: &'static str,
sdks/rust/tests/view-pk-client/src/test_handlers.rs:46
↓ 1 callers
Function
connect_to_db
Load credentials from a file and connect to the database.
modules/sdk-test-procedure-cpp/client/src/main.rs:39
↓ 1 callers
Function
connect_to_db
Load credentials from a file and connect to the database.
templates/chat-console-rs/src/main.rs:31
↓ 1 callers
Function
connect_v1
Open a v1 text subscribe websocket for compatibility with older servers.
crates/cli/src/subcommands/subscribe.rs:273
↓ 1 callers
Function
connect_v3
Open a v3 subscribe websocket and validate that the server negotiated v3.
crates/cli/src/subcommands/subscribe.rs:252
↓ 1 callers
Function
connect_with_fallback
Connect using v3 when available, otherwise retry once with the v1 text protocol. Fallback is intentionally limited to connection setup and protocol n
crates/cli/src/subcommands/subscribe.rs:242
↓ 1 callers
Function
connect_with_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, on_connect_suffix: &str, with_bui
sdks/rust/tests/procedure-client/src/test_handlers.rs:59
↓ 1 callers
Function
connection_id
* @brief Create a ConnectionId type (64-bit connection identifier). * * @return AlgebraicType representing a ConnectionId * @todo Inte
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/type_extensions.h:285
↓ 1 callers
Method
console_log
(&self, level: LogLevel, record: &Record, bt: &dyn BacktraceProvider)
crates/core/src/host/instance_env.rs:290
↓ 1 callers
Method
console_log
( caller: Caller<'_, Self>, level: u32, target_ptr: WasmPtr<u8>, target_len: u
crates/core/src/host/wasmtime/wasm_instance_env.rs:1491
↓ 1 callers
Method
console_timer_end
(caller: Caller<'_, Self>, span_id: u32)
crates/core/src/host/wasmtime/wasm_instance_env.rs:1554
↓ 1 callers
Method
consume
Variant of [`Self::decode`] which doesn't allocate `Self`. Useful for folding traversals where the visitor state suffices. Note that both [`Inputs`]
crates/commitlog/src/payload/txdata.rs:186
↓ 1 callers
Method
consumeEntityEventOnInsert
(event: ConsumeEntityEvent)
demo/Blackholio/client-ts/src/game/GameManager.ts:213
↓ 1 callers
Method
consume_for_merge
Consumes the table, returning some constituents needed for merge.
crates/table/src/table.rs:1645
↓ 1 callers
Function
consume_record_fn
Variant of [`decode_record_fn`] which expects, but doesn't allocate [`Txdata`] records.
crates/commitlog/src/payload/txdata.rs:574
↓ 1 callers
Method
consume_transaction_updates
Print transaction updates until the requested count is reached.
crates/cli/src/subcommands/subscribe.rs:127
↓ 1 callers
Function
consume_transaction_updates_v1
Print `num` v1 [`ws_v1::ServerMessage::TransactionUpdate`] messages as JSON. If `num` is `None`, keep going indefinitely.
crates/cli/src/subcommands/subscribe.rs:530
↓ 1 callers
Function
consume_transaction_updates_v3
Print `num` [`ws_v2::ServerMessage::TransactionUpdate`] messages as JSON. If `num` is `None`, keep going indefinitely.
crates/cli/src/subcommands/subscribe.rs:574
↓ 1 callers
Method
contains_any
Returns whether `value` is in this index.
crates/table/src/table_index/mod.rs:2375
↓ 1 callers
Method
contains_entry
True if `file_id` is the key for an object present in this trie. Internally calls [`Path::is_file`]; see documentation on that method for detailed se
crates/fs-utils/src/dir_trie.rs:136
↓ 1 callers
Method
contentionTests
( startAlpha: number = 1, endAlpha: number = 100, step: number = 1, concurrency: number = 50,
templates/keynote-2/src/cli.ts:84
↓ 1 callers
Function
context_name
(mode: &str)
tools/xtask-llm-benchmark/src/bench/analysis.rs:72
↓ 1 callers
Method
control_db
(&self)
crates/paths/src/standalone.rs:8
↓ 1 callers
Function
convertStepByStepToMarkdown
(content: string)
tools/templates/generate-template-readmes.ts:82
↓ 1 callers
Function
convert_err_to_errno
If `res` is `Err`, write the message to `out` and return non-zero. If `res` is `Ok`, return zero. Called by [`__call_reducer__`] and [`__call_procedu
crates/bindings/src/rt.rs:1090
↓ 1 callers
Function
convert_http_request
Unpack `request` and convert it into an [`http::request::Parts`], and a [`Duration`] from its `timeout` if supplied. It's very important that the err
crates/core/src/host/instance_env.rs:1200
↓ 1 callers
Function
convert_http_response
(response: http::response::Parts)
crates/core/src/host/instance_env.rs:1257
↓ 1 callers
Function
convert_request
(parts: http::request::Parts)
crates/bindings/src/http.rs:548
↓ 1 callers
Function
convert_response
(response: st_http::Response)
crates/bindings/src/http.rs:592
← previous
next →
8,001–8,100 of 27,764, ranked by callers