MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 28 callersFunctionfrom_reader
Deserialize a `T` from the BSATN format in the buffered `reader`.
crates/sats/src/bsatn.rs:42
↓ 28 callersMethodget_row_ref_unchecked
Assumes `ptr` is a present row in `self` and returns a [`RowRef`] to it. # Safety The requirement is that `table.is_row_present(ptr)` must hold, whe
crates/table/src/table.rs:154
↓ 28 callersMethodopen
(workers?: number)
templates/keynote-2/src/core/connectors.ts:3
↓ 28 callersMethodparse
parse common user inputs (case-insensitive; accepts synonyms)
tools/xtask-llm-benchmark/src/llm/types.rs:51
↓ 28 callersFunctionsubscribe_all_then
(ctx: &impl RemoteDbContext, callback: impl FnOnce(&SubscriptionEventContext) + Send + 'static)
sdks/rust/tests/test-client/src/test_handlers.rs:413
↓ 28 callersMethodthroughput
()
crates/table/benches/page_manager.rs:750
↓ 28 callersMethodwrite_str
(&mut self, s: &str)
crates/sats/src/satn.rs:206
↓ 27 callersMethodabs
Returns a positive `TimeDuration` with the magnitude of `self`.
crates/sats/src/time_duration.rs:66
↓ 27 callersMethodas_mut
Returns a sub-writer without moving `self`.
crates/sats/src/satn.rs:173
↓ 27 callersMethodcast
(self)
crates/data-structures/src/slim_slice.rs:185
↓ 27 callersFunctioncol
(col: u16)
crates/datastore/src/locking_tx_datastore/datastore.rs:1138
↓ 27 callersMethodcollect_all_errors
(self)
crates/data-structures/src/error_stream.rs:377
↓ 27 callersFunctionconnect_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, callback: impl FnOnce(&DbConnection)
sdks/rust/tests/test-client/src/test_handlers.rs:381
↓ 27 callersMethodend
crates/bindings-cpp/include/spacetimedb/table.h:552
↓ 27 callersMethodhandle
Get a cloneable handle for spawning tasks and accessing runtime services.
crates/runtime/src/sim/executor/mod.rs:162
↓ 27 callersMethodinsert_via_serialize_bsatn
( &'a mut self, table_id: TableId, row: &T, )
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2807
↓ 27 callersMethodlen
Returns the length of the list.
crates/primitives/src/col_list.rs:184
↓ 27 callersFunctionput_result
[`Option::take`] the `result` function, and invoke it with `res`. Panic if `result` is `None`. Used in [`exec_row_deduplication`] to determine that r
sdks/rust/tests/test-client/src/test_handlers.rs:2087
↓ 27 callersFunctionreducer_callback_assert_committed
( reducer_name: &'static str, )
sdks/rust/tests/view-client/src/test_handlers.rs:144
↓ 27 callersMethodreducers
(&self)
sdks/rust/tests/view-client/src/module_bindings/mod.rs:334
↓ 27 callersMethodrelease
(key: string)
crates/bindings-typescript/tests/connection_manager.test.ts:253
↓ 27 callersMethodsubscribe
(self, query_sql: Queries)
sdks/rust/src/subscription.rs:181
↓ 27 callersMethodwithToken
* Set the identity of the client to connect to the database. * * @param token The credentials to use to authenticate with SpacetimeDB. This *
crates/bindings-typescript/src/sdk/db_connection_builder.ts:81
↓ 27 callersFunctionwith_auto_commit
( db: &RelationalDB, f: impl FnOnce(&mut MutTx) -> Result<A, E>, )
crates/engine/src/relational_db.rs:2164
↓ 26 callersFunctionBytes
sdks/unreal/tests/TestClient/Source/TestClient/Public/ModuleBindings/Types/EnumWithPayloadType.g.h:214
↓ 26 callersMethodError
<summary> Write an error message to module log </summary> <param name="message">Message to log</param> <param name="RESERVED_target"><b>!!! DO NOT USE
crates/bindings-csharp/Runtime/Log.cs:100
↓ 26 callersMethodGet
(string path, Handler handler)
crates/bindings-csharp/Runtime/Router.cs:29
↓ 26 callersMethodRead
(System.IO.BinaryReader reader)
crates/bindings-csharp/Codegen.Tests/fixtures/client/snapshots/Type#PublicTable.verified.cs:111
↓ 26 callersMethodWrite
(System.IO.BinaryWriter writer, PublicTable value)
crates/bindings-csharp/Codegen.Tests/fixtures/client/snapshots/Type#PublicTable.verified.cs:118
↓ 26 callersMethodbuild
(self)
crates/query-builder/src/join.rs:171
↓ 26 callersMethodclose
()
crates/bindings-typescript/src/sdk/ws.ts:32
↓ 26 callersFunctioncpp_ty_fmt_with_module
( module_prefix: &'a str, module: &'a ModuleDef, ty: &'a AlgebraicTypeUse, module_name: &'a st
crates/codegen/src/unrealcpp.rs:6670
↓ 26 callersFunctiondeserialize
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:262
↓ 26 callersFunctionevaluateBooleanExpr
( expr: BooleanExpr<any>, row: Record<string, any> )
crates/bindings-typescript/src/lib/query.ts:894
↓ 26 callersFunctionhash_unmodified_save_get
(page: &mut Page)
crates/table/src/page.rs:2037
↓ 26 callersFunctionnext
()
templates/keynote-2/src/core/zipf.ts:5
↓ 26 callersMethodread
(&mut self, buf: &mut [u8])
crates/commitlog/src/repo/fs.rs:176
↓ 26 callersMethodseek
(&mut self, pos: io::SeekFrom)
crates/commitlog/src/repo/fs.rs:195
↓ 26 callersMethodspawn
(&self, future: impl Future<Output = T> + Send + 'static)
crates/runtime/src/lib.rs:273
↓ 25 callersFunctionProduct
()
crates/bindings-typescript/src/lib/autogen/types.ts:22
↓ 25 callersMethodadd
Inserts an `AlgebraicType` into the typespace and returns an `AlgebraicTypeRef` that refers to the inserted `AlgebraicType`. This allows for self ref
crates/sats/src/typespace.rs:101
↓ 25 callersFunctionclient_connection
Instantiate a client connection
crates/core/src/subscription/module_subscription_actor.rs:2199
↓ 25 callersMethoddelete_by_value
* Delete a single row by value */
crates/bindings-cpp/include/spacetimedb/table.h:491
↓ 25 callersMethodformat
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:149
↓ 25 callersMethodget
TODO(perf, deep-integration): When all of [`Table::read_row`], [`RowRef::new`], [`CommittedState::get`] and [`TxState::get`] become unsafe, make this
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2066
↓ 25 callersMethodget_mut
Returns a mutable reference to the [`AlgebraicType`] referred to by `r` within this context.
crates/sats/src/typespace.rs:87
↓ 25 callersMethodnext
(&mut self)
crates/sats/src/lib.rs:280
↓ 25 callersFunctionreducer_callback_assert_committed
( reducer_name: &'static str, )
sdks/rust/tests/test-client/src/test_handlers.rs:436
↓ 25 callersMethodresolve
Returns the `AlgebraicType` that `r` resolves to in the context of our `Typespace`. Panics if `r` is not known by our `Typespace`.
crates/sats/src/lib.rs:251
↓ 25 callersMethodresolve_refs
(this: WithTypespace<'_, Self>, state: &mut ResolveRefState)
crates/sats/src/resolve_refs.rs:35
↓ 25 callersFunctionserialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:157
↓ 24 callersFunctionassert_tx_update_for_table
Pull a message from receiver and assert that it is a `TxUpdate` with the expected rows
crates/core/src/subscription/module_subscription_actor.rs:2622
↓ 24 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/v9.rs:618
↓ 24 callersFunctioncompile_plan
(db: &RelationalDB, sql: &str)
crates/core/src/subscription/module_subscription_manager.rs:2223
↓ 24 callersFunctiondebug_llm_verbose
()
tools/xtask-llm-benchmark/src/bench/utils.rs:92
↓ 24 callersMethodfill
* Like `crypto.getRandomValues()`. Fills a `TypedArray` with random integers * in a uniform distribution, mutating and returning it.
crates/bindings-typescript/src/server/rng.ts:41
↓ 24 callersFunctionfrom_bytes
crates/bindings-cpp/include/spacetimedb/bsatn/serialization.h:114
↓ 24 callersFunctionfrom_slice
Deserialize a `T` from the BSATN format in `bytes`.
crates/sats/src/bsatn.rs:47
↓ 24 callersMethodhash
Returns the query hash for this subscription
crates/core/src/subscription/module_subscription_manager.rs:85
↓ 24 callersMethodinit
( config: StandaloneOptions, certs: &CertificateAuthority, data_dir: Arc<ServerDataDir
crates/standalone/src/lib.rs:63
↓ 24 callersFunctionmake_test
(subcommand: &str)
sdks/rust/tests/test.rs:421
↓ 24 callersMethodonApplied
* Registers `callback` to run when this query is successfully added to our subscribed set, * I.e. when its `SubscriptionApplied` message is receive
crates/bindings-typescript/src/sdk/subscription_builder_impl.ts:33
↓ 24 callersFunctionrelational_db
An in-memory `RelationalDB` for testing
crates/core/src/subscription/module_subscription_actor.rs:2092
↓ 24 callersMethodrelational_db
(&self)
crates/core/src/host/module_host.rs:307
↓ 24 callersMethodresize
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:158
↓ 24 callersFunctionstdbLogger
( level: LogLevel, message: Lazy<any>, ...args: Lazy<any> )
crates/bindings-typescript/src/sdk/logger.ts:118
↓ 24 callersMethodstored_in_table_def
The `TableDef` an entity in the global namespace is stored in, if any. Generally, you will want to use the `lookup` method on the entity type instead
crates/schema/src/def.rs:317
↓ 24 callersMethodtag
Get the current tag (variant index)
crates/bindings-cpp/include/spacetimedb/bsatn/sum_type.h:47
↓ 24 callersFunctionwhere
(expr: Expr<Column>)
crates/bindings-typescript/src/lib/filter.ts:158
↓ 24 callersFunctionworkspace_root
()
crates/smoketests/tests/smoketests/namespaces.rs:5
↓ 24 callersMethodwrite
(&mut self, value: W)
crates/sats/src/satn.rs:855
↓ 23 callersMethodFrom
<summary> Create an Identity from a LITTLE-ENDIAN byte array. If you are parsing an Identity from a string, you probably want FromHexString instead,
crates/bindings-csharp/BSATN.Runtime/Builtins.cs:264
↓ 23 callersMethodGetUpper
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Types/LargeIntegers.h:270
↓ 23 callersMethodcontains_key
Returns whether `key` is in the map.
crates/data-structures/src/small_map.rs:168
↓ 23 callersMethodcreate
( provider: P, snapshots_dir: SnapshotsPath, snapshot: Snapshot, page_pool: Pa
crates/snapshot/src/remote.rs:255
↓ 23 callersFunctionfind_executable
Find an executable in the `PATH`.
crates/cli/src/detect.rs:6
↓ 23 callersMethodinc
(&self)
crates/core/src/host/module_host.rs:1290
↓ 23 callersMethodis_ok
(&self)
crates/core/src/host/host_controller.rs:160
↓ 23 callersFunctioniter
()
crates/bindings-typescript/src/server/runtime.ts:612
↓ 23 callersFunctionmake_sql_count_only_scorer
( host_url: &str, src_file: &str, route_tag: &str, sql: impl Into<String>, expected: i64,
tools/xtask-llm-benchmark/src/eval/defaults.rs:40
↓ 23 callersFunctionmap_err
Turns any error into `ValueDeserializeError::MismatchedType`.
crates/sats/src/algebraic_value/de.rs:49
↓ 23 callersFunctionok_or
Turns any option into `ValueDeserializeError::MismatchedType`.
crates/sats/src/algebraic_value/de.rs:54
↓ 23 callersMethodput_slice
(&mut self, slice: &[u8])
crates/sats/src/buffer.rs:302
↓ 23 callersFunctionsubscribe_multi
Subscribe to a set of queries as a client
crates/core/src/subscription/module_subscription_actor.rs:2268
↓ 23 callersMethodto_lowercase
(&self)
crates/client-api-messages/src/name.rs:299
↓ 23 callersFunctiontouchCanvas
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1767
↓ 23 callersMethodwith_auto_commit
Run a fallible function in a transaction. If the supplied function returns `Ok`, the transaction is automatically committed. Otherwise, the transacti
crates/engine/src/relational_db.rs:927
↓ 22 callersMethodAdd
<summary> Add a key-value-pair to the multidictionary. If the key is already present, its associated value must satisfy keyComparer.Equals(value, item
sdks/csharp/src/MultiDictionary.cs:67
↓ 22 callersFunctionAssertAllTablesEmpty
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/CommonTestFunctions.cpp:262
↓ 22 callersMethodGetLower
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Types/LargeIntegers.h:271
↓ 22 callersFunctionarray
()
crates/sats/src/algebraic_value.rs:420
↓ 22 callersMethodborrow
(&'a self)
crates/table/src/table_index/mod.rs:341
↓ 22 callersFunctioncli
()
crates/cli/src/subcommands/generate.rs:168
↓ 22 callersFunctioncreate_table
(db: &RelationalDB, name: &str)
crates/core/src/subscription/module_subscription_manager.rs:2219
↓ 22 callersFunctionenable_logging
()
crates/commitlog/src/tests/helpers.rs:59
↓ 22 callersMethodformat
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/expr.h:153
↓ 22 callersFunctionfrom_string
(s: &str)
crates/data-structures/src/slim_slice.rs:1380
↓ 22 callersMethodmetadata
(self)
crates/commitlog/src/segment.rs:471
↓ 22 callersMethodmodule
Get the [`ModuleHost`] for this connection. Note that modules can be hotswapped, in which case the returned handle becomes invalid (i.e. all calls on
crates/core/src/client/client_connection.rs:956
↓ 22 callersFunctionsplit_map_write_back
Splits `slice` into the first `N` bytes converting the former via `map_bytes` and returning the rest.
crates/table/src/table_index/bytes_key.rs:331
← previousnext →401–500 of 27,764, ranked by callers