MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersFunctionrandom_string
Generates a random lowercase alphabetic string suitable for database names.
crates/smoketests/src/lib.rs:219
↓ 1 callersFunctionrange
(start: u8, end: u8)
crates/table/src/table_index/unique_direct_fixed_cap_index.rs:186
↓ 1 callersFunctionrange_is_empty
`range_bounds_is_empty` https://github.com/rust-lang/rust/issues/137300 This is correct for integers, but unsound for arbitrary `T`, so unlikely to b
crates/commitlog/src/commitlog.rs:1051
↓ 1 callersFunctionrange_to
crates/bindings-cpp/include/spacetimedb/range_queries.h:100
↓ 1 callersFunctionrange_to_inclusive
crates/bindings-cpp/include/spacetimedb/range_queries.h:106
↓ 1 callersMethodrange_written
(&mut self, tx_range: Range<u64>)
crates/commitlog/src/stream/writer.rs:39
↓ 1 callersMethodrawModuleDefV10
()
crates/bindings-typescript/src/lib/schema.ts:211
↓ 1 callersMethodre_sign_with_expiry
Sign a new token with the same claims and a new expiry. Note that this will not change the issuer, so the private_key might not match. We do this to c
crates/client-api/src/auth.rs:212
↓ 1 callersMethodreadBytes
(length: number)
crates/bindings-typescript/src/lib/binary_reader.ts:67
↓ 1 callersFunctionreadFrontmatter
(markdown, sourcePath)
docs/scripts/sync-agent-skills.mjs:13
↓ 1 callersFunctionreadLoop
()
templates/bun-ts/src/main.ts:111
↓ 1 callersFunctionreadOptionalBooleanEnv
( name: string, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:201
↓ 1 callersFunctionreadOptionalNumberEnv
( name: string, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:174
↓ 1 callersMethodreadU8
()
crates/bindings-typescript/src/lib/binary_reader.ts:86
↓ 1 callersMethodreadUInt8Array
()
crates/bindings-typescript/src/lib/binary_reader.ts:49
↓ 1 callersMethodread_bool
@name Boolean and Integer Readers * Read primitive integer types from the buffer */ @{
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:209
↓ 1 callersMethodread_bytes
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:110
↓ 1 callersMethodread_bytes
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:110
↓ 1 callersFunctionread_exact
(src: &mut (impl AsyncRead + Unpin), buf: &mut [u8])
crates/commitlog/src/stream/common.rs:156
↓ 1 callersFunctionread_exact_at
(file: &std::fs::File, buf: &mut [u8], offset: u64)
crates/core/src/database_logger.rs:595
↓ 1 callersMethodread_f32
@name Floating Point Readers * Read floating point values from the buffer */ @{
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:227
↓ 1 callersMethodread_f32_le
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:69
↓ 1 callersMethodread_f64
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:228
↓ 1 callersMethodread_f64_le
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:76
↓ 1 callersFunctionread_golden
Read the golden answer for a task from disk. Scans `bench_root/<category>/<task_id>/answers/{rust.rs,csharp.cs,typescript.ts}`.
tools/xtask-llm-benchmark/src/bench/analysis.rs:84
↓ 1 callersFunctionread_hash_from_col
Read a [`Hash`] directly from the column `col` in `row`. The [`Hash`] is assumed to be stored as a flat byte array.
crates/datastore/src/system_tables.rs:1565
↓ 1 callersMethodread_i16
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:218
↓ 1 callersMethodread_i16_le
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:65
↓ 1 callersMethodread_i32
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:219
↓ 1 callersMethodread_i8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:217
↓ 1 callersMethodread_i8
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:64
↓ 1 callersFunctionread_lines
(file: &mut File, num_lines: u32)
crates/core/src/database_logger.rs:542
↓ 1 callersFunctionread_spacetimedb_cpp_version
(cmake_path: &Path)
crates/smoketests/tests/smoketests/templates.rs:257
↓ 1 callersMethodread_string
* Read a UTF-8 string and convert to FString * @return FString containing the deserialized string */
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:239
↓ 1 callersFunctionread_table
(table: &'a toml_edit::Table, key: &'a str)
crates/cli/src/config.rs:65
↓ 1 callersMethodread_table_id
Assuming that a `TableId` is stored as the first field in `row`, read it.
crates/datastore/src/locking_tx_datastore/replay.rs:1026
↓ 1 callersMethodread_u128_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:70
↓ 1 callersMethodread_u128_le
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:70
↓ 1 callersMethodread_u16
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:214
↓ 1 callersMethodread_u16_le
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:39
↓ 1 callersMethodread_u32
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:215
↓ 1 callersMethodread_var
Read the value of a system variable from `st_var`
crates/engine/src/relational_db.rs:1551
↓ 1 callersMethodreads_from_event_table
Does this plan use an event table as the lookup (rhs) table in a semi-join?
crates/physical-plan/src/plan.rs:143
↓ 1 callersFunctionreal_getrandom
()
crates/runtime/src/sim_std.rs:152
↓ 1 callersMethodrebuild_state_after_replay
The purpose of this is to rebuild the state of the datastore after having inserted all of rows from the message log. This is necessary because, for ex
crates/datastore/src/locking_tx_datastore/replay.rs:489
↓ 1 callersMethodreceive
(self)
crates/core/src/host/v8/mod.rs:785
↓ 1 callersMethodreceiver
(&self)
crates/runtime/src/sim/executor/mod.rs:619
↓ 1 callersMethodrecheck_cla
(&self, repo: &Repo, pr_number: u64)
tools/ci/src/cla_assistant.rs:187
↓ 1 callersMethodreclaim
(&mut self)
crates/client-api/src/routes/subscribe.rs:1409
↓ 1 callersMethodrecompute_key_type
Recomputes the key type of the index. Assumes that `row_type` is layout compatible with the row type that `self` was constructed with. The method may
crates/table/src/table_index/mod.rs:1906
↓ 1 callersMethodreconstruct_blob_store
Construct a [`HashMapBlobStore`] containing all the blobs referenced in `self`, reading their data from files in the `object_repo`. Fails if any of t
crates/snapshot/src/lib.rs:487
↓ 1 callersFunctionreconstruct_external_uri
Return the URI that would have been in the original request, including scheme, domain and full path. This is necessary because Axum strips the URI as
crates/client-api/src/routes/database.rs:321
↓ 1 callersMethodreconstruct_num_rows
Use this page's present rows bitvec to compute the number of present rows. This can be compared with [`Self::num_rows`] as a consistency check during
crates/table/src/page.rs:1192
↓ 1 callersMethodreconstruct_num_var_len_granules
# Safety - `var_len_visitor` must be a valid [`VarLenMembers`] visitor specialized to the type and layout of rows within this [`Page`]. - `fixed_row_
crates/table/src/page.rs:1218
↓ 1 callersMethodreconstruct_tables
Reconstruct all the table data from `self`, reading pages from files in the `object_repo`. This method cannot construct [`Table`] objects because doi
crates/snapshot/src/lib.rs:589
↓ 1 callersMethodrecord
(&self, metrics: &ExecutionMetrics)
crates/engine/src/metrics.rs:146
↓ 1 callersFunctionrecordRoomMessage
(roomId: number)
tools/llm-sequential-upgrade/perf-benchmark/optimized-reference/pg-index-optimized.ts:48
↓ 1 callersMethodrecord_index_scan_point
( &mut self, op: &FuncCallType, table_id: TableId, index_id: IndexId,
crates/datastore/src/locking_tx_datastore/mut_tx.rs:351
↓ 1 callersMethodrecord_index_scan_range
( &mut self, op: &FuncCallType, table_id: TableId, index_id: IndexId,
crates/datastore/src/locking_tx_datastore/mut_tx.rs:314
↓ 1 callersMethodrecord_index_scan_range_inner
( &mut self, view: &ViewCallInfo, table_id: TableId, index_id: IndexId,
crates/datastore/src/locking_tx_datastore/mut_tx.rs:333
↓ 1 callersFunctionrecord_memory_size
(store: &mut Store<WasmInstanceEnv>)
crates/core/src/host/wasmtime/wasmtime_module.rs:954
↓ 1 callersMethodrecord_memory_size
Record an observation in [`Self::linear_memory_size_metric`].
crates/core/src/host/wasmtime/wasm_instance_env.rs:290
↓ 1 callersFunctionrecord_metrics
( MetricsMessage { reducer, metrics_for_writer, metrics_for_reader, tx_dat
crates/engine/src/lib.rs:69
↓ 1 callersMethodrecord_reducer
( &self, _fingerprint: &FunctionFingerprint<'_>, _execution_budget_used: FunctionBudge
crates/core/src/energy.rs:36
↓ 1 callersMethodrecreate_instance
(self)
crates/core/src/host/v8/mod.rs:909
↓ 1 callersFunctionrecurse
(from: &Path, to: &Path)
tools/xtask-llm-benchmark/src/bench/templates.rs:72
↓ 1 callersFunctionrecurse_dir
(dir: &Path, acc: &mut Vec<PathBuf>)
tools/xtask-llm-benchmark/src/context/hashing.rs:108
↓ 1 callersMethodrecv_many
(&mut self, buf: &mut Vec<OutboundMessage>, max: usize)
crates/client-api/src/routes/subscribe.rs:1072
↓ 1 callersMethodrecv_message
(&mut self)
crates/testing/src/modules.rs:125
↓ 1 callersMethodrecv_reducer_update
(&mut self, request_id: RequestId)
crates/testing/src/modules.rs:130
↓ 1 callersFunctionreducer
(args: StdTokenStream, item: StdTokenStream)
crates/bindings-macro/src/lib.rs:42
↓ 1 callersFunctionreducer_args_to_value
Converts `args` into a `Value`.
crates/core/src/host/v8/syscall/v2.rs:494
↓ 1 callersMethodreducer_call_params
( &'a self, caller_identity: Identity, caller_connection_id: Option<ConnectionId>,
crates/core/src/host/module_host.rs:2227
↓ 1 callersFunctionreducer_call_params_for_queued_item
( module: &ModuleInfo, db: &RelationalDB, tx: &MutTxId, item: QueueItem, )
crates/core/src/host/scheduler.rs:725
↓ 1 callersMethodreducer_ids_and_defs
Returns an iterator over all reducer ids and definitions.
crates/schema/src/def.rs:214
↓ 1 callersFunctionreducer_impl
(args: ReducerArgs, original_function: &ItemFn)
crates/bindings-macro/src/reducer.rs:95
↓ 1 callersMethodreducer_name
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:1567
↓ 1 callersFunctionreducer_outcome_response
( owner_identity: &Identity, reducer: &str, outcome: ReducerOutcome, )
crates/client-api/src/routes/database.rs:423
↓ 1 callersFunctionreducer_variant_name
(reducer_name: &ReducerName)
crates/codegen/src/rust.rs:1108
↓ 1 callersFunctionreducers
(spacetimedb)
modules/sdk-test-ts/src/index.ts:125
↓ 1 callersFunctionreducersToSchema
(reducers: T)
crates/bindings-typescript/src/sdk/reducers.ts:76
↓ 1 callersFunctionreformat_query_rows
Convert v3 initial subscription rows to the normalized table output map.
crates/cli/src/subcommands/subscribe.rs:737
↓ 1 callersFunctionreformat_transaction_update
Convert a v3 transaction update to the normalized table output map.
crates/cli/src/subcommands/subscribe.rs:760
↓ 1 callersFunctionreformat_update_v1
Convert a v1 JSON-format database update to the normalized table output map.
crates/cli/src/subcommands/subscribe.rs:698
↓ 1 callersFunctionrefresh_views_then_commit_and_broadcast
Refreshes stale views, commits transaction, and broadcasts subscription updates.
crates/core/src/host/scheduler.rs:686
↓ 1 callersMethodrefs_with_types
Iterate over types in the typespace with their references.
crates/sats/src/typespace.rs:198
↓ 1 callersFunctionregen_dlls
()
tools/regen/src/csharp.rs:186
↓ 1 callersMethodregister
Mark down the given `hook` as registered, returning an error if it already was.
crates/core/src/host/v8/syscall/hooks.rs:131
↓ 1 callersMethodregisterAndGetIndex
crates/bindings-cpp/src/internal/module_type_registration.cpp:178
↓ 1 callersMethodregisterCallbacks
(connection: DbConnection)
demo/Blackholio/client-ts/src/game/GameManager.ts:91
↓ 1 callersFunctionregisterHttpHandler
( ctx: SchemaInner, exportName: string, fn: HandlerFn<S>, opts?: HttpHandlerOpts )
crates/bindings-typescript/src/server/http_handlers.ts:389
↓ 1 callersMethodregisterOnConnect
(cb: (conn: MockConnection) => void)
crates/bindings-typescript/tests/connection_manager.test.ts:109
↓ 1 callersMethodregisterOnConnectError
( cb: (ctx: ErrorContextInterface, error: Error) => void )
crates/bindings-typescript/tests/connection_manager.test.ts:119
↓ 1 callersMethodregisterOnDisconnect
( cb: (ctx: ErrorContextInterface, error?: Error) => void )
crates/bindings-typescript/tests/connection_manager.test.ts:113
↓ 1 callersFunctionregisterProcedure
( ctx: SchemaInner, exportName: string, params: Params, ret: Ret, fn: ProcedureFn<S, Params, Ret>,
crates/bindings-typescript/src/server/procedures.ts:100
↓ 1 callersFunctionregisterReducer
( ctx: SchemaInner, exportName: string, params: RowObj | RowBuilder<RowObj>, fn: Reducer<any, any>,
crates/bindings-typescript/src/server/reducers.ts:55
↓ 1 callersMethodregisterSubscription
( handle: SubscriptionHandleImpl<RemoteModule>, handleEmitter: EventEmitter< SubscribeEvent,
crates/bindings-typescript/src/sdk/db_connection_impl.ts:491
↓ 1 callersFunctionregister_callbacks
Register callbacks for procedures and tables
modules/sdk-test-procedure-cpp/client/src/main.rs:86
↓ 1 callersFunctionregister_callbacks
Register all the callbacks our app will use to respond to database events.
templates/chat-console-rs/src/main.rs:93
↓ 1 callersMethodregister_lifecycle
(&mut self, lifecycle: Lifecycle, reducer_id: ReducerId)
crates/schema/src/def/validate/v9.rs:871
← previousnext →9,801–9,900 of 27,764, ranked by callers