MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersFunctionauto_migrate_database
Automatically migrate a database.
crates/engine/src/update.rs:174
↓ 1 callersFunctionauto_migrate_indexes
( plan: &mut AutoMigratePlan<'_>, new_tables: &HashSet<&Identifier>, removed_tables: &HashSet<&Ide
crates/schema/src/auto_migrate.rs:1031
↓ 1 callersFunctionauto_migrate_row_level_security
Because we can refer to many tables and fields on the row level-security query, we need to remove all of them, then add the new ones, instead of tryin
crates/schema/src/auto_migrate.rs:1152
↓ 1 callersFunctionauto_migrate_sequences
( plan: &mut AutoMigratePlan, new_tables: &HashSet<&Identifier>, removed_tables: &HashSet<&Identif
crates/schema/src/auto_migrate.rs:1072
↓ 1 callersFunctionauto_migrate_table
(plan: &mut AutoMigratePlan<'def>, old: &'def TableDef, new: &'def TableDef)
crates/schema/src/auto_migrate.rs:684
↓ 1 callersFunctionauto_migrate_tables
(plan: &mut AutoMigratePlan<'_>)
crates/schema/src/auto_migrate.rs:665
↓ 1 callersFunctionauto_migrate_view
(plan: &mut AutoMigratePlan<'def>, old: &'def ViewDef, new: &'def ViewDef)
crates/schema/src/auto_migrate.rs:578
↓ 1 callersFunctionauto_migrate_views
(plan: &mut AutoMigratePlan<'_>)
crates/schema/src/auto_migrate.rs:557
↓ 1 callersFunctionautogen_cpp_enum
Helper function to generate a C++ enum definition
crates/codegen/src/unrealcpp.rs:6336
↓ 1 callersFunctionautogen_cpp_struct
( module_prefix: &str, module: &ModuleDef, name: &str, // Changed to &str product_type: &Produ
crates/codegen/src/unrealcpp.rs:6053
↓ 1 callersFunctionautogen_cpp_sum
( module_prefix: &str, module: &ModuleDef, name: &str, sum_type: &SumTypeDef, api_macro: &
crates/codegen/src/unrealcpp.rs:6365
↓ 1 callersFunctionautogen_csharp_plain_enum
(enum_type_name: String, enum_type: &PlainEnumTypeDef, namespace: &str)
crates/codegen/src/csharp.rs:1419
↓ 1 callersFunctionautogen_csharp_proc_return
( module: &ModuleDef, output: &mut CodeIndenter<String>, name: String, return_type: &Algebraic
crates/codegen/src/csharp.rs:1520
↓ 1 callersFunctionautogen_csharp_sum
(module: &ModuleDef, sum_type_name: String, sum_type: &SumTypeDef, namespace: &str)
crates/codegen/src/csharp.rs:1381
↓ 1 callersFunctionautogen_csharp_tuple
(module: &ModuleDef, name: String, tuple: &ProductTypeDef, namespace: &str)
crates/codegen/src/csharp.rs:1434
↓ 1 callersFunctionavailable_releases
(client: &reqwest::Client)
crates/update/src/cli/install.rs:243
↓ 1 callersMethodawait_initial_update
Wait for the initial subscription result and optionally print it.
crates/cli/src/subcommands/subscribe.rs:119
↓ 1 callersFunctionawait_initial_update_v1
Await the initial v1 [`ws_v1::ServerMessage::InitialSubscription`]. If `module_def` is `Some`, print a JSON representation to stdout.
crates/cli/src/subcommands/subscribe.rs:453
↓ 1 callersFunctionawait_initial_update_v3
Await the initial [`ws_v2::ServerMessage::SubscribeApplied`]. If `module_def` is `Some`, print a JSON representation to stdout.
crates/cli/src/subcommands/subscribe.rs:494
↓ 1 callersMethodbackcompat_constraints_iter
Iterate over the constraints on sets of columns on this table.
crates/schema/src/schema.rs:489
↓ 1 callersFunctionbanner
()
crates/standalone/src/subcommands/start.rs:459
↓ 1 callersFunctionbar
(_ctx: &ViewContext)
crates/smoketests/modules/views-callable/src/lib.rs:12
↓ 1 callersFunctionbar_chart
(data: list)
crates/bench/hyper_cmp.py:30
↓ 1 callersFunctionbase_for_mode
Get the base directory for a given mode (used for stripping prefixes to get relative paths).
tools/xtask-llm-benchmark/src/context/combine.rs:12
↓ 1 callersFunctionbase_for_mode_hashing
--- stable base for stripping prefixes ---
tools/xtask-llm-benchmark/src/context/hashing.rs:50
↓ 1 callersFunctionbegin
(id: number)
templates/keynote-2/src/core/collision_tracker.ts:14
↓ 1 callersFunctionbeginEdit
(msg: Message)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:281
↓ 1 callersMethodbegin_mut_tx
Begins a mutable transaction under the given `isolation_level` and `workload`. While this transaction is pending, no other read-only mutable transac
crates/datastore/src/locking_tx_datastore/datastore.rs:901
↓ 1 callersMethodbegin_tx
Begins a read-only transaction under the given `workload`. While this transaction is pending, other read-only transactions may be started, but new mu
crates/datastore/src/locking_tx_datastore/datastore.rs:345
↓ 1 callersFunctionbelongs_to_crate
(paths: &serde_json::Map<String, Value>, id: &str, crate_name: &str)
tools/xtask-llm-benchmark/src/context/combine.rs:200
↓ 1 callersFunctionbench_call
(module: &ModuleHandle, call: &str, count: &u32)
crates/testing/tests/standalone_integration_test.rs:359
↓ 1 callersFunctionbench_index_delete
( mut make_row: impl FnMut(u64) -> R, group: Group<'_, '_>, name: &str, num_ro
crates/table/benches/page_manager.rs:966
↓ 1 callersFunctionbench_index_insert
( mut make_row: impl FnMut(u64) -> R, group: Group<'_, '_>, name: &str, num_ro
crates/table/benches/page_manager.rs:842
↓ 1 callersFunctionbench_index_seek
( mut make_row: impl FnMut(u64) -> R, group: Group<'_, '_>, name: &str, num_ro
crates/table/benches/page_manager.rs:897
↓ 1 callersFunctionbench_route_concurrency
()
tools/xtask-llm-benchmark/src/bench/utils.rs:121
↓ 1 callersMethodbenchmark_name
(&self)
crates/bench/src/bin/summarize.rs:311
↓ 1 callersMethodbigIntToBytes
(value: bigint)
crates/bindings-typescript/src/lib/uuid.ts:269
↓ 1 callersMethodbits
(&self)
crates/table/src/fixed_bit_set.rs:233
↓ 1 callersMethodbits
Returns the bits representing the constraints.
crates/primitives/src/attr.rs:227
↓ 1 callersMethodblob_store
Returns the blob store that any [`crate::blob_store::BlobHash`]es within the row refer to.
crates/table/src/table.rs:1910
↓ 1 callersMethodblob_store_bytes
Return the number of bytes in the blob store to which this object holds a reference. Used to compute the table's `blob_store_bytes` when reconstructi
crates/table/src/table.rs:1958
↓ 1 callersMethodblocking_recv
(&mut self)
crates/core/src/client/client_connection.rs:717
↓ 1 callersFunctionblueprint_predicate_kind
(ty: &AlgebraicTypeUse)
crates/codegen/src/unrealcpp.rs:3091
↓ 1 callersFunctionblueprint_predicate_kind_spec
( module_prefix: &str, module: &ModuleDef, module_name: &str, kind: BlueprintP
crates/codegen/src/unrealcpp.rs:3167
↓ 1 callersFunctionblueprint_predicate_kind_supports_ordering
(kind: BlueprintPredicateKind)
crates/codegen/src/unrealcpp.rs:3156
↓ 1 callersFunctionblueprint_predicate_kind_ty
(kind: BlueprintPredicateKind)
crates/codegen/src/unrealcpp.rs:3140
↓ 1 callersMethodbootstrap_system_tables
Extremely delicate function to bootstrap the system tables. Don't update this unless you know what you're doing.
crates/datastore/src/locking_tx_datastore/committed_state.rs:204
↓ 1 callersMethodborrowed
(&self)
crates/table/src/table_index/mod.rs:735
↓ 1 callersMethodbounds_from_algbraic_value
Derives bounds from `prefix` and `bounds` for a ranged index scan on `self`.
crates/table/src/table_index/mod.rs:1927
↓ 1 callersFunctionbrotli_compress
(bytes: &[u8], out: &mut impl io::Write)
crates/core/src/subscription/websocket_building.rs:213
↓ 1 callersFunctionbrotli_decompress
(bytes: &[u8])
sdks/rust/src/compression.rs:7
↓ 1 callersMethodbsatn_deserialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/schedule_at_impl.h:28
↓ 1 callersMethodbsatn_deserialize
crates/bindings-cpp/include/spacetimedb/bsatn/schedule_at_impl.h:28
↓ 1 callersMethodbsatn_rlb_pool
(&self)
crates/standalone/src/lib.rs:123
↓ 1 callersMethodbsatn_serialize
ScheduleAt BSATN implementation
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/schedule_at_impl.h:13
↓ 1 callersMethodbsatn_serialize
BSATN serialization (only serialization needed for Internal types)
crates/bindings-cpp/src/internal/AlgebraicType.cpp:100
↓ 1 callersMethodbsatn_serialize
ScheduleAt BSATN implementation
crates/bindings-cpp/include/spacetimedb/bsatn/schedule_at_impl.h:13
↓ 1 callersFunctionbudget_to_duration
Converts a [`ReducerBudget`] to a [`Duration`].
crates/core/src/host/v8/budget.rs:111
↓ 1 callersMethodbuggify
(&self)
crates/runtime/src/sim/rng.rs:108
↓ 1 callersMethodbuild
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/table.h:123
↓ 1 callersFunctionbuildHistory
(ctx: ModuleCtx, chatId: bigint, systemPrompt: string | undefined)
templates/llm-chat-ts/spacetimedb/src/index.ts:112
↓ 1 callersFunctionbuildLookupCandidates
(rawPath, knownVersionNames)
docs/scripts/rewrite-doc-links.mjs:81
↓ 1 callersMethodbuildRequest
(req: ChatRequest)
templates/llm-chat-ts/spacetimedb/src/llm.ts:35
↓ 1 callersFunctionbuild_analysis_prompt_from_json
(lang: &str, mode: &str, model: &str, failures: &[&serde_json::Value])
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:429
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:8
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/event-table-client/src/test_handlers.rs:34
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:22
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/view-pk-client/src/test_handlers.rs:9
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/view-client/src/test_handlers.rs:21
↓ 1 callersFunctionbuild_and_run
(builder: DbConnectionBuilder<RemoteModule>)
sdks/rust/tests/procedure-client/src/test_handlers.rs:23
↓ 1 callersFunctionbuild_anthropic_messages
Anthropic Messages API: (system, messages) with **one** user message containing block-segmented content.
tools/xtask-llm-benchmark/src/llm/segmentation.rs:80
↓ 1 callersFunctionbuild_client
(con: &Connection)
crates/cli/src/api.rs:36
↓ 1 callersFunctionbuild_context_from_rustdoc_json
()
tools/xtask-llm-benchmark/src/context/combine.rs:116
↓ 1 callersFunctionbuild_cpp
(project_path: &Path, build_debug: bool)
crates/cli/src/tasks/cpp.rs:34
↓ 1 callersFunctionbuild_csharp
(project_path: &Path, build_debug: bool)
crates/cli/src/tasks/csharp.rs:11
↓ 1 callersFunctionbuild_generate_entry
( module_path: Option<&Path>, language: Option<Language>, out_dir: Option<&Path>, )
crates/cli/src/subcommands/generate.rs:438
↓ 1 callersFunctionbuild_gitignore_matcher
Build a gitignore matcher that loads rules from: - the global gitignore (via `gitconfig_excludes_path`) - `project_dir/.gitignore` (if different from
crates/cli/src/subcommands/dev.rs:1458
↓ 1 callersMethodbuild_indexes
(&mut self)
crates/datastore/src/locking_tx_datastore/replay.rs:656
↓ 1 callersFunctionbuild_javascript
(project_path: &Path, build_debug: bool)
crates/cli/src/tasks/javascript.rs:44
↓ 1 callersFunctionbuild_key
(lang: Lang, selectors: Option<&[String]>)
tools/xtask-llm-benchmark/src/bench/runner.rs:40
↓ 1 callersMethodbuild_missing_tables
After replaying all old transactions, tables which have rows will have been created in memory, but tables with no rows will not have been created. Thi
crates/datastore/src/locking_tx_datastore/replay.rs:736
↓ 1 callersMethodbuild_node
(&self, config: NodeConfig)
crates/runtime/src/sim/executor/mod.rs:258
↓ 1 callersFunctionbuild_openai_responses_input
OpenAI Responses API: returns Vec<json> for "input", with a stable prefix first.
tools/xtask-llm-benchmark/src/llm/segmentation.rs:47
↓ 1 callersFunctionbuild_precompiled_modules
()
tools/ci/src/smoketest.rs:97
↓ 1 callersFunctionbuild_prompt
(lang: &str, mode: &str, model_name: &str, bench_root: &Path, failures: &[&RunOutcome])
tools/xtask-llm-benchmark/src/bench/analysis.rs:106
↓ 1 callersFunctionbuild_rust
( project_path: &Path, features: Option<&std::ffi::OsString>, lint_dir: Option<&Path>, build_d
crates/cli/src/tasks/rust.rs:26
↓ 1 callersMethodbuild_segmented
(&self, mode: &str, context: &str)
tools/xtask-llm-benchmark/src/llm/prompt.rs:23
↓ 1 callersMethodbuild_sequence_state
Builds the in-memory state of sequences from `st_sequence` system table. The tables store the lasted allocated value, which tells us where to start ge
crates/datastore/src/locking_tx_datastore/committed_state.rs:376
↓ 1 callersMethodbuild_table
Create a table builder. Does not validate that the product_type_ref is valid; this is left to the module validation code.
crates/lib/src/db/raw_def/v10.rs:941
↓ 1 callersMethodbuild_table_with_new_type
Build a new table with a product type. Adds the type to the module.
crates/lib/src/db/raw_def/v10.rs:966
↓ 1 callersMethodbuild_table_with_new_type_for_tests
Build a new table with a product type, for testing. Adds the type to the module.
crates/lib/src/db/raw_def/v9.rs:662
↓ 1 callersFunctionbuild_typescript_sdk
Builds the local TypeScript bindings package.
crates/smoketests/src/lib.rs:375
↓ 1 callersFunctionbuild_view_def
( builder: &mut RawModuleDefV9Builder, name: &str, columns: impl Into<Prod
crates/expr/src/statement.rs:611
↓ 1 callersFunctionbun
(url: string)
templates/keynote-2/src/connectors/bun.ts:3
↓ 1 callersFunctionbyte_position
Select a random position of a byte within a segment. The position shall not fall on any headers (segment or commit), so as to reliably provoke checks
crates/commitlog/src/tests/bitflip.rs:102
↓ 1 callersMethodbytes
()
crates/bindings-typescript/src/server/http_shared.ts:163
↓ 1 callersMethodbytes_sink_write
( BytesSink sink, ReadOnlySpan<byte> buffer, ref uint buffer_len )
crates/bindings-csharp/Runtime/Internal/FFI.cs:301
↓ 1 callersMethodbytes_source_read
( BytesSource source, Span<byte> buffer, ref uint buffer_len )
crates/bindings-csharp/Runtime/Internal/FFI.cs:294
↓ 1 callersMethodbytes_source_remaining_length
(BytesSource source, ref uint len)
crates/bindings-csharp/Runtime/Internal/FFI.cs:381
↓ 1 callersMethodbytes_used_by_blobs
Returns the amount of memory in bytes used by blobs in this `BlobStore`. Duplicate blobs are counted a number of times equal to their refcount. This
crates/table/src/blob_store.rs:114
← previousnext →7,801–7,900 of 27,764, ranked by callers