MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersFunctionmakeReducerResult
( requestId: number, reducerQuerySetUpdate: ReturnType<typeof makeQuerySetUpdate> )
crates/bindings-typescript/tests/db_connection.test.ts:99
↓ 1 callersFunctionmakeTableView
( typespace: Typespace, table: RawTableDefV10 )
crates/bindings-typescript/src/server/runtime.ts:562
↓ 1 callersFunctionmakeTitle
(content: string)
templates/llm-chat-ts/spacetimedb/src/index.ts:99
↓ 1 callersFunctionmakeViewExport
( ctx: SchemaInner, opts: ViewOpts, params: Params, ret: Ret, fn: F )
crates/bindings-typescript/src/server/views.ts:36
↓ 1 callersFunctionmake_config
Helper to build a SpacetimeConfig with additional_fields (database-centric).
crates/cli/src/subcommands/publish.rs:926
↓ 1 callersMethodmake_database_runners
Construct a [`JobCores`] manager suitable for running database WASM code on. ```rust # use spacetimedb::startup::pin_threads; let cores = pin_threads
crates/core/src/startup.rs:444
↓ 1 callersFunctionmake_dataview
Taking a scope and a buffer, return a `v8::Local<'scope, v8::DataView>`.
crates/core/src/host/v8/util.rs:35
↓ 1 callersFunctionmake_prompt_from_task
(spec_file: &str, task_id: &str, lang: Lang)
tools/xtask-llm-benchmark/src/llm/prompt.rs:80
↓ 1 callersFunctionmake_replica_ctx
( module_logs: Option<ModuleLogsDir>, database: Database, replica_id: u64, relational_db: Arc<
crates/core/src/host/host_controller.rs:650
↓ 1 callersFunctionmake_request
( host: Uri, db_name: &str, token: Option<&str>, connection_id: Option<ConnectionId>, para
sdks/rust/src/websocket.rs:229
↓ 1 callersFunctionmanual_migrate_database
Manually migrate a database.
crates/engine/src/update.rs:156
↓ 1 callersFunctionmapEntries
( x: T, f: (key: keyof T, value: T[keyof T]) => U )
crates/bindings-typescript/src/server/errors.ts:106
↓ 1 callersFunctionmap_array_fn
(a: [A; N], f: F)
crates/datastore/src/locking_tx_datastore/datastore.rs:1146
↓ 1 callersFunctionmap_procedure_error
(e: ProcedureCallError, procedure: &str)
crates/client-api/src/routes/database.rs:120
↓ 1 callersFunctionmap_reducer_error
(e: ReducerCallError, reducer: &str)
crates/client-api/src/routes/database.rs:98
↓ 1 callersFunctionmarkRead
( roomId: number, lastReadMessageId: number | null )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:131
↓ 1 callersMethodmark_allowed_cycles
Cycles passing through definitions are allowed. This function is called after all definitions have been processed.
crates/schema/src/type_for_generate.rs:609
↓ 1 callersFunctionmarkdownLinkRewriter
(content, rewriter)
docs/scripts/rewrite-doc-links.mjs:137
↓ 1 callersMethodmarker_type
( &self, vis: &syn::Visibility, tablehandle_ident: &Ident, primary_key_column:
crates/bindings-macro/src/table.rs:638
↓ 1 callersFunctionmaskWord
(answer: string, guessedLetters: string)
templates/hangman-react-ts/spacetimedb/src/index.ts:135
↓ 1 callersFunctionmassToMaxMoveSpeed
(mass: number)
demo/Blackholio/server-ts/src/index.ts:707
↓ 1 callersFunctionmass_to_max_move_speed
demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:202
↓ 1 callersFunctionmass_to_max_move_speed
(mass: i32)
demo/Blackholio/server-rust/src/lib.rs:308
↓ 1 callersMethodmatch_http_route
( &self, method: &spacetimedb_lib::http::Method, path: &str, )
crates/schema/src/def.rs:257
↓ 1 callersFunctionmaterialize_project
( lang: &str, category: &str, task: &str, phase: &str, route_tag: &str, llm_code: &str
tools/xtask-llm-benchmark/src/bench/templates.rs:8
↓ 1 callersMethodmax_age
Sets the `Max-Age` attribute in seconds.
sdks/rust/src/credentials.rs:228
↓ 1 callersFunctionmax_chars
()
tools/xtask-llm-benchmark/src/bench/utils.rs:60
↓ 1 callersMethodmax_rows_in_page
Returns the maximum number of rows the page can hold. Note that this number can be bigger than the value provided in [`Self::new`] due to rounding up
crates/table/src/page.rs:375
↓ 1 callersMethodmaybe_compress_snapshots
(&mut self, latest_snapshot: TxOffset)
crates/engine/src/snapshot.rs:263
↓ 1 callersFunctionmaybe_log_long_running_function
Logs a tracing message if a reducer doesn't finish in a single frame at 60 FPS.
crates/core/src/host/wasm_common/module_host_actor.rs:1690
↓ 1 callersFunctionmaybe_print_update_notice
(config_dir: &Path)
crates/update/src/update_notice.rs:121
↓ 1 callersMethodmaybe_rotate
(&mut self, record_date: NaiveDate)
crates/core/src/database_logger.rs:77
↓ 1 callersMethodmaybe_take_snapshot
(&self, state: Option<&WeakDatabaseState>)
crates/engine/src/snapshot.rs:221
↓ 1 callersFunctionmdxLinkRewriter
(content, rewriter)
docs/scripts/rewrite-doc-links.mjs:147
↓ 1 callersMethodmerge
(&mut self, tx_state: TxState, read_sets: ViewReadSets, ctx: &ExecutionContext)
crates/datastore/src/locking_tx_datastore/committed_state.rs:474
↓ 1 callersMethodmerge
( &mut self, ExecutionMetrics { index_seeks, rows_scanned,
crates/lib/src/metrics.rs:60
↓ 1 callersMethodmerge
(&mut self, other: ExplicitNames)
crates/lib/src/db/raw_def/v10.rs:215
↓ 1 callersMethodmerge
crates/bindings-cpp/include/spacetimedb/router.h:83
↓ 1 callersMethodmerge_apply_deletes
( &mut self, tx_data: &mut TxData, delete_tables: BTreeMap<TableId, DeleteTable>,
crates/datastore/src/locking_tx_datastore/committed_state.rs:523
↓ 1 callersMethodmerge_apply_inserts
( &mut self, tx_data: &mut TxData, insert_tables: BTreeMap<TableId, Table>, tx
crates/datastore/src/locking_tx_datastore/committed_state.rs:601
↓ 1 callersMethodmerge_read_sets
(&mut self, read_sets: ViewReadSets)
crates/datastore/src/locking_tx_datastore/committed_state.rs:519
↓ 1 callersMethodmessage_loop
( mut self, incoming_messages: mpsc::UnboundedSender<ws::v2::ServerMessage>, outgoing_
sdks/rust/src/websocket.rs:394
↓ 1 callersFunctionmessage_size
Return the uncompressed payload size of `message`. v2 sends exactly one BSATN-encoded v2 server message per websocket payload. v3 sends one or more o
crates/client-api/src/routes/subscribe.rs:1344
↓ 1 callersFunctionmeta_ctx_limit_tokens
(model: &str)
tools/xtask-llm-benchmark/src/llm/segmentation.rs:145
↓ 1 callersMethodmetadata_mut_tx
(&self, tx: &Self::MutTx)
crates/datastore/src/locking_tx_datastore/datastore.rs:654
↓ 1 callersMethodmetadata_toml
(&self)
crates/paths/src/server.rs:24
↓ 1 callersFunctionmethodsMatch
(left: HttpMethod, right: HttpMethod)
crates/bindings-typescript/src/server/http_handlers.ts:114
↓ 1 callersMethodmetric
(&self)
crates/core/src/host/module_host.rs:854
↓ 1 callersFunctionmetric_reporter
Periodically collect gauge stats and update prometheus metrics.
crates/core/src/host/host_controller.rs:1332
↓ 1 callersFunctionmicrosToDate
(micros: bigint)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:19
↓ 1 callersMethodmigrate_plan
( &self, _spec: DatabaseDef, _style: PrettyPrintStyle, )
crates/client-api/src/routes/database.rs:1846
↓ 1 callersMethodmigrate_system_tables
Create any system tables that are missing from the datastore. This runs during database startup, *after* `restore_from_snapshot` and `apply_history`
crates/engine/src/relational_db.rs:374
↓ 1 callersMethodmillis_since_epoch
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:63
↓ 1 callersFunctionmime_ndjson
()
crates/client-api/src/routes/database.rs:685
↓ 1 callersFunctionmirror_release
( client: &reqwest::Client, version: Option<&semver::Version>, download_name: &str, )
crates/update/src/cli/install.rs:99
↓ 1 callersFunctionmix64
(mut x: u64)
crates/runtime/src/sim/rng.rs:63
↓ 1 callersFunctionmk_log
()
crates/commitlog/src/tests/bitflip.rs:40
↓ 1 callersFunctionmkver
(major: u64, minor: u64, patch: u64)
crates/core/src/config.rs:448
↓ 1 callersFunctionmkver_pre
(major: u64, minor: u64, patch: u64, pre: &str)
crates/core/src/config.rs:452
↓ 1 callersFunctionmodel_filter_from_groups
(groups: Option<Vec<ModelGroup>>)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:504
↓ 1 callersMethodmodify_byte_at
(&mut self, pos: usize, f: impl FnOnce(u8) -> u8)
crates/commitlog/src/tests/partial.rs:195
↓ 1 callersMethodmodify_bytes_at
(&mut self, range: impl SliceIndex<[u8], Output = [u8]>, f: impl FnOnce(&mut [u8]))
crates/commitlog/src/repo/mem/segment.rs:91
↓ 1 callersFunctionmoduleName
()
crates/bindings-typescript/src/solid/SpacetimeDBProvider.ts:26
↓ 1 callersMethodmodule_def
(&self)
crates/core/src/host/v8/mod.rs:430
↓ 1 callersMethodmodule_def_version
(&self)
crates/core/src/subscription/module_subscription_actor.rs:360
↓ 1 callersFunctionmodule_event
A dummy [ModuleEvent] for testing
crates/core/src/subscription/module_subscription_actor.rs:2135
↓ 1 callersMethodmodule_logs_dir
(&self, _replica_id: u64)
crates/client-api/src/routes/database.rs:1762
↓ 1 callersFunctionmodule_path
(name: &str)
crates/testing/src/modules.rs:52
↓ 1 callersMethodmodule_specific_cli_flags
Get user-facing CLI flags (e.g. `--bin-path`) for all module-specific options that were explicitly provided via CLI.
crates/cli/src/spacetime_config.rs:467
↓ 1 callersFunctionmodules_target_dir
Returns the target directory where pre-compiled WASM modules are stored.
crates/smoketests/src/modules.rs:40
↓ 1 callersMethodmost_recent
(self)
crates/paths/src/server.rs:157
↓ 1 callersFunctionmoveAgent
( ctx: ReducerCtx<S>, agent: GameEnemyAiAgentState, agentCoord: SmallHexTile, currentTimeMs: bigint )
modules/benchmarks-ts/src/ia_loop.ts:199
↓ 1 callersFunctionmove_agent
Move agent logic - updates agent state and related entities
modules/benchmarks-cpp/src/ia_loop.cpp:290
↓ 1 callersFunctionmove_agent
( ctx: &ReducerContext, agent: &mut GameEnemyAiAgentState, agent_coord: SmallHexTile, current_
modules/benchmarks/src/ia_loop.rs:290
↓ 1 callersFunctionmulberry32
Fast, deterministic PRNG (mulberry32).
templates/keynote-2/src/core/zipf.ts:2
↓ 1 callersFunctionmulti_subscribe
A [SubscribeMulti] message for testing
crates/core/src/subscription/module_subscription_actor.rs:2107
↓ 1 callersFunctionmulti_unsubscribe
A [SubscribeMulti] message for testing
crates/core/src/subscription/module_subscription_actor.rs:2119
↓ 1 callersFunctionmutationConvex
(path: string, args: any)
templates/keynote-2/src/connectors/convex.ts:30
↓ 1 callersMethodnanoseconds
(&self)
crates/bench/src/bin/summarize.rs:295
↓ 1 callersFunctionneeds_parens_within_array
This should return true if we should wrap the type in parentheses when it is the element type of an array. This is needed if the type has a `|` in it,
crates/codegen/src/typescript.rs:911
↓ 1 callersMethodnest
crates/bindings-cpp/include/spacetimedb/router.h:69
↓ 1 callersFunctionnewCircle
( entity_id: number, player_id: number, x: number, y: number, magnitude: number, last_split_time:
modules/benchmarks-ts/src/circles.ts:16
↓ 1 callersFunctionnewEntity
(id: number, x: number, y: number, mass: number)
modules/benchmarks-ts/src/circles.ts:8
↓ 1 callersFunctionnewFood
(entity_id: number)
modules/benchmarks-ts/src/circles.ts:33
↓ 1 callersFunctionnewPosition
( entity_id: number, x: number, y: number, z: number )
modules/benchmarks-ts/src/ia_loop.ts:15
↓ 1 callersMethodnewUuidV4
()
crates/bindings-typescript/src/server/procedures.ts:86
↓ 1 callersFunctionnewVelocity
( entity_id: number, x: number, y: number, z: number )
modules/benchmarks-ts/src/ia_loop.ts:32
↓ 1 callersFunctionnew_validator
(local_key: DecodingKey, local_issuer: Box<str>)
crates/core/src/auth/token_validation.rs:124
↓ 1 callersFunctionnew_zstd_writer
(inner: W, max_frame_size: Option<u32>)
crates/fs-utils/src/compression.rs:143
↓ 1 callersMethodnext
(&mut self)
crates/table/src/table_index/btree_index.rs:219
↓ 1 callersMethodnext
(&mut self)
crates/table/src/table_index/unique_direct_index.rs:340
↓ 1 callersMethodnext_commit
Advance the current-segment iterator to yield the next commit. Checks that the offset sequence is contiguous, and may skip commits until the requeste
crates/commitlog/src/commitlog.rs:866
↓ 1 callersMethodnext_confirmed_reads_batch
Compute the next batch of pending client updates that have a tx offset. What is the size of the batch and what is the max offset?
crates/core/src/client/client_connection.rs:257
↓ 1 callersMethodnext_element
(&mut self)
crates/sats/src/bsatn/de.rs:201
↓ 1 callersMethodnext_element
(&mut self)
crates/sats/src/de/serde.rs:525
↓ 1 callersFunctionnext_query_set_id
Get the next request ID to use for a WebSocket message.
sdks/rust/src/db_connection.rs:1620
↓ 1 callersMethodnext_timer_id
Allocate a fresh timer id for a new sleep future. Stable timer ids are what let a `Sleep` future re-register itself across polls while still mapping
crates/runtime/src/sim/time/mod.rs:111
↓ 1 callersMethodnext_value
(&self)
crates/datastore/src/locking_tx_datastore/sequence.rs:137
↓ 1 callersMethodnfields
The number of fields this expression returns
crates/expr/src/expr.rs:304
↓ 1 callersMethodnfields
How many fields do the tuples returned by this plan have?
crates/physical-plan/src/plan.rs:1005
← previousnext →9,401–9,500 of 27,764, ranked by callers