MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 2 callersMethodhas_space_for_row_with_objects
Does the page have space to store a row, where the fixed size part is `fixed_row_size` bytes large, and the row has the given `var_len_objects`?
crates/table/src/page.rs:1340
↓ 2 callersMethodhas_table_scan
Does this plan scan a table with optional label?
crates/physical-plan/src/plan.rs:1066
↓ 2 callersMethodhash
(&self, state: &mut H)
crates/sats/src/algebraic_value_hash.rs:35
↓ 2 callersFunctionhash_bsatn_array
Hashes every elem in the BSATN-encoded array value.
crates/sats/src/algebraic_value_hash.rs:169
↓ 2 callersFunctionhash_bsatn_prod
Hashes every field in the BSATN-encoded product value.
crates/sats/src/algebraic_value_hash.rs:162
↓ 2 callersFunctionhash_bsatn_sum
Hashes the tag and payload of the BSATN-encoded sum value.
crates/sats/src/algebraic_value_hash.rs:151
↓ 2 callersFunctionhash_product
Hashes every product field in `value = &bytes[range_move(0..ty.size(), *curr_offset)]` which is typed at `ty`. SAFETY: 1. the `value` must be valid a
crates/table/src/row_hash.rs:55
↓ 2 callersFunctionhash_row_in_page
Hashes the row in `page` where the fixed part starts at `fixed_offset` and lasts `ty.size()` bytes. This region is typed at `ty`. Note that the hash
crates/table/src/row_hash.rs:32
↓ 2 callersFunctionhash_sender_view_args
(sender: Identity)
crates/lib/src/view_args.rs:20
↓ 2 callersFunctionhash_view_args
(args_bsatn: &[u8])
crates/lib/src/view_args.rs:6
↓ 2 callersFunctionheadroom_tokens_env
Static headroom from env, with sensible defaults and 500-token rounding. Precedence (first found wins): 1) Per-vendor: {OPENAI|ANTHROPIC|GOOGLE|XAI|DE
tools/xtask-llm-benchmark/src/llm/segmentation.rs:185
↓ 2 callersFunctionheap_fraction_at_or_above
(used: usize, limit: usize, fraction: f64)
crates/core/src/host/v8/mod.rs:1134
↓ 2 callersMethodheap_usage
(&self)
crates/data-structures/src/object_pool.rs:74
↓ 2 callersMethodheap_usage
(&self)
crates/core/src/subscription/row_list_builder_pool.rs:24
↓ 2 callersFunctionhexStringToUint8Array
(str: string)
crates/bindings-typescript/src/lib/util.ts:60
↓ 2 callersMethodhold
(&mut self, in_use: InUseSerializeBuffer)
crates/client-api/src/routes/subscribe.rs:1403
↓ 2 callersMethodhost
(&self, server: &str)
crates/cli/src/config.rs:255
↓ 2 callersMethodhttpRouter
(router: Router)
crates/bindings-typescript/src/server/schema.ts:539
↓ 2 callersMethodhttp_request
Perform an HTTP request. Exposed to modules via the `ProcedureContext`. It's very important that the error returned from this function not contain an
crates/core/src/host/instance_env.rs:855
↓ 2 callersFunctionidentify
(id_number: u64)
crates/smoketests/modules/filtering/src/lib.rs:136
↓ 2 callersMethodidentity
Construct a copy of the `Identity` type.
crates/sats/src/algebraic_type.rs:337
↓ 2 callersFunctionimplement_query_col_types_for_struct
Implements `HasCols` for the given `AlgebraicTypeRef` struct type.
crates/codegen/src/rust.rs:652
↓ 2 callersFunctionin_mem_db
()
crates/core/src/estimation.rs:142
↓ 2 callersFunctionin_simulation
()
crates/runtime/src/sim_std.rs:91
↓ 2 callersMethodincrement
(&self)
crates/cli/src/subcommands/subscribe.rs:379
↓ 2 callersMethodindented
(&mut self, n: u32)
crates/codegen/src/code_indenter.rs:43
↓ 2 callersMethodindex_id_from_name
(&self, index_name: &str)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1543
↓ 2 callersMethodindex_id_from_name
( [In] byte[] name, uint name_len, out IndexId out_ )
crates/bindings-csharp/Runtime/Internal/FFI.cs:200
↓ 2 callersMethodindex_ids
Returns the index ids from which this subscription reads
crates/core/src/subscription/module_subscription_manager.rs:102
↓ 2 callersFunctionindex_key_expr
Build a single physical key expression for an index probe. Single-column keys are represented directly. Composite keys are represented as products an
crates/physical-plan/src/plan.rs:1265
↓ 2 callersMethodindex_scan_point
( &'a self, table_id: TableId, index_id: IndexId, point: &AlgebraicValue,
crates/core/src/subscription/tx.rs:151
↓ 2 callersMethodindex_scan_range
( &'a self, table_id: TableId, index_id: IndexId, range: &impl RangeBounds<Alg
crates/core/src/subscription/tx.rs:142
↓ 2 callersMethodindex_scan_range_for_delta
( &self, table_id: TableId, index_id: IndexId, delta: Delta, range: im
crates/core/src/subscription/tx.rs:184
↓ 2 callersFunctioninit
(_ctx: &ReducerContext)
crates/smoketests/modules/namespaces/src/lib.rs:9
↓ 2 callersMethodinit
Initializes the V8 platform and engine. Should only be called once but it isn't unsound to call it more times.
crates/core/src/host/v8/mod.rs:197
↓ 2 callersFunctioninitConvex
(config: ConvexInitConfig)
templates/keynote-2/src/init/init_convex.ts:21
↓ 2 callersFunctioninit_csharp_project
(project_path: &Path)
crates/cli/src/subcommands/init.rs:1763
↓ 2 callersFunctioninit_database
If the module instance's `replica_ctx` is uninitialized, initialize it.
crates/core/src/host/module_host.rs:573
↓ 2 callersMethodinit_database
(&self, program: Program)
crates/core/src/host/v8/mod.rs:537
↓ 2 callersMethodinit_entry
Ensures that an entry for `table_id` exists or initializes it with `table_name`.
crates/datastore/src/traits.rs:257
↓ 2 callersFunctioninit_rust_project
(project_path: &Path)
crates/cli/src/subcommands/init.rs:1739
↓ 2 callersFunctioninitializeModuleTypeRegistration
crates/bindings-cpp/src/internal/module_type_registration.cpp:28
↓ 2 callersMethodinject_logs
(&self, log_level: LogLevel, function_name: &str, message: &str)
crates/core/src/host/module_host.rs:3103
↓ 2 callersFunctioninjest
(ptr: RowPointer)
crates/table/src/table_index/unique_direct_index.rs:119
↓ 2 callersMethodinline_typerefs_in_ref
Inlines all nested references behind the current [`AlgebraicTypeRef`] recursively using the current typeset. Returns the fully-resolved type or an er
crates/sats/src/typespace.rs:157
↓ 2 callersMethodinsert_call_timestamp_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/test-client/src/module_bindings/insert_call_timestamp_reducer.rs:52
↓ 2 callersMethodinsert_caller_one_connection_id_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/test-client/src/module_bindings/insert_caller_one_connection_id_reducer.rs:52
↓ 2 callersMethodinsert_caller_one_identity_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/test-client/src/module_bindings/insert_caller_one_identity_reducer.rs:52
↓ 2 callersMethodinsert_database
(&self, mut database: Database)
crates/standalone/src/control_db.rs:368
↓ 2 callersMethodinsert_full_table_scan
Record that a view performs a full scan of this table
crates/datastore/src/locking_tx_datastore/mut_tx.rs:117
↓ 2 callersMethodinsert_index_id
Insert a new `table_id` `index_id` pair into this container. Note, different queries may read from the same index. Hence we may already be tracking th
crates/core/src/subscription/module_subscription_manager.rs:399
↓ 2 callersMethodinsert_into_btree_u_32_then
( &self, rows: Vec<BTreeU32>, callback: impl FnOnce(&super::ReducerEventContext, Resu
sdks/rust/tests/test-client/src/module_bindings/insert_into_btree_u_32_reducer.rs:57
↓ 2 callersMethodinsert_into_indexed_simple_enum_then
( &self, n: SimpleEnum, callback: impl FnOnce(&super::ReducerEventContext, Result<Res
sdks/rust/tests/test-client/src/module_bindings/insert_into_indexed_simple_enum_reducer.rs:57
↓ 2 callersMethodinsert_into_pk_btree_u_32_then
( &self, pk_u_32: Vec<PkU32>, bt_u_32: Vec<BTreeU32>, callback: impl FnOnce(&
sdks/rust/tests/test-client/src/module_bindings/insert_into_pk_btree_u_32_reducer.rs:63
↓ 2 callersMethodinsert_large_table_then
( &self, a: u8, b: u16, c: u32, d: u64, e: u128, f: __
sdks/rust/tests/test-client/src/module_bindings/insert_large_table_reducer.rs:175
↓ 2 callersMethodinsert_maybe_despecialize
Inserts the relation `key -> ptr` to this map. If `key` was already present in the index, does not add an association with val. Returns the existing
crates/table/src/table_index/index.rs:30
↓ 2 callersFunctioninsert_one_page_worth_fixed_len
( pool: &PagePool, pages: &mut Pages, visitor: &impl VarLenMembers, val: &R, )
crates/table/benches/page_manager.rs:203
↓ 2 callersMethodinsert_one_u_16_then
( &self, n: u16, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(),
sdks/rust/tests/test-client/src/module_bindings/insert_one_u_16_reducer.rs:55
↓ 2 callersMethodinsert_physically_bsatn
Physically insert a `row`, encoded in BSATN, into this table, storing its large var-len members in the `blob_store`. On success, returns the hash of
crates/table/src/table.rs:679
↓ 2 callersMethodinsert_pk_simple_enum_then
( &self, a: SimpleEnum, data: i32, callback: impl FnOnce(&super::ReducerEvent
sdks/rust/tests/test-client/src/module_bindings/insert_pk_simple_enum_reducer.rs:62
↓ 2 callersMethodinsert_primitives_as_strings_then
( &self, s: EveryPrimitiveStruct, callback: impl FnOnce(&super::ReducerEventContext,
sdks/rust/tests/test-client/src/module_bindings/insert_primitives_as_strings_reducer.rs:57
↓ 2 callersMethodinsert_replica
(&self, replica: Replica)
crates/standalone/src/lib.rs:551
↓ 2 callersFunctioninsert_retrieve_body
(ty: impl Into<ProductType>, val: impl Into<ProductValue>)
crates/table/src/table.rs:2544
↓ 2 callersFunctioninsert_rls_rules
Insert rules into the RLS system table
crates/core/src/sql/execute.rs:455
↓ 2 callersFunctioninsert_rls_rules
Insert rules into the RLS system table
crates/core/src/subscription/module_subscription_actor.rs:2225
↓ 2 callersFunctioninsert_semijoin_source_rows
(ctx: &SubscriptionEventContext)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:140
↓ 2 callersMethodinsert_st_client
( &mut self, identity: Identity, connection_id: ConnectionId, jwt_payload: &st
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2712
↓ 2 callersMethodinsert_table
(&mut self, source_name: impl Into<RawIdentifier>, canonical_name: impl Into<RawIdentifier>)
crates/lib/src/db/raw_def/v10.rs:194
↓ 2 callersFunctioninsert_u64
(page: &mut Page, val: u64)
crates/snapshot/src/remote.rs:982
↓ 2 callersMethodinsert_unique_u_32_update_pk_u_32_then
( &self, n: u32, d_unique: i32, d_pk: i32, callback: impl FnOnce(&sup
sdks/rust/tests/test-client/src/module_bindings/insert_unique_u_32_update_pk_u_32_reducer.rs:63
↓ 2 callersFunctioninsert_var_len_clean_page
(c: &mut Criterion, visitor: &impl VarLenMembers, visitor_name: &str)
crates/table/benches/page.rs:236
↓ 2 callersFunctioninsert_var_len_dirty_page
(c: &mut Criterion, visitor: &impl VarLenMembers, visitor_name: &str)
crates/table/benches/page.rs:260
↓ 2 callersMethodinsert_view_pk_membership_secondary_then
( &self, id: u64, player_id: u64, callback: impl FnOnce(&super::ReducerEventC
sdks/rust/tests/view-pk-client/src/module_bindings/insert_view_pk_membership_secondary_reducer.rs:60
↓ 2 callersMethodinsert_with_tx_commit_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<(), __sdk::InternalErr
modules/sdk-test-procedure-cpp/client/src/module_bindings/insert_with_tx_commit_procedure.rs:32
↓ 2 callersMethodinsert_with_tx_commit_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<(), __sdk::InternalErr
sdks/rust/tests/procedure-client/src/module_bindings/insert_with_tx_commit_procedure.rs:32
↓ 2 callersMethodinsert_with_tx_rollback_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<(), __sdk::InternalErr
modules/sdk-test-procedure-cpp/client/src/module_bindings/insert_with_tx_rollback_procedure.rs:32
↓ 2 callersMethodinsert_with_tx_rollback_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<(), __sdk::InternalErr
sdks/rust/tests/procedure-client/src/module_bindings/insert_with_tx_rollback_procedure.rs:32
↓ 2 callersMethodinserts_for_table
Returns the inserts for `table_id`.
crates/datastore/src/traits.rs:385
↓ 2 callersMethodinserts_for_table
(&self, _: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:526
↓ 2 callersMethodinstantiate
(&self, env: InstanceEnv, func_names: &FuncNames)
crates/core/src/host/wasmtime/wasmtime_module.rs:291
↓ 2 callersMethodinstantiate
Finish the instantiation of this instance with the provided `Mem`.
crates/core/src/host/wasmtime/wasm_instance_env.rs:275
↓ 2 callersFunctioninstantiate_wasmtime_instance
( module: &InstancePre<WasmInstanceEnv>, env: InstanceEnv, func_names: &FuncNames, supports_as
crates/core/src/host/wasmtime/wasmtime_module.rs:336
↓ 2 callersMethodintegerInRange
* Returns an integer in the range `[min, max]`.
crates/bindings-typescript/src/server/rng.ts:52
↓ 2 callersFunctioninterval_row_entry
(scheduled_id: u64, duration_micros: u64)
crates/smoketests/tests/smoketests/schedule_reducer.rs:15
↓ 2 callersMethodinto_async_writer
(self)
crates/commitlog/src/stream/common.rs:21
↓ 2 callersMethodinto_iter
(self)
crates/data-structures/src/error_stream.rs:224
↓ 2 callersMethodinto_router
(self)
crates/client-api/src/routes/identity.rs:173
↓ 2 callersMethodinto_string_lossy
Convert the body into a [`String`], replacing invalid UTF-8 with `U+FFFD REPLACEMENT CHARACTER`, which looks like this: �. See [`String::from_utf8_lo
crates/bindings/src/http.rs:709
↓ 2 callersFunctioninvalid
()
crates/expr/src/check.rs:472
↓ 2 callersFunctioninvalid_data
(e: E)
crates/commitlog/src/commit.rs:398
↓ 2 callersFunctioninvalid_parent_name
(name: &str)
crates/cli/src/subcommands/publish.rs:709
↓ 2 callersMethodinvalid_request_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<String, __sdk::Interna
modules/sdk-test-procedure-cpp/client/src/module_bindings/invalid_request_procedure.rs:32
↓ 2 callersMethodinvalid_request_then
( &self, __callback: impl FnOnce(&super::ProcedureEventContext, Result<String, __sdk::Interna
sdks/rust/tests/procedure-client/src/module_bindings/invalid_request_procedure.rs:32
↓ 2 callersMethodinvalidate_newer_snapshots
Rename any snapshot newer than `upper_bound` with [`INVALID_SNAPSHOT_DIR_EXT`]. When rebuilding a database, we will call this method with the [`space
crates/snapshot/src/lib.rs:1166
↓ 2 callersMethodinvalidate_snapshot
Mark a single snapshot invalid so it will not be considered for future restores.
crates/snapshot/src/lib.rs:1182
↓ 2 callersMethodinviteUser
(roomId: number, username: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:132
↓ 2 callersFunctionisAdmin
(roomId: bigint)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/spacetime/chat-app-20260102-170500/client/src/App.tsx:424
↓ 2 callersFunctionisFixedSizeProduct
(ty: ProductType)
crates/bindings-typescript/src/lib/algebraic_type.ts:329
↓ 2 callersFunctionisLiteralExpr
( expr: ValueExpr<any, Value> )
crates/bindings-typescript/src/lib/query.ts:885
↓ 2 callersMethodisZero
()
crates/bindings-typescript/src/lib/connection_id.ts:36
← previousnext →4,301–4,400 of 27,764, ranked by callers