MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 11 callersMethodstart_bound
(&self)
crates/sats/src/algebraic_value.rs:347
↓ 11 callersMethodstr
A literal string value
crates/expr/src/expr.rs:423
↓ 11 callersMethodsum
(&self)
crates/core/src/host/wasm_common/instrumentation.rs:113
↓ 11 callersFunctiontest_under_tx_and_commit
( datastore: &Locking, mut tx: MutTxId, mut test: impl FnMut(&mut MutTxId) -> ResultTe
crates/datastore/src/locking_tx_datastore/datastore.rs:2378
↓ 11 callersFunctionuser_public_table
( cols: impl Into<Vec<ColumnSchema>>, indices: impl Into<Vec<IndexSchema>>, constraint
crates/datastore/src/locking_tx_datastore/datastore.rs:1326
↓ 11 callersFunctionvalue
(value: AlgebraicValue)
crates/physical-plan/src/plan.rs:1716
↓ 11 callersMethodview_pk_player
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_player_table.rs:32
↓ 11 callersMethodwith_default_column_value
Adds a default value for the `column`.
crates/lib/src/db/raw_def/v9.rs:998
↓ 11 callersFunctionwith_span
Tracks the span of `body` under the label `abi_call`.
crates/core/src/host/v8/syscall/v1.rs:262
↓ 11 callersMethodwrite
(&mut self, buf: &[u8])
crates/commitlog/src/repo/mem/segment.rs:102
↓ 10 callersMethodAsBytes
(ref T val)
crates/bindings-csharp/BSATN.Runtime/Builtins.cs:11
↓ 10 callersMethodConsume
(this BytesSource source)
crates/bindings-csharp/Runtime/Internal/Module.cs:444
↓ 10 callersFunctionConsumeBytes
Helper to consume all bytes from a BytesSource
crates/bindings-cpp/src/internal/Module.cpp:389
↓ 10 callersMethodEquals
(IEnumerable<T>? x, IEnumerable<T>? y)
crates/bindings-csharp/BSATN.Runtime.Tests/Tests.cs:659
↓ 10 callersFunctionFTestProcClientProcedureEvent
sdks/unreal/tests/TestProcClient/Source/TestProcClient/Public/ModuleBindings/SpacetimeDBClient.g.h:609
↓ 10 callersMethodFromRandomBytesV4
<summary> Create a <see cref="Uuid"/> `v4` from explicit random bytes. </summary> <remarks> This method assumes the provided bytes are already suffici
crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs:51
↓ 10 callersFunctionOnConnectError
(Exception e)
templates/basic-cs/Program.cs:56
↓ 10 callersMethodParseWithDiags
( this GeneratorAttributeSyntaxContext context, Func<DiagReporter, T> build )
crates/bindings-csharp/BSATN.Codegen/Diag.cs:254
↓ 10 callersMethodRead
(BinaryReader reader)
crates/bindings-csharp/BSATN.Runtime/BSATN/Runtime.cs:257
↓ 10 callersMethodRegister
sdks/unreal/tests/TestProcClient/Source/TestProcClient/Private/Tests/TestCounter.cpp:3
↓ 10 callersMethodReportDiagnostics
( this IncrementalValuesProvider<ParseResult<T>> diagnosticHolders, IncrementalGeneratorInitia
crates/bindings-csharp/BSATN.Codegen/Diag.cs:263
↓ 10 callersMethodSend
<summary> This sender guarantees that that messages are sent out in the order they are received. Our websocket library only allows us to await one sen
sdks/csharp/src/WebSocket.cs:466
↓ 10 callersFunctionUserNameOrIdentity
(User user)
templates/chat-console-cs/Program.cs:100
↓ 10 callersMethodWrite
(System.IO.BinaryWriter writer, EmptyClass value)
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Type#EmptyClass.verified.cs:27
↓ 10 callersMethod_resolve_refs
(self, state: &mut ResolveRefState)
crates/sats/src/resolve_refs.rs:138
↓ 10 callersMethodabort_handle
Return a handle that can cancel this task.
crates/runtime/src/sim/executor/task.rs:30
↓ 10 callersMethodaddRoute
( method: MethodOrAny, path: string, handler: HttpHandlerExport<any> )
crates/bindings-typescript/src/server/http_handlers.ts:338
↓ 10 callersMethodadd_route
(mut self, method: MethodOrAny, path: impl Into<String>, handler: Handler)
crates/bindings/src/http.rs:375
↓ 10 callersMethodas_inline
(&self)
crates/primitives/src/col_list.rs:243
↓ 10 callersMethodas_str
(&self)
crates/client-api-messages/src/name.rs:295
↓ 10 callersFunctionassert_metrics
(pool: &P, dropped: usize, new: usize, reused: usize, returned: usize)
crates/data-structures/src/object_pool.rs:244
↓ 10 callersFunctionassert_outcome_committed
(reducer_name: &'static str, outcome: Result<Result<(), String>, InternalError>)
sdks/rust/tests/test-client/src/test_handlers.rs:428
↓ 10 callersFunctionasyncify
Ergonomic wrapper for `tokio::task::spawn_blocking(f).await`. If `f` panics, it will be bubbled up to the calling task.
crates/core/src/util/mod.rs:40
↓ 10 callersMethodbegin_mut_tx
(&self, isolation_level: IsolationLevel, workload: Workload)
crates/engine/src/relational_db.rs:769
↓ 10 callersFunctionblock_on
Run a future to completion with std-hosted determinism guards installed. This wraps [`sim::Runtime::block_on`] and is the normal entry point for DST
crates/runtime/src/sim_std.rs:23
↓ 10 callersMethodbsatn_serialize
Timestamp BSATN implementation
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:166
↓ 10 callersFunctioncollect_includes_for_type
Given an `AlgebraicTypeUse`, add every referenced type’s generated header name (`"<FTypeName>.g.h"`) into `out` (a `HashSet` avoids dups).
crates/codegen/src/unrealcpp.rs:6847
↓ 10 callersMethodcreateRoom
(name: string, roomType: 'public' | 'private' = 'public')
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:95
↓ 10 callersMethodcreate_table_for_test_with_the_works
( &self, name: &str, schema: &[(&'static str, AlgebraicType)], indexes: &[ColL
crates/engine/src/relational_db.rs:1168
↓ 10 callersMethoddatabase_identity
Read the current module's [`Identity`].
crates/bindings/src/lib.rs:1084
↓ 10 callersMethoddelete_player_then
( &self, identity: __sdk::Identity, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/view-client/src/module_bindings/delete_player_reducer.rs:57
↓ 10 callersFunctionempty_tx_update
()
crates/core/src/client/client_connection.rs:1326
↓ 10 callersMethoderror
(error: Error)
crates/bindings-typescript/src/sdk/websocket_test_adapter.ts:47
↓ 10 callersFunctionextract_index_id
(datastore: &Locking, tx: &MutTxId, index: &IndexSchema)
crates/datastore/src/locking_tx_datastore/datastore.rs:1314
↓ 10 callersFunctionfind
(col_val: &Col::ColType)
crates/bindings/src/table.rs:434
↓ 10 callersMethodfinish
Consumes the counter and returns the final count.
crates/sats/src/buffer.rs:341
↓ 10 callersMethodfrom_clap
Map this config key to a different clap argument name. When fetching values the key that is defined should be used. Example: Key::new("module-path").f
crates/cli/src/spacetime_config.rs:601
↓ 10 callersMethodgen_range
crates/bindings-cpp/include/spacetimedb/random.h:145
↓ 10 callersMethodget
(&self, index: &I)
crates/table/src/table_index/key_size.rs:28
↓ 10 callersMethodget_column
Get a column of the `TableDef`.
crates/schema/src/def.rs:817
↓ 10 callersMethodget_schema
Returns the schema for this table.
crates/table/src/table.rs:1393
↓ 10 callersFunctionhash_bytes_of
Hashes `slice` by converting to bytes first, as done in the standard library.
crates/sats/src/algebraic_value_hash.rs:72
↓ 10 callersMethodis_identity
Returns whether this is the special case of `spacetimedb_lib::Identity`. Does not follow `Ref`s.
crates/sats/src/product_type.rs:107
↓ 10 callersFunctionis_ok
crates/bindings-cpp/include/spacetimedb/error_handling.h:55
↓ 10 callersMethodis_simple_enum
Returns whether this sum type is like on in C without data attached to the variants.
crates/sats/src/sum_type.rs:202
↓ 10 callersMethoditer_fixed_len
Returns an iterator over all the [`PageOffset`]s of the fixed rows in this page. The rows are assumed to be `fixed_row_size` bytes long. NOTE: This
crates/table/src/page.rs:1527
↓ 10 callersMethodlen
(&self)
crates/commitlog/src/repo/mem/segment.rs:43
↓ 10 callersFunctionliteral
( value: Value )
crates/bindings-typescript/src/lib/query.ts:650
↓ 10 callersFunctionlogActivity
( ctx: any, canvasId: bigint, userIdentity: any, action: string, details?: string, x?: number, y
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1774
↓ 10 callersMethodmake_event_ctx
(&self, event: E)
sdks/rust/src/db_connection.rs:358
↓ 10 callersMethodmax_committed_offset
Determine the maximum transaction offset considered durable. The offset is `None` if the log hasn't been flushed to disk yet.
crates/commitlog/src/lib.rs:219
↓ 10 callersFunctionmkmeta
(major: u64, minor: u64, patch: u64)
crates/core/src/config.rs:462
↓ 10 callersFunctionmkmeta_pre
(major: u64, minor: u64, patch: u64, pre: &str)
crates/core/src/config.rs:470
↓ 10 callersMethodnest
Causes requests which start with `path` to be processed by `sub_router`. `sub_router` will be used by stripping the leading `path` from the path of t
crates/bindings/src/http.rs:341
↓ 10 callersMethodnext
(&mut self)
crates/bindings/src/table.rs:1430
↓ 10 callersFunctionnextKey
()
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:168
↓ 10 callersMethodor
Returns self, but if any of the sources are None then we take it from fallback
crates/core/src/replica_context.rs:99
↓ 10 callersMethodparse
( argv: string[], { maxArgs = 0 }: { maxArgs?: number } = {}, )
templates/keynote-2/src/opts.ts:77
↓ 10 callersMethodrecv
(&mut self)
crates/core/src/client/client_connection.rs:179
↓ 10 callersFunctionregister_describer
Registers into `DESCRIBERS` a function `f` to modify the module builder.
crates/bindings/src/rt.rs:732
↓ 10 callersMethodrelease
* @brief Release ownership of the buffer * * The buffer will NOT be returned to the pool when this IterBuf * is destroyed. Use this wh
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:135
↓ 10 callersMethodrequest
(&self, request: R)
crates/core/src/host/v8/mod.rs:462
↓ 10 callersMethodrestart_server
Restart the SpacetimeDB server. This stops the current server process and starts a new one with the same data directory. All data is preserved across
crates/smoketests/src/lib.rs:968
↓ 10 callersMethodright_semijoin
crates/bindings-cpp/include/spacetimedb/query_builder/join.h:359
↓ 10 callersFunctionrow_estimate
Estimate the cardinality of a physical plan.
crates/core/src/estimation.rs:69
↓ 10 callersFunctionrow_type_visitor
Construct an implementor of `VarLenMembers`, which visits the var-len members in a row of `ty`. This is a potentially expensive operation, so the res
crates/table/src/row_type_visitor.rs:49
↓ 10 callersFunctionschema
( table_id: TableId, table_name: &str, columns: &[(&str, AlgebraicType)], inde
crates/physical-plan/src/plan.rs:1646
↓ 10 callersMethodschema
(&self, name: &str)
crates/expr/src/statement.rs:598
↓ 10 callersMethodschema_for_table_mut_tx
IMPORTANT! This function is relatively expensive, and much more expensive than `row_type_for_table_mut_tx`. Prefer `row_type_for_table_mut_tx` if you
crates/datastore/src/locking_tx_datastore/datastore.rs:500
↓ 10 callersMethodseek_point
Returns an iterator yielding all rows in this index for `key`. Matching is defined by `Eq for AlgebraicValue`.
crates/table/src/table.rs:2167
↓ 10 callersFunctionshowError
(text: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:341
↓ 10 callersMethodsize_of
(&self)
crates/sats/src/size_of.rs:44
↓ 10 callersMethodsql_confirmed
Executes a SQL query with the --confirmed flag.
crates/smoketests/src/lib.rs:1576
↓ 10 callersMethodsubscribe_view
Increment `num_subscribers` in `st_view_sub` to effectively subscribe a caller to a view. We insert a row if there are no current subscribers and the
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2455
↓ 10 callersMethodtake
Extract the value and replace it with a dummy one that is cheap to make.
crates/sats/src/algebraic_value.rs:131
↓ 10 callersFunctiontest_strings
()
crates/data-structures/src/slim_slice.rs:1633
↓ 10 callersMethodto_be_byte_array
Convert this `Identity` to a BIG-ENDIAN byte array.
crates/lib/src/identity.rs:225
↓ 10 callersMethodto_byte_array
Returns this `Identity` as a byte array.
crates/lib/src/identity.rs:220
↓ 10 callersFunctionty_fmt
(module: &'a ModuleDef, ty: &'a AlgebraicTypeUse)
crates/codegen/src/csharp.rs:1205
↓ 10 callersMethodunsubscribe
* Consumes self and issues an `Unsubscribe` message, * removing this query from the client's set of subscribed queries. * It is only valid to ca
crates/bindings-typescript/src/sdk/subscription_builder_impl.ts:208
↓ 10 callersFunctionupdate_database
Update the database according to the migration plan. The update is performed within the transactional context `tx`. NOTE: Manual migration support is
crates/engine/src/update.rs:127
↓ 10 callersFunctionvalue_serialize
Serialize `x` as an [`AlgebraicValue`].
crates/sats/src/algebraic_value/ser.rs:13
↓ 10 callersMethodwithTx
(body: (ctx: TransactionCtx<S>) => T)
crates/bindings-typescript/src/server/procedures.ts:85
↓ 10 callersFunctionworkspace_root
Returns the workspace root directory.
crates/smoketests/src/lib.rs:165
↓ 10 callersMethodwrapping_sub
(self, rhs: Self)
crates/table/src/fixed_bit_set.rs:44
↓ 10 callersMethodwrite_to
(self, mem: &mut MemView, ptr: Self::Pointer)
crates/core/src/host/wasmtime/mod.rs:249
↓ 10 callersFunctiony_or_n
Prompt the user for `y` or `n` from stdin. Return `false` unless the input is `y`.
crates/cli/src/util.rs:310
↓ 10 callersFunctionyes
()
crates/cli/src/common_args.rs:25
↓ 9 callersMethodAbort
sdks/unreal/tests/TestViewPkClient/Source/TestViewPkClient/Private/Tests/TestCounter.cpp:84
↓ 9 callersMethodGt
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/expr.h:345
← previousnext →901–1,000 of 27,764, ranked by callers