MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 8 callersMethodspacetimedb_token
(&self)
crates/cli/src/config.rs:830
↓ 8 callersMethodstdin
(mut self, stdin_input: impl Into<String>)
crates/smoketests/src/lib.rs:567
↓ 8 callersMethodstorage
Returns the backing `[B]` slice for shared access.
crates/table/src/fixed_bit_set.rs:131
↓ 8 callersMethodsubscribe
(key: string, listener: Listener)
crates/bindings-typescript/tests/connection_manager.test.ts:285
↓ 8 callersMethodsummary
()
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:15
↓ 8 callersMethodsync_all
Sync all objects in the snapshot and write out the snapshot file. Returns the [SnapshotDirPath] on success.
crates/snapshot/src/lib.rs:217
↓ 8 callersFunctiontable_id_is_reserved
Is `table_id` reserved as a system table?
crates/datastore/src/system_tables.rs:129
↓ 8 callersMethodtail
(&self, n: u32)
crates/core/src/database_logger.rs:95
↓ 8 callersMethodtake
(&mut self, handle: I)
crates/core/src/host/wasm_common.rs:331
↓ 8 callersMethodto_bsatn_vec
(&self)
crates/sats/src/bsatn.rs:178
↓ 8 callersMethodu128
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:127
↓ 8 callersMethodu256
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:281
↓ 8 callersMethodunique_columns
If this is a unique constraint, returns the columns that must be unique. Otherwise, returns `None`.
crates/schema/src/def.rs:1336
↓ 8 callersMethodunzip
Convenience to deconstruct an [Option<Self>] into parts. Returns `(Some(durability), Some(disk_size), Option<SnapshotWorker>, Some(runtime))` if `thi
crates/engine/src/persistence.rs:163
↓ 8 callersMethodupgrade
(&self)
crates/core/src/host/module_host.rs:3504
↓ 8 callersMethodvariant
(mut self, visitor: V)
crates/sats/src/de/serde.rs:327
↓ 8 callersMethodvisit
(self, vec: A)
crates/sats/src/de.rs:798
↓ 8 callersMethodvisit_owned
(self, buf: T::Owned)
crates/sats/src/de/impls.rs:283
↓ 8 callersMethodwith_module_async
(&self, config: Config, routine: R)
crates/testing/src/modules.rs:223
↓ 8 callersMethodwith_mut_schema_and_clone
Runs a mutation on the [`TableSchema`] of this table and then sets the schema of `other` to that of `self`.
crates/table/src/table.rs:1409
↓ 8 callersMethodwrite_colored_line
(&mut self, text: &str, color: Option<Color>, bold: bool)
crates/schema/src/auto_migrate/termcolor_formatter.rs:99
↓ 8 callersMethodwrite_u32_le
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:49
↓ 8 callersMethodwrite_u64_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:50
↓ 8 callersMethodwrite_u8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:44
↓ 7 callersMethodApply
<summary> Apply a delta to the table. Should not invoke any user callbacks, since not all tables have been updated yet. Should fix up indices, to be r
sdks/csharp/src/Table.cs:75
↓ 7 callersMethodCompile
(string name)
crates/bindings-csharp/Codegen.Tests/Tests.cs:42
↓ 7 callersMethodEquals
(Player that)
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#Player.verified.cs:63
↓ 7 callersFunctionFailed
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Connection/Callback.h:113
↓ 7 callersMethodInsertPkU32
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:9365
↓ 7 callersMethodMarkFailure
sdks/unreal/tests/TestViewClient/Source/TestViewClient/Private/Tests/TestCounter.cpp:20
↓ 7 callersFunctionMethod
()
crates/bindings-typescript/src/lib/autogen/types.ts:164
↓ 7 callersFunctionNextViewPkId
()
sdks/csharp/examples~/regression-tests/client/Program.cs:32
↓ 7 callersMethodParseRowList
<summary> Prepare to read a BsatnRowList. This could return an IEnumerable, but we return the reader and row count directly to avoid an allocation. I
sdks/csharp/src/CompressionHelpers.cs:98
↓ 7 callersMethodRead
(byte[] buffer, int offset, int count)
sdks/csharp/src/ListStream.cs:37
↓ 7 callersMethodReducerResult
( uint RequestId, SpacetimeDB.Timestamp Timestamp, ReducerOutcome Result
sdks/csharp/src/SpacetimeDB/ClientApi/ReducerResult.g.cs:23
↓ 7 callersFunctionRowOffsets
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/ModuleBindings/Types/RowSizeHintType.g.h:38
↓ 7 callersMethodSetCache
demo/Blackholio/client-unreal/Source/client_unreal/Public/ModuleBindings/Tables/CircleTable.g.h:71
↓ 7 callersMethodUpdate
()
demo/Blackholio/client-unity/Assets/Scripts/EntityController.cs:66
↓ 7 callersFunctionWriteBytes
Helper to write bytes to a BytesSink
crates/bindings-cpp/src/internal/Module.cpp:452
↓ 7 callersMethodadd_http_handler
Add an HTTP handler to the module.
crates/lib/src/db/raw_def/v10.rs:1196
↓ 7 callersMethodadd_procedure
Add a procedure to the in-progress module. Accepts a `ProductType` of arguments. The arguments `ProductType` need not be registered in the typespace.
crates/lib/src/db/raw_def/v9.rs:775
↓ 7 callersMethodadd_type_for_tests
(&mut self, name: &str, ty: AlgebraicType)
crates/lib/src/lib.rs:196
↓ 7 callersMethodas_value
(&self)
crates/sats/src/sum_type.rs:270
↓ 7 callersFunctionassert_join_probe
(join: &super::IxJoin, rhs_col: ColId, lhs_field_pos: usize)
crates/physical-plan/src/plan.rs:1709
↓ 7 callersMethodassert_ref_count_consistency
(&self)
crates/core/src/subscription/module_subscription_manager.rs:182
↓ 7 callersFunctionbad_request
(message: Cow<'static, str>)
crates/client-api/src/routes/database.rs:1212
↓ 7 callersMethodbase_plan
The cached executor for the non-incremental query plan.
crates/subscription/src/lib.rs:483
↓ 7 callersFunctionbench_custom
(g: &mut BenchmarkGroup<'_, WallTime>, name: &str, run: impl Fn(u64) -> Duration)
crates/bench/benches/delete_table.rs:47
↓ 7 callersFunctioncheck_config
(input: &str, output: &str, f: F)
crates/cli/src/config.rs:964
↓ 7 callersFunctioncheck_output
( schema: ProductType, rows: Vec<&RawValue>, stats: SqlStmtStats, duration: Op
crates/cli/src/subcommands/sql.rs:318
↓ 7 callersFunctionclient_with_confirmed_reads
( offset_supply: impl DurableOffsetSupply + 'static, )
crates/core/src/client/client_connection.rs:1359
↓ 7 callersFunctioncreate_and_fill_index
Create and fill index file with key as first `fill_till - 1` even numbers
crates/commitlog/src/index/indexfile.rs:380
↓ 7 callersFunctioncreate_segment_writer
Create a new segment [`Writer`] with `offset`. Immediately attempts to write the segment header with the supplied `log_format_version`. If the segme
crates/commitlog/src/repo/mod.rs:231
↓ 7 callersMethodcreate_view
( &self, tx: &mut MutTx, module_def: &ModuleDef, view_def: &ViewDef, )
crates/engine/src/relational_db.rs:1155
↓ 7 callersFunctioncreate_view_for_test
Allocate a backing table in the datastore for a view
crates/engine/src/relational_db.rs:2191
↓ 7 callersFunctioncsharp_http_test
(name: &str, module_code: &str)
crates/smoketests/tests/smoketests/http_routes.rs:1121
↓ 7 callersFunctioncvt
Convert the status value `x` into a result. When `x = 0`, we have a success status.
crates/bindings-sys/src/lib.rs:1040
↓ 7 callersMethoddatabase_identity
Returns the identity for this database
crates/engine/src/relational_db.rs:661
↓ 7 callersMethoddatastore_delete_by_index_scan_point_bsatn
( IndexId index_id, ReadOnlySpan<byte> point, uint point_len, out uint out_
crates/bindings-csharp/Runtime/Internal/FFI.cs:224
↓ 7 callersMethoddecode
(reader: &mut &[u8])
crates/bindings/src/table.rs:1332
↓ 7 callersFunctiondecode_header_error
(e: DecodeError, field: &str)
crates/commitlog/src/commit.rs:394
↓ 7 callersFunctiondecode_identity
(token: &String)
crates/cli/src/util.rs:323
↓ 7 callersFunctiondelete
( tx_state: &mut TxState, committed_state: &CommittedState, table_id: TableId, row_pointer: Ro
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3298
↓ 7 callersMethoddeserialize_len
Reads a length as a `u32` then converted to `usize`.
crates/sats/src/bsatn/de.rs:24
↓ 7 callersFunctiondetermine_publish_configs
( database_name: Option<String>, spacetime_config: Option<&SpacetimeConfig>, publish_cmd: &Command
crates/cli/src/subcommands/dev.rs:909
↓ 7 callersFunctiondeterministic_trim_prefix
Tail-trim `prefix` to `allowance_tokens` deterministically. Does NOT look at system/segments; stable bytes across calls.
tools/xtask-llm-benchmark/src/llm/segmentation.rs:218
↓ 7 callersFunctionencodeUser
(value: Infer<typeof UserRow>)
crates/bindings-typescript/tests/utils.ts:25
↓ 7 callersFunctioneq_bsatn_seq
Equates elements in `lhs` to the BSATN-encoded element sequence in `rhs`. The sequence is prefixed with its length.
crates/sats/src/bsatn/eq.rs:103
↓ 7 callersMethodexpect_contains
Expect that this module definition contains a definition.
crates/schema/src/def.rs:453
↓ 7 callersFunctionexpose
(ptr: RowPointer)
crates/table/src/table_index/unique_direct_index.rs:125
↓ 7 callersMethodfind
(plan: &PhysicalPlan, labels: &mut Vec<Label>)
crates/physical-plan/src/plan.rs:1029
↓ 7 callersFunctionfmt_fn
Turns a closure `F: Fn(&mut Formatter) -> Result` into a `Display`able object.
crates/sats/src/de.rs:280
↓ 7 callersMethodftruncate
(&mut self, tx_offset: u64, size: u64)
crates/commitlog/src/repo/fs.rs:148
↓ 7 callersMethodget
TODO(perf, deep-integration): Make this method `unsafe`. Add the following to the docs: # Safety `pointer` must refer to a row within the table at `
crates/datastore/src/locking_tx_datastore/committed_state.rs:436
↓ 7 callersFunctiongetUnreadCount
(roomId: bigint)
tools/llm-oneshot/apps/chat-app/typescript/grok-code/spacetime/chat-app-20260107-120000/client/src/components/Sidebar.tsx:39
↓ 7 callersMethodget_database_by_identity
(&self, database_identity: &Identity)
crates/standalone/src/lib.rs:226
↓ 7 callersMethodget_or_insert
Returns either the existing value for `key` or inserts into `key` using `or_insert`.
crates/data-structures/src/small_map.rs:70
↓ 7 callersMethodget_table_callbacks
Get the [`TableCallbacks`] for the table `table_name`.
sdks/rust/src/callbacks.rs:68
↓ 7 callersMethodgt
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:338
↓ 7 callersMethodhas_label
Does this plan introduce this label?
crates/physical-plan/src/plan.rs:995
↓ 7 callersMethodhas_space_for_row
Does the page have space to store a row, where the fixed size part is `fixed_row_size` bytes large, and the variable part requires `num_granules`.
crates/table/src/page.rs:1348
↓ 7 callersMethodhas_unique
Checks if the 'UNIQUE' constraint is set.
crates/primitives/src/attr.rs:107
↓ 7 callersMethodhash
(&self)
crates/snapshot/src/remote.rs:643
↓ 7 callersFunctionhash_bsatn_seq
Hashes elements in the BSATN-encoded element sequence. The sequence is prefixed with its length and the hash will as well.
crates/sats/src/algebraic_value_hash.rs:196
↓ 7 callersFunctionhttp
(path: string, init?: RequestInit)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:16
↓ 7 callersMethodhttpHandler
( ...args: [HandlerFn<S>] | [HttpHandlerOpts, HandlerFn<S>] )
crates/bindings-typescript/src/server/schema.ts:524
↓ 7 callersFunctionidentity
()
crates/bindings-sys/src/lib.rs:1465
↓ 7 callersFunctionidentityEq
(a: Identity, b: Identity)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:15
↓ 7 callersFunctioninsert_u64
(page: &mut Page, val: u64)
crates/table/src/page.rs:2018
↓ 7 callersFunctioninsert_view_row
(stdb: &TestDB, view_id: ViewId, table_id: TableId, sender: Identity, v: u8)
crates/engine/src/relational_db.rs:2476
↓ 7 callersMethodinto_iter
(self)
crates/sats/src/product_type.rs:336
↓ 7 callersMethodinto_range_error
Converts the error to a [`RangeError<String>`].
crates/core/src/host/v8/error.rs:88
↓ 7 callersMethodinto_sql
crates/bindings-cpp/include/spacetimedb/query_builder/table.h:130
↓ 7 callersMethodinto_string
(self, scope: &PinScope<'scope, '_>)
crates/core/src/host/v8/string.rs:14
↓ 7 callersMethodis_anonymous_view
Is this schema that of an anonymous view?
crates/schema/src/schema.rs:92
↓ 7 callersMethodis_connection_id
Returns whether this is the special case of `spacetimedb_lib::ConnectionId`. Does not follow `Ref`s.
crates/sats/src/product_type.rs:113
↓ 7 callersMethodis_empty
Copied from `RangeBounds::is_empty` as it's unstable. TODO(centril): replace once stable.
crates/table/src/table_index/mod.rs:1679
↓ 7 callersMethodis_large_blob
(self)
crates/table/src/var_len.rs:74
↓ 7 callersMethodis_null
(self)
crates/table/src/var_len.rs:98
↓ 7 callersFunctionis_ok
Helper functions
crates/bindings-cpp/include/spacetimedb/abi/opaque_types.h:153
← previousnext →1,201–1,300 of 27,764, ranked by callers