MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 5 callersMethodpush
Push `col` onto the list. If `col >= 63` or `col <= last_col`, the list will become heap allocated if not already.
crates/primitives/src/col_list.rs:199
↓ 5 callersMethodput
Puts back an object into the pool.
crates/data-structures/src/object_pool.rs:89
↓ 5 callersMethodput
Put `buf` back into the pool, or drop it if the pool is full.
crates/snapshot/src/remote.rs:804
↓ 5 callersFunctionquery_st_tables
(tx: &MutTxId)
crates/datastore/src/locking_tx_datastore/datastore.rs:1053
↓ 5 callersFunctionquoteIdentifier
(name: string)
crates/bindings-typescript/src/lib/query.ts:881
↓ 5 callersFunctionrandom
()
crates/bindings-typescript/src/server/rng.ts:86
↓ 5 callersMethodrandom
Generates a random value. Similar to [`rand::random()`], but using [`StdbRng`] instead. See also [`ReducerContext::rng()`].
crates/bindings/src/rng.rs:18
↓ 5 callersMethodrange
(&self)
crates/core/src/host/wasmtime/pooling_stack_creator.rs:48
↓ 5 callersFunctionrange_move
Translates the range `r` by adding `by` to both its `start` and its `end`. The resulting range will have the same length as `r`.
crates/table/src/util.rs:6
↓ 5 callersFunctionread_bytes_source_into
Read `source` from the host fully into `buf`.
crates/bindings/src/rt.rs:1323
↓ 5 callersFunctionread_tag
Reads the tag of the sum value and selects the data variant type.
crates/table/src/bflatn_from.rs:199
↓ 5 callersMethodread_u64
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:216
↓ 5 callersMethodreads_from_view
Does this plan read from an (anonymous) view?
crates/subscription/src/lib.rs:497
↓ 5 callersMethodreducers
The reducers of the module definition.
crates/schema/src/def.rs:209
↓ 5 callersFunctionrefreshRooms
()
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:88
↓ 5 callersMethodregister
(view: V)
crates/bindings/src/rt.rs:441
↓ 5 callersMethodremove
(&mut self, ptr: RowPointer)
crates/bench/benches/delete_table.rs:137
↓ 5 callersMethodremove_segment
(&self, offset: u64)
crates/commitlog/src/repo/fs.rs:314
↓ 5 callersFunctionretain_range
Given a list of (segment) offsets, retain those which fall into the `range`.
crates/commitlog/src/stream/reader.rs:149
↓ 5 callersMethodreused_count
Returns the number of objects reused from the pool.
crates/data-structures/src/object_pool.rs:116
↓ 5 callersMethodrollback_mut_tx
(&self, tx: MutTx)
crates/engine/src/relational_db.rs:798
↓ 5 callersFunctionrow_iter_bsatn_advance
Module ABI that reads rows from the given iterator registered under `iter`. Takes rows from the iterator with id `iter` and returns them encoded in t
crates/core/src/host/v8/syscall/v2.rs:788
↓ 5 callersFunctionrun
(cmd: &mut Command, label: &str)
tools/xtask-llm-benchmark/src/bench/publishers.rs:78
↓ 5 callersFunctionrun
()
crates/bindings-typescript/src/server/runtime.ts:312
↓ 5 callersFunctionrun_cmd
Runs a command and returns stdout as a string.
crates/smoketests/src/lib.rs:299
↓ 5 callersFunctionrun_dotnet
Runs dotnet with the given arguments in the given working directory.
crates/smoketests/tests/smoketests/templates.rs:273
↓ 5 callersFunctionrun_oidc_test
(validator: T, opts: &TestOptions)
crates/core/src/auth/token_validation.rs:582
↓ 5 callersFunctionrun_pk_join_subscription_test
(query: &str, projected_view_name: &str, mutations: &[PkJoinMutation])
crates/smoketests/tests/smoketests/views.rs:1120
↓ 5 callersMethodruntime
Handle to the tokio runtime, available if [`Self::durable`] was used to create the [`TestDB`].
crates/engine/src/relational_db.rs:2072
↓ 5 callersFunctionruntime_const_expr
(expr: &PhysicalExpr)
crates/physical-plan/src/rules.rs:415
↓ 5 callersMethodsave_to_dir
Save configuration to `spacetime.json` in the specified directory.
crates/cli/src/spacetime_config.rs:879
↓ 5 callersFunctionserialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:278
↓ 5 callersMethodserialize
(&self, serializer: S)
crates/commitlog/src/varchar.rs:88
↓ 5 callersMethodserialize_element
(&mut self, _name: Option<&str>, elem: &T)
crates/sats/src/ser.rs:416
↓ 5 callersFunctionserialize_to
Serializes `T` as a SATS object into `serializer: S` where `S` is a serde data format.
crates/sats/src/ser/serde.rs:196
↓ 5 callersFunctionsetTyping
( roomId: number, userId: string, displayName: string, isTyping: boolean )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/realtime.ts:47
↓ 5 callersMethodset_current_version
(&self, version: &str)
crates/paths/src/cli.rs:44
↓ 5 callersMethodseverity
Returns a numeric severity value. Higher means more severe.
crates/cli/src/subcommands/logs.rs:95
↓ 5 callersMethodshutdown
Shut down the database, without dropping it. If the database is in-memory only, this does nothing. Otherwise, it instructs the durability layer to sh
crates/engine/src/relational_db.rs:356
↓ 5 callersMethodsign
(&self, claims: &Token)
crates/core/src/auth/token_validation.rs:48
↓ 5 callersMethodsimulateConnect
()
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:69
↓ 5 callersMethodsimulateConnect
(identity: Identity, token: string)
crates/bindings-typescript/tests/connection_manager.test.ts:86
↓ 5 callersMethodsize_on_disk
The number of bytes on disk occupied by the durability layer. If this is an in-memory instance, `Ok(0)` is returned.
crates/engine/src/relational_db.rs:672
↓ 5 callersFunctionsorted
(xs: &[T])
crates/table/src/pointer_map.rs:371
↓ 5 callersMethodspacetime_dns
(&self, domain: &str)
crates/standalone/src/control_db.rs:101
↓ 5 callersFunctionspacetimedb_login_and_save
( config: &mut Config, host: &Url, direct_login: bool, open_browser: bool, )
crates/cli/src/subcommands/login.rs:115
↓ 5 callersMethodspawn_on
Spawn a `Send` future onto a specific simulated node.
crates/runtime/src/sim/executor/mod.rs:190
↓ 5 callersMethodsplit_fixed_var_mut
Returns split mutable views of this page over the fixed and variable sections.
crates/table/src/page.rs:1292
↓ 5 callersFunctionstampMessage
(seq: number)
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:63
↓ 5 callersMethodstart_bound
(&self)
crates/commitlog/src/stream/common.rs:116
↓ 5 callersMethodstart_funcall
Signal to this `WasmInstanceEnv` that a reducer or procedure call is beginning. Returns the handle used by reducers and procedures to read from `args
crates/core/src/host/wasmtime/wasm_instance_env.rs:324
↓ 5 callersMethodstatic_layout
Returns the static layout for this row reference, if any.
crates/table/src/table.rs:1938
↓ 5 callersMethodstop
Stop the server process without dropping the guard. This kills the server process but preserves the data directory. Use `restart()` to start the serv
crates/guard/src/lib.rs:171
↓ 5 callersFunctionstr_var_len_visitor
()
crates/table/src/page.rs:2186
↓ 5 callersFunctionsubscribe_all_then
(ctx: &impl RemoteDbContext, callback: impl FnOnce(&SubscriptionEventContext) + Send + 'static)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:82
↓ 5 callersMethodsubscription_builder
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4361
↓ 5 callersMethodtable
Cannot resolve table name
crates/expr/src/errors.rs:29
↓ 5 callersMethodtable_name_from_id_mut
( &'a self, tx: &'a MutTx, table_id: TableId, )
crates/engine/src/relational_db.rs:1283
↓ 5 callersFunctiontablesToSchema
(ctx: ModuleContext, tables: T)
crates/bindings-typescript/src/lib/schema.ts:71
↓ 5 callersMethodtag
Get the current tag (variant index)
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/sum_type.h:47
↓ 5 callersMethodtake
Takes an unused chunk from this pool or creates a new chunk if none are available. New chunks are not actually allocated, but will be, on first use.
crates/core/src/host/instance_env.rs:135
↓ 5 callersMethodtake_bytes_sink
(&mut self, sink: u32)
crates/core/src/host/wasmtime/wasm_instance_env.rs:316
↓ 5 callersMethodtake_deserialize_from
Deserialize a page from `buf` but reuse the allocations in the pool.
crates/table/src/page_pool.rs:71
↓ 5 callersMethodtake_row_list_builder
(&self)
crates/core/src/subscription/row_list_builder_pool.rs:74
↓ 5 callersMethodtake_with_max_row_count
Takes a [`Page`] from the pool or creates a new one. The returned page supports a maximum of `max_rows_in_page` rows.
crates/table/src/page_pool.rs:63
↓ 5 callersFunctiontime
(body: impl FnOnce() -> R)
crates/bench/benches/index.rs:23
↓ 5 callersMethodtoSql
()
crates/bindings-typescript/src/lib/query.ts:211
↓ 5 callersMethodto_bytes
Get body bytes
crates/bindings-cpp/include/spacetimedb/http.h:139
↓ 5 callersMethodto_duration
Returns `Err(abs(self) as Duration)` if `self` is negative.
crates/sats/src/time_duration.rs:41
↓ 5 callersMethodto_product
(self)
crates/table/benches/page_manager.rs:102
↓ 5 callersFunctionto_raw
(data: HashMap<Name, Def>)
crates/schema/src/def.rs:2093
↓ 5 callersMethodtoken
The JWT token representing these credentials.
crates/client-api/src/auth.rs:38
↓ 5 callersMethodtry_insert_or_update
(&self, new_row: Tbl::Row)
crates/bindings/src/table.rs:410
↓ 5 callersMethodtype_def_from_ref
Look up the name corresponding to an `AlgebraicTypeRef`.
crates/schema/src/def.rs:421
↓ 5 callersFunctiontype_name
(module: &ModuleDef, ty: &AlgebraicTypeUse)
crates/codegen/src/rust.rs:872
↓ 5 callersMethodtypespace
(&self)
crates/lib/src/lib.rs:252
↓ 5 callersFunctionu32_array_row_type
()
crates/table/benches/page.rs:510
↓ 5 callersFunctionu32_array_value
(arr: [u32; N])
crates/table/benches/page.rs:518
↓ 5 callersFunctionupdate
()
templates/hangman-react-ts/src/App.tsx:27
↓ 5 callersMethodupdate_pk_u_32_then
( &self, n: u32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_32_reducer.rs:60
↓ 5 callersFunctionuseSpacetimeDB
()
crates/bindings-typescript/src/solid/useSpacetimeDB.ts:10
↓ 5 callersMethoduse_fmt
Returns if the type is a special type Is required to check both the enclosing type and the inner element type
crates/sats/src/satn.rs:502
↓ 5 callersMethodusers
(&self)
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:32
↓ 5 callersFunctionv2_client_connection
Instantiate a v2 client connection with the default test settings.
crates/core/src/subscription/module_subscription_actor.rs:2207
↓ 5 callersMethodvalidate_token
(&self, token: &str)
crates/core/src/auth/token_validation.rs:71
↓ 5 callersMethodview
(&self, store: impl Into<StoreContext<'a, T>>)
crates/core/src/host/wasmtime/mod.rs:298
↓ 5 callersMethodview_pk_membership
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_membership_table.rs:32
↓ 5 callersFunctionwithOpTimeout
( promise: Promise<T>, label: string, defaultTimeoutMs: number, timeoutOverrideMs?: number, )
templates/keynote-2/src/core/runner.ts:27
↓ 5 callersFunctionwith_arraybuffer
(buf: Local<'_, v8::ArrayBuffer>, f: impl FnOnce(&[u8]) -> R)
crates/core/src/host/v8/syscall/v2.rs:901
↓ 5 callersMethodwith_bindings_dir
(self, generate_subdir: impl Into<String>)
crates/testing/src/sdk.rs:413
↓ 5 callersMethodwith_client
(self, client_project: impl Into<String>)
crates/testing/src/sdk.rs:399
↓ 5 callersMethodwith_column_constraint
Generate a [RawConstraintDefV8] using the supplied `columns`.
crates/lib/src/db/raw_def/v8.rs:386
↓ 5 callersMethodwith_event
Sets whether this table is an event table.
crates/lib/src/db/raw_def/v10.rs:1335
↓ 5 callersMethodwith_indent
Invoke `f` while indenting one level greater than `self` currently does.
crates/codegen/src/code_indenter.rs:55
↓ 5 callersMethodwith_log_format_version
Turn `self` into an iterator which pairs the log format version of the current segment with the [`Commit`].
crates/commitlog/src/commitlog.rs:856
↓ 5 callersMethodwith_value
Wraps `val` with the type and typespace context in `self`.
crates/sats/src/lib.rs:241
↓ 5 callersMethodwriteU32
(value: number)
crates/bindings-typescript/src/lib/binary_writer.ts:132
↓ 5 callersMethodwriteUInt8Array
(value: Uint8Array)
crates/bindings-typescript/src/lib/binary_writer.ts:74
↓ 5 callersFunctionwrite_object_type_builder_fields
e.g. ```ts x: __t.f32().primaryKey(), y: __t.f32(), fooBar: __t.string(), ```
crates/codegen/src/typescript.rs:719
↓ 5 callersFunctionwrite_u32
Utility functions for writing BSATN data
crates/bindings-cpp/include/spacetimedb/internal/field_registration.h:201
← previousnext →1,801–1,900 of 27,764, ranked by callers