MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersMethodbytes_used_by_index_keys
Returns the number of bytes used by keys stored in indexes by this table. This method scales in runtime with the number of indexes in the table, but
crates/table/src/table.rs:1728
↓ 1 callersMethodbytes_used_by_rows
Returns the number of bytes used by rows stored in this page. This is necessarily an overestimate of live data bytes, as it includes: - Padding bytes
crates/table/src/page.rs:1252
↓ 1 callersFunctionbytestring_to_utf8bytes
(s: ByteString)
crates/client-api/src/routes/subscribe.rs:1900
↓ 1 callersFunctioncalcScore
(fr)
tools/llm-sequential-upgrade/parse-playwright-results.mjs:94
↓ 1 callersFunctioncalculateHash
(t: bigint)
modules/benchmarks-ts/src/ia_loop.ts:50
↓ 1 callersMethodcalculate_gauge_stats
(&self)
crates/core/src/subscription/module_subscription_manager.rs:705
↓ 1 callersFunctioncalculate_hash
Simple hash calculation for quad values
modules/benchmarks-cpp/src/ia_loop.cpp:125
↓ 1 callersFunctioncalculate_hash
(t: &T)
modules/benchmarks/src/ia_loop.rs:136
↓ 1 callersFunctioncallChat
(http: HttpLike, provider: Provider, req: ChatRequest)
templates/llm-chat-ts/spacetimedb/src/llm.ts:97
↓ 1 callersFunctioncallProcedure
( moduleCtx: SchemaInner, id: number, sender: Identity, connectionId: ConnectionId | null, timestamp
crates/bindings-typescript/src/server/procedures.ts:156
↓ 1 callersMethodcallProcedure
* Call a reducer on your SpacetimeDB module. * * @param procedureName The name of the reducer to call * @param argsBuffer The arguments to pa
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1234
↓ 1 callersMethodcallReducer
* Call a reducer on your SpacetimeDB module. * * @param reducerName The name of the reducer to call * @param argsSerializer The arguments to
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1115
↓ 1 callersFunctioncall_call_http_handler
Calls the `__call_http_handler__` function `fun`.
crates/core/src/host/v8/syscall/common.rs:70
↓ 1 callersFunctioncall_call_procedure
Calls the `__call_procedure__` function `fun`.
crates/core/src/host/v8/syscall/common.rs:35
↓ 1 callersFunctioncall_pre_publish
( client: &reqwest::Client, database_host: &str, domain: &String, host_type: &str, program
crates/cli/src/subcommands/publish.rs:825
↓ 1 callersMethodcall_procedure
( &self, procedure: &str, args: FunctionArgs, request_id: RequestId, t
crates/core/src/client/client_connection.rs:1088
↓ 1 callersMethodcall_procedure
( &self, caller_identity: Identity, caller_connection_id: Option<ConnectionId>,
crates/core/src/host/module_host.rs:2519
↓ 1 callersMethodcall_procedure_v2
( &self, procedure: &str, args: Bytes, request_id: RequestId, timer: I
crates/core/src/client/client_connection.rs:1107
↓ 1 callersMethodcall_procedure_with_params
( &self, name: &str, params: CallProcedureParams, )
crates/core/src/host/module_host.rs:2783
↓ 1 callersMethodcall_reducer
( &self, reducer: &str, args: FunctionArgs, request_id: RequestId, tim
crates/core/src/client/client_connection.rs:992
↓ 1 callersMethodcall_reducer
( &self, caller_identity: Identity, caller_connection_id: Option<ConnectionId>,
crates/core/src/host/module_host.rs:2325
↓ 1 callersMethodcall_reducer
(&mut self, params: CallReducerParams)
crates/core/src/host/wasm_common/module_host_actor.rs:495
↓ 1 callersMethodcall_reducer_with_params
( &self, reducer_name: &ReducerName, params: CallReducerParams, )
crates/core/src/host/module_host.rs:2266
↓ 1 callersFunctioncall_scheduled_procedure
( module_info: &ModuleInfo, params: ScheduledFunctionParams, inst_common: &mut InstanceCommon,
crates/core/src/host/scheduler.rs:455
↓ 1 callersFunctioncall_scheduled_reducer
( module_info: &ModuleInfo, params: ScheduledFunctionParams, inst_common: &mut InstanceCommon,
crates/core/src/host/scheduler.rs:486
↓ 1 callersFunctioncall_scheduled_reducer_until_done
( module_info: &ModuleInfo, params: ScheduledFunctionParams, inst_common: &mut InstanceCommon,
crates/core/src/host/scheduler.rs:539
↓ 1 callersFunctioncall_scheduled_reducer_with_tx
( module_info: &ModuleInfo, db: &RelationalDB, id: Option<ScheduledFunctionId>, mut tx: MutTxI
crates/core/src/host/scheduler.rs:574
↓ 1 callersMethodcall_sql
(&self, cmd: SqlCommand)
crates/core/src/host/v8/mod.rs:558
↓ 1 callersMethodcall_sql_command
(&self, cmd: SqlCommand)
crates/core/src/host/module_host.rs:1981
↓ 1 callersMethodcall_view
( instance: &mut RefInstance<'_, I>, tx: MutTxId, view_name: &Identifier, view
crates/core/src/host/module_host.rs:2990
↓ 1 callersMethodcall_view
(&mut self, cmd: ViewCommand)
crates/core/src/host/wasm_common/module_host_actor.rs:597
↓ 1 callersMethodcall_view_anon
( &mut self, op: AnonymousViewOp<'_>, budget: FunctionBudget, )
crates/core/src/host/wasmtime/wasmtime_module.rs:700
↓ 1 callersMethodcall_views_with_tx
Refreshes every view made stale by `tx`. The returned transaction contains both the original writes and any backing-table updates produced by re-mate
crates/core/src/host/module_host.rs:2903
↓ 1 callersMethodcall_views_with_tx
A [`MutTxId`] knows which views must be updated (re-evaluated). This method re-evaluates them and updates their backing tables.
crates/core/src/host/wasm_common/module_host_actor.rs:1408
↓ 1 callersMethodcan_allocate_new_page
Is there space to allocate another page?
crates/table/src/pages.rs:111
↓ 1 callersMethodcan_merge
Returns an error with the first unique constraint violation that would occur if `self` and `other` were to be merged. The closure `ignore` indicates
crates/table/src/table_index/mod.rs:2448
↓ 1 callersFunctioncancelScheduled
(scheduledMessageId: bigint)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:462
↓ 1 callersFunctioncancelScheduled
(id: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:175
↓ 1 callersFunctioncanonical_mode
Normalize mode aliases to their canonical names before saving.
tools/xtask-llm-benchmark/src/bench/normalize.rs:67
↓ 1 callersMethodcapture
(&self)
crates/core/src/database_logger.rs:261
↓ 1 callersFunctioncargo_cmd
(subcommand: &str, build_debug: bool, args: &[&str])
crates/cli/src/tasks/rust.rs:12
↓ 1 callersMethodcase_conversion_policy
(&self)
crates/lib/src/db/raw_def/v10.rs:651
↓ 1 callersFunctioncategories_to_set
(v: Option<Vec<String>>)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:699
↓ 1 callersMethodcenterOfMass
()
demo/Blackholio/client-ts/src/game/PlayerController.ts:70
↓ 1 callersFunctionchange_scheduled_functions_and_lifetimes_visibility
Change the visibility of scheduled functions and lifecycle reducers to Internal.
crates/schema/src/def/validate/v10.rs:326
↓ 1 callersFunctioncharacter_is_acceptable_for_route_path
True if `c` is a valid character to appear in the path of a user-defined HTTP route. We permit only lowercase ASCII letters, ASCII digits, and `-_~/`
crates/lib/src/http.rs:177
↓ 1 callersFunctioncheckIdentity
()
tools/llm-oneshot/apps/chat-app/typescript/grok-code/spacetime/chat-app-20260107-120000/client/src/App.tsx:22
↓ 1 callersFunctioncheckRateLimit
(userId: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/server/src/index.ts:49
↓ 1 callersFunctioncheckRateLimit
(userId: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/server/src/index.ts:80
↓ 1 callersFunctioncheckService
(system: string)
templates/keynote-2/src/demo.ts:148
↓ 1 callersFunctioncheck_all_column_defs
Check all column definitions. This is a v8-only validation step, since v9 has no notion of a column definition, relying solely on the product_type_ref
crates/schema/src/def/validate/v8.rs:190
↓ 1 callersFunctioncheck_and_prompt_login
(config: &mut Config)
crates/cli/src/subcommands/init.rs:226
↓ 1 callersFunctioncheck_buffer_size
crates/bindings-cpp/include/spacetimedb/table.h:141
↓ 1 callersFunctioncheck_cargo_metadata
(package, cargo_toml_path)
tools/crate-publish-checks.py:21
↓ 1 callersFunctioncheck_column
Check a column definition.
crates/schema/src/def/validate/v8.rs:230
↓ 1 callersMethodcheck_compatible
(&self, module_def: &ModuleDef, def: &Self::Def)
crates/schema/src/schema.rs:985
↓ 1 callersFunctioncheck_for_cargo
()
crates/cli/src/subcommands/init.rs:1604
↓ 1 callersFunctioncheck_for_dotnet
()
crates/cli/src/subcommands/init.rs:1625
↓ 1 callersFunctioncheck_for_emscripten_and_cmake
Check if Emscripten and CMake tooling are available in PATH. On Windows, looks for emcc.bat and cmake.exe. On Unix-like systems, looks for emcc and c
crates/cli/src/subcommands/init.rs:2150
↓ 1 callersFunctioncheck_for_issues
(artifact: &Path)
crates/cli/src/tasks/rust.rs:111
↓ 1 callersFunctioncheck_global_json_policy
()
tools/ci/src/main.rs:45
↓ 1 callersFunctioncheck_http_handler_names_are_unique
( handlers: Vec<(Identifier, HttpHandlerDef)>, )
crates/schema/src/def/validate/v10.rs:398
↓ 1 callersFunctioncheck_license_symlinks
(repo_root: &Path)
tools/license-check/main.rs:34
↓ 1 callersFunctioncheck_non_procedure_misc_exports
( misc_exports: Vec<RawMiscModuleExportV9>, validator: &ModuleValidatorV9, tables: &mut Identifier
crates/schema/src/def/validate/v9.rs:1585
↓ 1 callersFunctioncheck_outputs
( result: &[SqlStmtResult], duration: Option<Duration>, expect: &str, )
crates/cli/src/subcommands/sql.rs:303
↓ 1 callersFunctioncheck_pnpm_release_age_policy
()
tools/ci/src/main.rs:183
↓ 1 callersFunctioncheck_smoketests_mod_rs_complete
()
tools/ci/src/smoketest.rs:197
↓ 1 callersFunctioncheck_testf_enum
Check the TestF enum specifically since it's known to have issues
modules/module-test-cpp/compare_module_schemas.py:139
↓ 1 callersFunctioncheck_transfer_fuel_ratio
(results: &[BenchmarkResult])
tools/ci/src/keynote_bench.rs:281
↓ 1 callersFunctioncheck_type
(ty: &AlgebraicType)
crates/sats/src/bsatn.rs:244
↓ 1 callersMethodchecked_add
Returns `Some(self + other)`, or `None` if that value would be out of bounds for [`TimeDuration`].
crates/sats/src/time_duration.rs:83
↓ 1 callersMethodchecked_add_duration
Returns `Some(self + duration)`, or `None` if that value would be out-of-bounds for `Timestamp`. Converts `duration` into a [`TimeDuration`] before t
crates/sats/src/timestamp.rs:163
↓ 1 callersMethodchecked_sub
Returns `Some(self - other)`, or `None` if that value would be out of bounds for [`TimeDuration`].
crates/sats/src/time_duration.rs:88
↓ 1 callersMethodchecked_sub_duration
Returns `Some(self - duration)`, or `None` if that value would be out-of-bounds for `Timestamp`. Converts `duration` into a [`TimeDuration`] before t
crates/sats/src/timestamp.rs:171
↓ 1 callersFunctionchecksum
(value: u64)
crates/runtime/src/sim/rng.rs:200
↓ 1 callersMethodchecksum
(&self)
crates/commitlog/src/commitlog.rs:807
↓ 1 callersFunctionchooseWord
(ctx: { random: { integerInRange: (min: number, max: number) => number }; })
templates/hangman-react-ts/spacetimedb/src/index.ts:129
↓ 1 callersMethodcircleOnDelete
(circle: Circle)
demo/Blackholio/client-ts/src/game/GameManager.ts:181
↓ 1 callersFunctionclampInt
(n: number, min: number, max: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/backend/spacetimedb/src/index.ts:32
↓ 1 callersFunctionclassifyMembership
( whereExpr: BooleanExpr<any> | undefined, oldRow: Record<string, any>, newRow: Record<string, any> )
crates/bindings-typescript/src/react/useTable.ts:33
↓ 1 callersFunctionclassifyMembership
( whereExpr: BooleanExpr<any> | undefined, oldRow: Record<string, any>, newRow: Record<string, any> )
crates/bindings-typescript/src/angular/injectors/inject-table.ts:39
↓ 1 callersFunctionclassifyMembership
( whereExpr: BooleanExpr<any> | undefined, oldRow: Record<string, any>, newRow: Record<string, any> )
crates/bindings-typescript/src/solid/useTable.ts:27
↓ 1 callersFunctionclassifyMembership
( whereExpr: BooleanExpr<any> | undefined, oldRow: Record<string, any>, newRow: Record<string, any> )
crates/bindings-typescript/src/svelte/useTable.ts:25
↓ 1 callersFunctionclassifyMembership
( whereExpr: BooleanExpr<any> | undefined, oldRow: Record<string, any>, newRow: Record<string, any> )
crates/bindings-typescript/src/vue/useTable.ts:33
↓ 1 callersFunctioncleanupTypingIndicators
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/server/src/index.ts:143
↓ 1 callersMethodclear
()
crates/bindings-typescript/src/lib/binary_writer.ts:45
↓ 1 callersFunctionclearToken
()
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:12
↓ 1 callersMethodclearToken
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:15
↓ 1 callersMethodclear_all_views
Clear all rows from all view tables without dropping them.
crates/engine/src/relational_db.rs:1496
↓ 1 callersFunctionclear_cached_nuget_package
Clears a package id from the global NuGet package cache to avoid stale versions with identical semantic version numbers shadowing local packed package
crates/smoketests/tests/smoketests/templates.rs:420
↓ 1 callersFunctionclear_godot_regen_dir
()
tools/regen/src/csharp.rs:119
↓ 1 callersMethodclear_login_tokens
(&mut self)
crates/cli/src/config.rs:454
↓ 1 callersFunctionclear_reducer_error
* Clear the error state. Called automatically at the start of each reducer. * @internal */
crates/bindings-cpp/include/spacetimedb/reducer_error.h:78
↓ 1 callersMethodclear_table
FIXME(jgilles): this is a temporary workaround for deleting not currently being supported for tables without primary keys. It is only used in the benc
crates/core/src/host/module_host.rs:3446
↓ 1 callersFunctionclear_zero
(page: &mut Page)
crates/table/benches/page.rs:49
↓ 1 callersFunctioncli
()
crates/standalone/src/subcommands/start.rs:26
↓ 1 callersFunctioncli
()
crates/cli/src/subcommands/build.rs:8
↓ 1 callersMethodcli_bin_dir
(&self)
crates/paths/src/lib.rs:192
↓ 1 callersMethodcli_bin_file
(&self)
crates/paths/src/lib.rs:188
↓ 1 callersFunctioncli_binary_path
Returns the expected CLI binary path.
crates/guard/src/lib.rs:44
← previousnext →7,901–8,000 of 27,764, ranked by callers