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
post_with_retries
( &self, url: &str, headers: HeaderMap, payload: &impl serde::Serialize, )
tools/xtask-llm-benchmark/src/llm/clients/anthropic.rs:154
↓ 1 callers
Function
precomputeZipfTransferPairs
( accounts: number, alpha: number, count: number, )
templates/keynote-2/src/core/runner.ts:9
↓ 1 callers
Function
prepSystem
(system: ConnectorKey)
templates/keynote-2/src/demo.ts:181
↓ 1 callers
Function
prepare_csharp_module
Prepares a generated C# module directory for deterministic restore/publish. It writes a module-local `nuget.config` that: - isolates global package c
crates/smoketests/src/csharp.rs:155
↓ 1 callers
Function
prepare_scheduled_procedure_call
Prepares a scheduled procedure by resolving its arguments and deleting/rescheduling the schedule row before execution. The actual procedure call is a
crates/core/src/host/scheduler.rs:500
↓ 1 callers
Function
prepare_tests
()
crates/bench/src/lib.rs:26
↓ 1 callers
Function
prepare_tx_data_for_durability
( tx_offset: u64, reducer_context: Option<ReducerContext>, tx_data: &TxData, )
crates/engine/src/durability.rs:50
↓ 1 callers
Function
present_rows_ptr
(page: &Page)
crates/table/src/page_pool.rs:121
↓ 1 callers
Method
present_rows_storage_ptr_for_test
(&self)
crates/table/src/page.rs:382
↓ 1 callers
Function
pretty_format_xml
Pretty-print XML with indentation. Keeps UTF-8 declaration if present.
crates/cli/src/subcommands/init.rs:1274
↓ 1 callers
Method
pretty_print
(&self, style: PrettyPrintStyle)
crates/schema/src/auto_migrate.rs:66
↓ 1 callers
Function
pretty_print_style_from_env
Determine the pretty print style based on the NO_COLOR environment variable. See: https://no-color.org
crates/cli/src/subcommands/publish.rs:745
↓ 1 callers
Method
primitive
crates/bindings-cpp/include/spacetimedb/bsatn/algebraic_type.h:200
↓ 1 callers
Function
print_applied_diff_defn
(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter)
crates/codegen/src/rust.rs:1507
↓ 1 callers
Function
print_cell
(cell: str, size: int, is_last: bool)
crates/bench/hyper_cmp.py:81
↓ 1 callers
Function
print_const_db_context_types
(out: &mut Indenter)
crates/codegen/src/rust.rs:1614
↓ 1 callers
Function
print_database_tree_info
(tree: &DatabaseTree)
crates/cli/src/subcommands/delete.rs:104
↓ 1 callers
Function
print_db_update_defn
(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter)
crates/codegen/src/rust.rs:1310
↓ 1 callers
Function
print_enum_derives
(output: &mut Indenter)
crates/codegen/src/rust.rs:950
↓ 1 callers
Function
print_impl_spacetime_module
(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter)
crates/codegen/src/rust.rs:1564
↓ 1 callers
Function
print_index_imports
(out: &mut Indenter)
crates/codegen/src/typescript.rs:517
↓ 1 callers
Function
print_llm_output
(model: &str, task: &str, s: &str)
tools/xtask-llm-benchmark/src/bench/utils.rs:67
↓ 1 callers
Function
print_mkdown
(report: Report)
crates/bench/hyper_cmp.py:96
↓ 1 callers
Function
print_module_decls
Print `pub mod` declarations for all the files that will be generated for `items`.
crates/codegen/src/rust.rs:1144
↓ 1 callers
Function
print_module_reexports
Print appropriate reexports for all the files that will be generated for `items`.
crates/codegen/src/rust.rs:1151
↓ 1 callers
Function
print_next_steps
(config: &TemplateConfig, _project_path: &Path)
crates/cli/src/subcommands/init.rs:1527
↓ 1 callers
Function
print_plain_enum_extra_derives
(output: &mut Indenter)
crates/codegen/src/rust.rs:956
↓ 1 callers
Function
print_reducer_enum_defn
(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter)
crates/codegen/src/rust.rs:1178
↓ 1 callers
Function
print_spacetimedb_imports
(output: &mut Indenter)
crates/codegen/src/rust.rs:923
↓ 1 callers
Function
print_struct_derives
(output: &mut Indenter)
crates/codegen/src/rust.rs:1060
↓ 1 callers
Function
print_templates_list
()
crates/cli/src/subcommands/init.rs:213
↓ 1 callers
Function
print_type_builder_imports
(out: &mut Indenter)
crates/codegen/src/typescript.rs:557
↓ 1 callers
Function
private_table_names
Return the names of all private tables, in alphabetical order.
crates/codegen/src/util.rs:153
↓ 1 callers
Function
probability_sample
(value: u64, probability: f64)
crates/runtime/src/sim/rng.rs:188
↓ 1 callers
Method
probe_field_components
(&self)
crates/physical-plan/src/plan.rs:1370
↓ 1 callers
Method
proc_inserts_into
(&self)
modules/sdk-test-procedure-cpp/client/src/module_bindings/proc_inserts_into_table.rs:32
↓ 1 callers
Method
proc_inserts_into
(&self)
sdks/rust/tests/procedure-client/src/module_bindings/proc_inserts_into_table.rs:32
↓ 1 callers
Method
procedure_abort_mut_tx_inner
See [`WasmInstanceEnv::procedure_abort_mut_tx`] for details.
crates/core/src/host/wasmtime/wasm_instance_env.rs:1911
↓ 1 callers
Method
procedure_by_id
Look up a procuedure by its id, panicking if it doesn't exist.
crates/schema/src/def.rs:401
↓ 1 callers
Method
procedure_call_params
( &'a self, caller_identity: Identity, caller_connection_id: Option<ConnectionId>,
crates/core/src/host/module_host.rs:2742
↓ 1 callers
Function
procedure_call_params_for_queued_item
( module: &ModuleInfo, db: &RelationalDB, tx: &MutTxId, item: QueueItem, )
crates/core/src/host/scheduler.rs:734
↓ 1 callers
Function
procedure_function_with_callback_name
(procedure: &ProcedureDef)
crates/codegen/src/rust.rs:1128
↓ 1 callers
Function
procedure_impl
(_args: ProcedureArgs, original_function: &ItemFn)
crates/bindings-macro/src/procedure.rs:32
↓ 1 callers
Method
procedure_instance_pool_size
(&self)
crates/core/src/host/v8/mod.rs:303
↓ 1 callers
Function
procedure_outcome_response
(return_val: AlgebraicValue)
crates/client-api/src/routes/database.rs:507
↓ 1 callers
Method
procedures_mut
Get mutable access to the procedures section, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:738
↓ 1 callers
Function
processExpiredMessages
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/server/src/index.ts:127
↓ 1 callers
Method
processPendingQueries
()
crates/bindings-typescript/src/tanstack/SpacetimeDBQueryClient.ts:261
↓ 1 callers
Function
processScheduledMessages
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/server/src/index.ts:104
↓ 1 callers
Function
process_column_default_value
( cdv: &RawColumnDefaultValueV9, validator: &ModuleValidatorV9, tables: &mut IdentifierMap<TableDe
crates/schema/src/def/validate/v9.rs:1602
↓ 1 callers
Function
process_crate
(crate_name, crate_metadata, recursive=False, debug=False)
tools/find-publish-list.py:28
↓ 1 callers
Function
process_thrown_exception
Process the thrown exception value into an `ExecutionError`.
crates/core/src/host/v8/syscall/v2.rs:473
↓ 1 callers
Function
productSize
(ty: FixedSizeProductType)
crates/bindings-typescript/src/lib/algebraic_type.ts:334
↓ 1 callers
Method
product_name
(&self)
crates/sats/src/layout.rs:944
↓ 1 callers
Method
product_name
(&self)
crates/sats/src/de/impls.rs:734
↓ 1 callers
Function
product_row
Generate a `ProductValue` for use in [create_table_with_index]
crates/core/src/host/instance_env.rs:1403
↓ 1 callers
Function
product_type_has_default_ordering
Checks if a product type has the default ordering. Not a recursive check.
crates/lib/src/db/default_element_ordering.rs:48
↓ 1 callers
Method
program
Obtain the module associated with this database. `None` if the database is not yet fully initialized. Note that a `Some` result may yield an empty sl
crates/engine/src/relational_db.rs:447
↓ 1 callers
Method
project
(&self, field: &TupleField)
crates/physical-plan/src/plan.rs:1425
↓ 1 callers
Method
project
Project the fields from the supplied `indexes`.
crates/schema/src/schema.rs:466
↓ 1 callers
Method
project
(&self, field: &TupleField)
crates/execution/src/lib.rs:272
↓ 1 callers
Method
project_init
Initialize the client project.
crates/smoketests/tests/smoketests/quickstart.rs:606
↓ 1 callers
Method
project_unchecked
Construct a projection of the row at `self` by extracting the `cols`. If `cols` contains zero or more than one column, the values of the projected co
crates/table/src/table.rs:1833
↓ 1 callers
Function
prompt_for_typescript_package_manager
()
crates/cli/src/subcommands/init.rs:411
↓ 1 callers
Function
prompt_yes_no
Prompt the user with a yes/no question. Returns true if they answer yes.
crates/standalone/src/subcommands/start.rs:447
↓ 1 callers
Function
provideSpacetimeDB
( connectionBuilder: DbConnectionBuilder<DbConnection> )
crates/bindings-typescript/src/angular/providers/provide-spacetimedb.ts:21
↓ 1 callers
Method
prune
(&self, key: &Hash)
crates/core/src/host/disk_storage.rs:72
↓ 1 callers
Method
public_key_bytes
(&self)
crates/client-api/src/routes/database.rs:1711
↓ 1 callers
Method
publish
(&mut self)
crates/smoketests/src/lib.rs:1400
↓ 1 callers
Method
publish_cpp_module_source_internal
( &mut self, project_dir_name: &str, module_name: &str, module_source: &str,
crates/smoketests/src/lib.rs:1258
↓ 1 callers
Function
publish_cs_async
(publisher: DotnetPublisher, host_url: String, wdir: PathBuf, db: String)
tools/xtask-llm-benchmark/src/bench/runner.rs:94
↓ 1 callers
Method
publish_csharp_module_source_internal
( &mut self, project_dir_name: &str, module_name: &str, module_source: &str,
crates/smoketests/src/lib.rs:1213
↓ 1 callers
Method
publish_database
( &self, publisher: &Identity, spec: spacetimedb_client_api::DatabaseDef, poli
crates/standalone/src/lib.rs:272
↓ 1 callers
Method
publish_database
( &self, _publisher: &Identity, _spec: DatabaseDef, _policy: M
crates/client-api/src/routes/database.rs:1837
↓ 1 callers
Method
publish_golden_only
( &self, lang: Lang, category: &str, task_id: &str, golden_src_text: &
tools/xtask-llm-benchmark/src/bench/runner.rs:118
↓ 1 callers
Method
publish_llm
(&self, params: PublishParams<'_>)
tools/xtask-llm-benchmark/src/bench/runner.rs:142
↓ 1 callers
Function
publish_module
(module: &BenchmarkModule, cli_path: &Path, config_path: &Path, server_url: &str)
tools/ci/src/keynote_bench.rs:123
↓ 1 callers
Function
publish_module
Note: this function does not memoize because we want each test to publish the same module as a separate clean database instance for isolation purposes
crates/testing/src/sdk.rs:183
↓ 1 callers
Method
publish_module_internal
( &mut self, name: Option<&str>, clear: bool, break_clients: bool, num
crates/smoketests/src/lib.rs:1414
↓ 1 callers
Function
publish_rust_async
( publisher: SpacetimeRustPublisher, host_url: String, wdir: PathBuf, db: String, )
tools/xtask-llm-benchmark/src/bench/runner.rs:85
↓ 1 callers
Function
publish_ts_async
(publisher: TypeScriptPublisher, host_url: String, wdir: PathBuf, db: String)
tools/xtask-llm-benchmark/src/bench/runner.rs:98
↓ 1 callers
Method
publish_typescript_module_source_internal
( &mut self, project_dir_name: &str, module_name: &str, module_source: &str,
crates/smoketests/src/lib.rs:1158
↓ 1 callers
Method
push
(&mut self, elem: T)
crates/sats/src/de.rs:753
↓ 1 callers
Method
push
(&mut self, elem: ColId)
crates/sats/src/de/impls.rs:1018
↓ 1 callers
Method
push_front
(&mut self, value: T)
crates/core/src/client/client_connection.rs:565
↓ 1 callers
Method
put
Return a chunk back to the pool, or frees it, as appropriate. `chunk` will be freed if either: - `self` already contains at least [`MAX_CHUNKS_IN_PO
crates/core/src/host/instance_env.rs:147
↓ 1 callers
Method
put_i128
Writes an `i128` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:133
↓ 1 callers
Method
put_i16
Writes an `i16` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:118
↓ 1 callers
Method
put_i256
Writes an `i256` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:138
↓ 1 callers
Method
put_i32
Writes an `i32` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:123
↓ 1 callers
Method
put_i64
Writes an `i64` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:128
↓ 1 callers
Method
put_i8
Writes an `i8` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:113
↓ 1 callers
Method
put_u128
Writes a `u128` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:103
↓ 1 callers
Method
put_u16
Writes a `u16` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:88
↓ 1 callers
Method
put_u256
Writes a `u256` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:108
↓ 1 callers
Method
queries_for_row
Find the queries that need to be evaluated for this row.
crates/core/src/subscription/module_subscription_manager.rs:320
↓ 1 callers
Method
queue_capacity
(self)
crates/durability/src/imp/local.rs:56
↓ 1 callers
Function
quickstartMdxToMarkdown
( mdx: string, quickstartDir: string, docsRoot: string )
tools/templates/generate-template-readmes.ts:150
↓ 1 callers
Method
random
()
crates/bindings-typescript/src/lib/connection_id.ts:48
↓ 1 callers
Function
random_module_name
()
crates/testing/src/sdk.rs:125
← previous
next →
9,701–9,800 of 27,764, ranked by callers