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
convert_to_large
(&mut self, list: SmallVec<[(K, V); N]>)
crates/data-structures/src/small_map.rs:104
↓ 1 callers
Method
copy
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/algebraic_type.h:337
↓ 1 callers
Method
copy
crates/bindings-cpp/include/spacetimedb/bsatn/algebraic_type.h:337
↓ 1 callers
Method
copy_bflatn_to_bsatn
Copies the bytes at `src[self.bflatn_offset .. self.bflatn_offset + self.length]` into `dst[self.bsatn_offset .. self.bsatn_offset + self.length]`. #
crates/table/src/static_layout.rs:201
↓ 1 callers
Method
copy_bsatn_to_bflatn
Copies the bytes at `src[self.bsatn_offset .. self.bsatn_offset + self.length]` into `dst[self.bflatn_offset .. self.bflatn_offset + self.length]`. #
crates/table/src/static_layout.rs:231
↓ 1 callers
Method
copy_filter
Materialize a view of rows in `self` for which the `filter` returns `true`. # Safety - The `var_len_visitor` will visit the same set of `VarLenRef`
crates/table/src/pages.rs:375
↓ 1 callers
Function
copy_if_changed
(src: &Path, dst: &Path)
crates/cli/build.rs:564
↓ 1 callers
Function
copy_overlay_dir
(src: &Path, dst: &Path)
tools/regen/src/csharp.rs:148
↓ 1 callers
Method
copy_row_into
Copies the row at `row_offset` from `self` into `dst` or returns `false` otherwise if `dst` has no space for the row. # Safety - `row_offset` offset
crates/table/src/page.rs:1707
↓ 1 callers
Function
copy_tree_with_templates
(src: &Path, dst: &Path)
tools/xtask-llm-benchmark/src/bench/templates.rs:71
↓ 1 callers
Method
copy_var_len_into
Copy a var-len object `src_vlr` from `self` into `dst_var`, and return the `VarLenRef` to the copy in `dst_var`. If the `src_vlr` is empty, i.e., has
crates/table/src/page.rs:1777
↓ 1 callers
Method
count
()
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:11
↓ 1 callers
Function
countLoc
(backend)
tools/llm-sequential-upgrade/generate-report.mjs:115
↓ 1 callers
Method
cpp_field_name
(&self, field_name: &'a str)
crates/codegen/src/cpp.rs:22
↓ 1 callers
Function
cpp_ty_fmt_blueprint_impl
( module_prefix: &'a str, module: &'a ModuleDef, ty: &'a AlgebraicTypeUse, module_name: &'a st
crates/codegen/src/unrealcpp.rs:6688
↓ 1 callers
Function
cpp_ty_fmt_impl
( module_prefix: &'a str, module: &'a ModuleDef, ty: &'a AlgebraicTypeUse, module_name: &'a st
crates/codegen/src/unrealcpp.rs:6707
↓ 1 callers
Method
create
()
crates/durability/tests/io/fallocate.rs:205
↓ 1 callers
Function
createRealtime
( io: Server, db: PostgresJsDatabase<Record<string, never>> )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/realtime.ts:8
↓ 1 callers
Function
createRoom
(name: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:67
↓ 1 callers
Function
createRowExpr
( tableDef: TableDef )
crates/bindings-typescript/src/lib/query.ts:338
↓ 1 callers
Function
createTableRefFromDef
( tableDef: TableDef )
crates/bindings-typescript/src/lib/query.ts:319
↓ 1 callers
Function
createWorker
()
templates/keynote-2/src/connectors/bun.ts:77
↓ 1 callers
Method
create_constraint
Create a constraint. Requires: - `constraint.constraint_name` must not be used for any other database entity. - `constraint.constraint_id == Constrai
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1891
↓ 1 callers
Method
create_custom
(&self, path: &Path)
crates/paths/src/cli.rs:80
↓ 1 callers
Method
create_extra_bytes_source
(&mut self, bytes: bytes::Bytes)
crates/core/src/host/wasmtime/wasm_instance_env.rs:264
↓ 1 callers
Function
create_game_data
()
crates/core/src/sql/execute.rs:275
↓ 1 callers
Function
create_identity_table
(table_name: &str)
crates/core/src/sql/execute.rs:368
↓ 1 callers
Function
create_module_def_v10
(build_module: impl Fn(&mut RawModuleDefV10Builder))
crates/schema/src/auto_migrate.rs:1196
↓ 1 callers
Function
create_name
Try to register `name` for database `database_identity`.
crates/client-api/src/routes/database.rs:1159
↓ 1 callers
Function
create_nuget_config
Create a NuGet config.
crates/smoketests/tests/smoketests/quickstart.rs:106
↓ 1 callers
Method
create_offset_index
(&self, offset: TxOffset, cap: u64)
crates/commitlog/src/repo/mod.rs:195
↓ 1 callers
Method
create_offset_index
(&self, offset: TxOffset, cap: u64)
crates/commitlog/src/repo/fs.rs:362
↓ 1 callers
Method
create_procedure_instance
(&self)
crates/core/src/host/v8/mod.rs:307
↓ 1 callers
Method
create_row_level_security
Create a row level security policy. Requires: - `row_level_security_schema.table_id != TableId::SENTINEL` - `row_level_security_schema.sql` must be u
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1984
↓ 1 callers
Method
create_segment
(&self, offset: u64, header: segment::Header)
crates/commitlog/src/repo/mod.rs:171
↓ 1 callers
Method
create_sequence
(&self, tx: &mut MutTx, sequence_schema: SequenceSchema)
crates/engine/src/relational_db.rs:1511
↓ 1 callers
Method
create_snapshot
Capture a snapshot of the state of the database at `tx_offset`, where `tables` is the committed state of all the tables in the database, and `blobs` i
crates/snapshot/src/lib.rs:781
↓ 1 callers
Method
create_table_and_update_seq
Recreate a table and restore sequence runtime state after a destructive schema change (for example `add_columns_to_table`). `create_table(...)` gener
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1377
↓ 1 callers
Function
create_table_footprint
(db: &RelationalDB)
crates/bench/benches/subscription.rs:39
↓ 1 callers
Method
create_table_for_test_mix_indexes
( &self, name: &str, schema: &[(&'static str, AlgebraicType)], idx_cols_single
crates/engine/src/relational_db.rs:1233
↓ 1 callers
Function
create_table_from_view_def
Creates the table for `view_def` in `stdb`.
crates/core/src/host/module_host.rs:553
↓ 1 callers
Method
create_table_internal
(&mut self, schema: Arc<TableSchema>)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:901
↓ 1 callers
Function
create_table_location
(db: &RelationalDB)
crates/bench/benches/subscription.rs:25
↓ 1 callers
Function
create_table_with_unique_index
(db: &RelationalDB)
crates/core/src/host/instance_env.rs:1457
↓ 1 callers
Method
current
Return the current linger window.
crates/core/src/util/adaptive_recv.rs:137
↓ 1 callers
Method
current_segment_header
(&self)
crates/commitlog/src/commitlog.rs:850
↓ 1 callers
Function
custom_db_benchmarks
(m: &SpacetimeModule<L>, c: &mut Criterion)
crates/bench/benches/special.rs:62
↓ 1 callers
Function
custom_module_benchmarks
(m: &SpacetimeModule<L>, c: &mut Criterion)
crates/bench/benches/special.rs:44
↓ 1 callers
Method
data_dir
(&self)
crates/paths/src/lib.rs:196
↓ 1 callers
Method
data_dir
(&self)
crates/standalone/src/lib.rs:115
↓ 1 callers
Method
data_dir_fixture
Starts the local server from a copy of a persisted standalone data directory fixture. The fixture directory is copied to a temporary directory before
crates/smoketests/src/lib.rs:766
↓ 1 callers
Method
database
(mut self, database: impl Into<String>)
crates/smoketests/src/lib.rs:666
↓ 1 callers
Method
database_identity
(&self)
crates/datastore/src/execution_context.rs:182
↓ 1 callers
Method
database_identity
(&self)
crates/standalone/src/control_db.rs:640
↓ 1 callers
Method
database_identity
Read the current module's [`Identity`].
crates/bindings/src/http.rs:136
↓ 1 callers
Method
database_info
(&self)
crates/core/src/host/module_host.rs:3472
↓ 1 callers
Method
datastore_delete_all_by_eq_bsatn
(&self, table_id: TableId, relation: &[u8])
crates/core/src/host/instance_env.rs:540
↓ 1 callers
Function
datastore_delete_by_index_scan_range_bsatn
Module ABI that deletes all rows found in the index identified by `index_id`, according to `prefix`, `rstart`, and `rend` where: - `prefix = buffer[..
crates/core/src/host/v8/syscall/v2.rs:1098
↓ 1 callers
Method
datastore_delete_by_index_scan_range_bsatn
( &self, index_id: IndexId, prefix: &[u8], prefix_elems: ColId, rstart
crates/core/src/host/instance_env.rs:489
↓ 1 callers
Function
datastore_index_scan_point_bsatn
Finds all rows in the index identified by `index_id`, according to the `point. The index itself has a schema/type. Matching defined by first BSATN-de
crates/bindings-sys/src/lib.rs:1255
↓ 1 callers
Function
datastore_index_scan_range_bsatn
Module ABI that finds all rows in the index identified by `index_id`, according to `prefix`, `rstart`, and `rend` where: - `prefix = buffer[...prefix_
crates/core/src/host/v8/syscall/v2.rs:715
↓ 1 callers
Method
datastore_table_row_count
(caller: Caller<'_, Self>, table_id: u32, out: WasmPtr<u64>)
crates/core/src/host/wasmtime/wasm_instance_env.rs:592
↓ 1 callers
Method
db
(&self)
templates/chat-console-rs/src/module_bindings/mod.rs:234
↓ 1 callers
Method
db
(&self)
templates/basic-rs/src/module_bindings/mod.rs:213
↓ 1 callers
Method
db
(&self)
templates/basic-cpp/src/module_bindings/mod.rs:213
↓ 1 callers
Function
dbNameOrPanic
()
crates/bindings-typescript/case-conversion-test-client/src/index.ts:27
↓ 1 callers
Function
db_name_or_panic
()
sdks/rust/tests/case-conversion-client/src/main.rs:13
↓ 1 callers
Method
deallocate
Mark the executor at `id` as no longer in use, free internal state which tracks it, and move other executors to different cores as necessary to mainta
crates/core/src/util/jobs.rs:160
↓ 1 callers
Function
debug_llm
()
tools/xtask-llm-benchmark/src/bench/utils.rs:88
↓ 1 callers
Method
debug_log
(&self, body: impl FnOnce(&mut File) -> std::result::Result<(), std::io::Error>)
sdks/rust/src/client_cache.rs:197
↓ 1 callers
Function
debug_log_csharp_packages
Best-effort debug logging for C# package resolution. Prints: - `dotnet restore` output for the server project (so assets are present) - `dotnet list
crates/smoketests/tests/smoketests/templates.rs:298
↓ 1 callers
Function
debug_properties
(a: &T, b: &T, a_cmp: &U, b_cmp: &U)
crates/data-structures/src/slim_slice.rs:1607
↓ 1 callers
Method
declineInvite
(inviteId: number)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:154
↓ 1 callers
Method
decode
* @argument {any} input * @argument {any} options
crates/core/src/host/v8/builtins/text_encoding.js:55
↓ 1 callers
Method
decode
(values: &mut I)
crates/client-api/src/util.rs:49
↓ 1 callers
Method
decode
(_values: &mut I)
crates/client-api/src/auth.rs:496
↓ 1 callers
Method
decode
Read [`Self::LEN`] bytes from `reader` and interpret them as the "header" of a [`Commit`]. Returns `None` if: - The reader cannot provide exactly [`
crates/commitlog/src/commit.rs:46
↓ 1 callers
Function
decode_server_payload
Decode one uncompressed v3 websocket payload into queued v2 server messages. The server prefixes each binary payload with a compression tag. This CLI
crates/cli/src/subcommands/subscribe.rs:642
↓ 1 callers
Function
decode_u32
(mut read: R)
crates/commitlog/src/commit.rs:388
↓ 1 callers
Function
decompress_server_message
Decompresses a `ServerMessage` encoded in BSATN into the raw BSATN for further deserialization.
sdks/rust/src/compression.rs:21
↓ 1 callers
Function
deepseek_ctx_limit_tokens
(model: &str)
tools/xtask-llm-benchmark/src/llm/segmentation.rs:105
↓ 1 callers
Function
def_gc_trigger
Default heap fill fraction that triggers a GC.
crates/core/src/config.rs:344
↓ 1 callers
Function
def_req_interval
Default number of requests between V8 heap checks.
crates/core/src/config.rs:334
↓ 1 callers
Function
def_retire
Default heap fill fraction that retires the worker after a GC.
crates/core/src/config.rs:349
↓ 1 callers
Function
def_time_interval
Default wall-clock interval between V8 heap checks.
crates/core/src/config.rs:339
↓ 1 callers
Function
defaultModel
(provider: string)
templates/llm-chat-ts/src/App.tsx:41
↓ 1 callers
Function
defaultRouteFromFile
(namespaceRoot, fullPath)
docs/scripts/rewrite-doc-links.mjs:67
↓ 1 callers
Function
defaultState
()
crates/bindings-typescript/src/sdk/connection_manager.ts:78
↓ 1 callers
Function
defaultState
()
crates/bindings-typescript/tests/connection_manager.test.ts:38
↓ 1 callers
Function
default_auth_environment
Create a new AuthEnvironment using the default caching validator.
crates/client-api/src/auth.rs:245
↓ 1 callers
Function
default_client
( offset_supply: impl DurableOffsetSupply + 'static, )
crates/core/src/client/client_connection.rs:1346
↓ 1 callers
Function
default_headroom
(vendor: Vendor)
tools/xtask-llm-benchmark/src/llm/segmentation.rs:207
↓ 1 callers
Method
default_host
(&self)
crates/cli/src/config.rs:261
↓ 1 callers
Function
default_out_dir_for_language
(lang: Language)
crates/cli/src/subcommands/generate.rs:423
↓ 1 callers
Method
default_protocol
(&self)
crates/cli/src/config.rs:271
↓ 1 callers
Function
default_row_count_fn
(db: Identity)
crates/engine/src/relational_db.rs:1803
↓ 1 callers
Method
default_server_fingerprint
Return the ECDSA public key in PEM format for the default server. Returns an `Err` if there is no default server configuration. Returns `None` if the
crates/cli/src/config.rs:332
↓ 1 callers
Method
defineHttpHandler
(name: string)
crates/bindings-typescript/src/server/schema.ts:97
↓ 1 callers
Function
define_body_for_product
e.g. ```ts export const Point = __t.object('Point', { x: __t.f32(), y: __t.f32(), fooBar: __t.string(), }); export type Point = __Infer<typeof Point>;
crates/codegen/src/typescript.rs:622
↓ 1 callers
Function
define_body_for_reducer
e.g. ```ts export default { x: __t.f32(), y: __t.f32(), fooBar: __t.string(), }; ```
crates/codegen/src/typescript.rs:602
← previous
next →
8,101–8,200 of 27,764, ranked by callers