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
finish_funcall
Signal to this `WasmInstanceEnv` that a reducer or procedure call is over. Returns time measurements which can be recorded as metrics, and the errors
crates/core/src/host/wasmtime/wasm_instance_env.rs:360
↓ 1 callers
Method
finish_funcall
Signal to this `WasmInstanceEnv` that a reducer/view/procedure call is over. This resets all of the state associated to a single function call, and re
crates/core/src/host/v8/mod.rs:401
↓ 1 callers
Function
finish_http_handler_opcall
( store: &mut Store<WasmInstanceEnv>, initial_budget: FunctionBudget, response_sink: u32, resp
crates/core/src/host/wasmtime/wasmtime_module.rs:959
↓ 1 callers
Function
first_index_point
( tx: &'a Tx, source: IndexSource, table_id: TableId, index_id: IndexId, point: &Algebraic
crates/execution/src/pipelined.rs:666
↓ 1 callers
Method
first_text
(self)
tools/xtask-llm-benchmark/src/llm/clients/google.rs:178
↓ 1 callers
Function
fix_sql
(old_sql: str)
crates/sqltest/build_standard.py:41
↓ 1 callers
Function
fixed_test_timestamp
`Timestamp::now()` is stubbed on `wasm32-unknown-unknown`, so client-side tests that need a timestamp value must use a deterministic literal instead o
sdks/rust/tests/test-client/src/test_handlers.rs:26
↓ 1 callers
Method
fixup_delete_duplicate_system_sequence_rows
Delete all but the highest-allocation `st_sequence` row for each system sequence. Prior versions of `RelationalDb::migrate_system_tables` (defined in
crates/datastore/src/locking_tx_datastore/replay.rs:532
↓ 1 callers
Method
flush
(&mut self)
crates/fs-utils/src/compression.rs:205
↓ 1 callers
Method
fmt
(&self)
crates/query-builder/src/table.rs:106
↓ 1 callers
Function
fmt_invalid_len
Returns an error message for invalid product type lengths.
crates/sats/src/de.rs:308
↓ 1 callers
Function
fmt_tree_node
(node: &DatabaseTreeNode)
crates/cli/src/subcommands/delete.rs:136
↓ 1 callers
Function
fold_transaction_range
( repo: R, max_log_format_version: u8, range: impl RangeBounds<u64>, de: D, )
crates/commitlog/src/commitlog.rs:578
↓ 1 callers
Method
fold_transaction_range
(&self, range: impl RangeBounds<u64>, decoder: D)
crates/commitlog/src/commitlog.rs:348
↓ 1 callers
Method
fold_transactions
Traverse the log from the start and "fold" its transactions into the provided [`Decoder`]. A [`Decoder`] is a stateful object due to the requirement
crates/commitlog/src/lib.rs:557
↓ 1 callers
Function
fold_transactions_from
Traverse the commitlog located at the `root` directory starting from `offset` and "fold" its transactions into the provided [`Decoder`]. Starts the t
crates/commitlog/src/lib.rs:688
↓ 1 callers
Method
fold_transactions_from
Traverse the log from the given transaction offset and "fold" its transactions into the provided [`Decoder`]. Similar to [`Self::fold_transactions`]
crates/commitlog/src/lib.rs:571
↓ 1 callers
Method
fold_transactions_from
(&self, offset: u64, decoder: D)
crates/commitlog/src/commitlog.rs:340
↓ 1 callers
Method
fold_transactions_from
(&self, offset: TxOffset, decoder: D)
crates/durability/src/lib.rs:224
↓ 1 callers
Function
forEachServerMessageV3
( reader: BinaryReader, data: Uint8Array, visit: (message: ServerMessage) => void )
crates/bindings-typescript/src/sdk/websocket_v3_frames.ts:110
↓ 1 callers
Function
for_each_index_point
( tx: &'a Tx, source: IndexSource, table_id: TableId, index_id: IndexId, point: &Algebraic
crates/execution/src/pipelined.rs:643
↓ 1 callers
Function
for_each_index_scan_row
( tx: &'a Tx, source: IndexSource, table_id: TableId, index_id: IndexId, probe: &Evaluated
crates/execution/src/pipelined.rs:578
↓ 1 callers
Method
for_each_return_field
Iterate over the returned column names and types
crates/expr/src/expr.rs:93
↓ 1 callers
Method
force
(mut self, force: bool)
crates/smoketests/src/lib.rs:562
↓ 1 callers
Function
force_vendor_from_env
()
tools/xtask-llm-benchmark/src/llm/config.rs:11
↓ 1 callers
Method
forget
Forgets the container part of the error.
crates/data-structures/src/slim_slice.rs:94
↓ 1 callers
Function
formatChatError
(err: ChatError)
templates/llm-chat-ts/spacetimedb/src/llm.ts:132
↓ 1 callers
Function
formatCountdown
(expiresAt: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260105-180000/client/src/App.tsx:242
↓ 1 callers
Function
formatCountdownSeconds
(nowMicros: bigint, targetMicros: bigint)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:33
↓ 1 callers
Function
formatDate
(timestamp: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-162918/client/src/components/MessageItem.tsx:56
↓ 1 callers
Function
formatDateTime
(timestamp: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-162918/client/src/components/EditHistoryModal.tsx:18
↓ 1 callers
Function
formatDuration
(milliseconds: number)
templates/hangman-react-ts/src/App.tsx:15
↓ 1 callers
Function
formatLastActive
(timestamp: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-162918/client/src/components/MembersPanel.tsx:67
↓ 1 callers
Function
formatLastActive
(date: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/client/src/App.tsx:756
↓ 1 callers
Function
formatRelativeTime
(timestamp: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260105-180000/client/src/App.tsx:229
↓ 1 callers
Function
formatScheduledTime
(scheduleAt: { tag: string; value: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-162918/client/src/components/ScheduledMessagesPanel.tsx:20
↓ 1 callers
Function
formatTime
(timestamp: { microsSinceUnixEpoch: bigint })
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-162918/client/src/components/MessageItem.tsx:51
↓ 1 callers
Function
formatValue
(v: Value)
crates/bindings-typescript/src/lib/filter.ts:102
↓ 1 callers
Method
format_access
(&self, access: TableAccess)
crates/schema/src/auto_migrate/termcolor_formatter.rs:146
↓ 1 callers
Method
format_add_columns
(&mut self, nc: &NewColumns)
crates/schema/src/auto_migrate/termcolor_formatter.rs:397
↓ 1 callers
Method
format_add_table
(&mut self, table: &TableInfo)
crates/schema/src/auto_migrate/termcolor_formatter.rs:168
↓ 1 callers
Method
format_change_access
(&mut self, a: &AccessChangeInfo)
crates/schema/src/auto_migrate/termcolor_formatter.rs:315
↓ 1 callers
Method
format_change_columns
(&mut self, cs: &ColumnChanges)
crates/schema/src/auto_migrate/termcolor_formatter.rs:366
↓ 1 callers
Method
format_change_primary_key
( &mut self, table_name: &str, old_pk: Option<ColId>, new_pk: Option<ColId>,
crates/schema/src/auto_migrate/termcolor_formatter.rs:328
↓ 1 callers
Method
format_constraint
(&mut self, c: &ConstraintInfo, action: Action)
crates/schema/src/auto_migrate/termcolor_formatter.rs:284
↓ 1 callers
Method
format_disconnect_warning
(&mut self)
crates/schema/src/auto_migrate/termcolor_formatter.rs:420
↓ 1 callers
Method
format_event_table_reschema
(&mut self, table_name: &Identifier)
crates/schema/src/auto_migrate/termcolor_formatter.rs:430
↓ 1 callers
Method
format_files
(&self, project_dir: &Path, generated_files: BTreeSet<PathBuf>)
crates/cli/src/subcommands/generate.rs:718
↓ 1 callers
Method
format_header
(&mut self)
crates/schema/src/auto_migrate/termcolor_formatter.rs:160
↓ 1 callers
Function
format_ident
Turn ("basics","t_005_update") into "basics_t_005_update" - lowercase - non [a-z0-9_] → '_' - if first char is digit, prefix '_'
tools/xtask-llm-benchmark/build.rs:145
↓ 1 callers
Function
format_language_label
(lang: Option<&str>)
crates/cli/src/subcommands/init.rs:945
↓ 1 callers
Function
format_log_record
( out: &mut W, record: &LogRecord<'_>, prefix: Option<&str>, )
crates/cli/src/subcommands/dev.rs:1344
↓ 1 callers
Function
format_output_json_query_rows
Format initial v3 subscription rows using the CLI's existing JSON output shape.
crates/cli/src/subcommands/subscribe.rs:677
↓ 1 callers
Function
format_output_json_transaction_update
Format a v3 transaction update using the CLI's existing JSON output shape.
crates/cli/src/subcommands/subscribe.rs:683
↓ 1 callers
Method
format_remove_table
(&mut self, table_name: &Identifier)
crates/schema/src/auto_migrate/termcolor_formatter.rs:234
↓ 1 callers
Function
format_step
( f: &mut F, step: &AutoMigrateStep, plan: &super::AutoMigratePlan, )
crates/schema/src/auto_migrate/formatter.rs:28
↓ 1 callers
Method
format_type_name
(&self, ty: &AlgebraicType)
crates/schema/src/auto_migrate/termcolor_formatter.rs:137
↓ 1 callers
Method
found
(self)
crates/cli/src/util.rs:114
↓ 1 callers
Method
frames
(&self)
crates/core/src/database_logger.rs:271
↓ 1 callers
Method
free_blob
(&self, offset: PageOffset, blob_store: &mut dyn BlobStore)
crates/table/src/page.rs:905
↓ 1 callers
Method
free_bytes_source
(&mut self, id: BytesSourceId)
crates/core/src/host/wasmtime/wasm_instance_env.rs:268
↓ 1 callers
Method
free_granule
(&mut self, offset: PageOffset)
crates/table/src/page.rs:867
↓ 1 callers
Method
free_object
Frees an entire var-len linked-list object. SAFETY: `var_len_obj.first_granule` must point to a valid [`VarLenGranule`] or be NULL.
crates/table/src/page.rs:966
↓ 1 callers
Method
fromString
* Parse a connection ID from a hexadecimal string.
crates/bindings-typescript/src/lib/connection_id.ts:90
↓ 1 callers
Method
fromSystemTables
If there is a connection id, look up the JWT payload from the system tables.
crates/bindings-typescript/src/server/runtime.ts:191
↓ 1 callers
Function
from_hex_pad
Converts a hexadecimal string reference to a byte array. This function takes a reference to a hexadecimal string and attempts to convert it into a by
crates/lib/src/lib.rs:315
↓ 1 callers
Function
from_json_seed
(s: &'de str, seed: T)
crates/core/src/host/mod.rs:154
↓ 1 callers
Function
from_json_seed
( s: &'de str, seed: T, )
crates/cli/src/api.rs:130
↓ 1 callers
Function
full_path
( paths: &serde_json::Map<String, Value>, index: &serde_json::Map<String, Value>, id: &str, cr
tools/xtask-llm-benchmark/src/context/combine.rs:209
↓ 1 callers
Method
funcall_start
Returns the start time of the most recent reducer or procedure to be run in this environment.
crates/core/src/host/wasmtime/wasm_instance_env.rs:350
↓ 1 callers
Method
function_name
(&self)
crates/core/src/host/scheduler.rs:301
↓ 1 callers
Method
gather
(criterion_dir: P)
crates/bench/src/bin/summarize.rs:219
↓ 1 callers
Function
gather_benchmarks
(iai_callgrind_dir: &Path)
crates/bench/src/bin/summarize.rs:409
↓ 1 callers
Method
gather_metrics
(&self)
crates/client-api/src/routes/database.rs:1745
↓ 1 callers
Function
gemini_ctx_limit_tokens
Return Gemini's context window (in tokens) for a given model. - Honors env override `GEMINI_CTX_LIMIT_TOKENS`. - Provides per-model fallbacks with con
tools/xtask-llm-benchmark/src/llm/segmentation.rs:123
↓ 1 callers
Function
gen_cols
(ty_len: usize)
crates/table/src/table_index/mod.rs:2620
↓ 1 callers
Function
gen_mutations
(pv: ProductValue)
crates/commitlog/src/payload/txdata.rs:632
↓ 1 callers
Function
gen_ptr
(rng: RngMut<'_>)
crates/table/benches/pointer_map.rs:19
↓ 1 callers
Function
gen_row_hash
(rng: RngMut<'_>, max_range: u64)
crates/table/benches/pointer_map.rs:25
↓ 1 callers
Function
generate
(data: Test)
crates/sqltest/build_standard.py:111
↓ 1 callers
Method
generate
(&self, route: &ModelRoute, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/provider.rs:56
↓ 1 callers
Function
generateCombinedSummary
( summary: Summary, results: GradeResult[] )
tools/llm-oneshot/scripts/summarize-grades.ts:292
↓ 1 callers
Function
generateFloat64
From the `pure-rand` README
crates/bindings-typescript/src/server/rng.ts:75
↓ 1 callers
Function
generateTemplateReadmes
()
tools/templates/generate-template-readmes.ts:173
↓ 1 callers
Function
generateToken
(userId: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/server/src/index.ts:46
↓ 1 callers
Function
generateToken
(ctx: any)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1722
↓ 1 callers
Function
generate_array_value
Generates an array value with elements typed at `ty`.
crates/sats/src/proptest.rs:190
↓ 1 callers
Function
generate_bindings
Run `spacetime generate` to generate client bindings into the `client_project`. `language` should be a string suitable for the `--lang` argument to `
crates/testing/src/sdk.rs:247
↓ 1 callers
Function
generate_build_cs_content
(module_name: &str)
crates/codegen/src/unrealcpp.rs:7001
↓ 1 callers
Function
generate_cli_docs
TODO: use clap_markdown instead of this custom implementation in the future
tools/ci/src/ci_docs.rs:6
↓ 1 callers
Function
generate_client_implementation
( output: &mut UnrealCppAutogen, module: &ModuleDef, visibility: CodegenVisibility, module_pre
crates/codegen/src/unrealcpp.rs:4159
↓ 1 callers
Function
generate_context_structs
( output: &mut UnrealCppAutogen, module: &ModuleDef, visibility: CodegenVisibility, module_pre
crates/codegen/src/unrealcpp.rs:1384
↓ 1 callers
Function
generate_db_connection_builder_class
(output: &mut UnrealCppAutogen, module_prefix: &str, api_macro: &str)
crates/codegen/src/unrealcpp.rs:3937
↓ 1 callers
Function
generate_db_connection_class
( output: &mut UnrealCppAutogen, module_prefix: &str, module_name: &str, _module: &ModuleDef,
crates/codegen/src/unrealcpp.rs:4006
↓ 1 callers
Function
generate_delegates
(output: &mut UnrealCppAutogen, module_prefix: &str)
crates/codegen/src/unrealcpp.rs:1357
↓ 1 callers
Method
generate_entry_specific_cli_args
Get all generate-entry-specific keys that were provided via CLI.
crates/cli/src/spacetime_config.rs:509
↓ 1 callers
Method
generate_entry_specific_cli_flags
Get user-facing CLI flags for generate-entry-specific options provided via CLI.
crates/cli/src/spacetime_config.rs:518
↓ 1 callers
Function
generate_explicit_names_impl
( table_name: &str, tablehandle_ident: &Ident, explicit_table_name: &Option<String>, indexes:
crates/bindings-macro/src/table.rs:1338
↓ 1 callers
Function
generate_many_module_code
Generate module code with many reducers and procedures
crates/smoketests/tests/smoketests/call.rs:167
↓ 1 callers
Function
generate_markdown
(cmd: &mut Command, heading_level: usize)
tools/ci/src/ci_docs.rs:30
← previous
next →
8,601–8,700 of 27,764, ranked by callers