Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ functions
Functions
27,764 in github.com/clockworklabs/SpacetimeDB
⨍
Functions
27,764
◇
Types & classes
9,245
Method
from_string
(str: String)
crates/data-structures/src/slim_slice.rs:705
Method
from_string
Generate a hash from a query string.
crates/core/src/subscription/execution_unit.rs:33
Method
from_string
Create body from UTF-8 string
crates/bindings-cpp/include/spacetimedb/http.h:134
Method
from_string
Construct [`Self`] from a string, or `None` if the string is longer than `N`.
crates/commitlog/src/varchar.rs:40
Method
from_string_and_identity
Parameterized queries must include the caller identity in their hash.
crates/core/src/subscription/execution_unit.rs:41
Method
from_string_truncate
Move the given string into `Self` if its length does not exceed `N`, or truncate it to the appropriate length. In case of truncation, the resulting s
crates/commitlog/src/varchar.rs:49
Method
from_system
Returns a set of parameters for an internal call without a client/caller/request_id.
crates/core/src/host/module_host.rs:757
Method
from_system_time
Convert a [`SystemTime`] into a [`Timestamp`] which refers to approximately the same point in time. This conversion may panic if `system_time` is out
crates/sats/src/timestamp.rs:107
Method
from_tasks_auto
( spec_file: &'static str, scorers_with_route: impl Fn(Lang, &str, &str) -> Vec<Box<dyn Scorer
tools/xtask-llm-benchmark/src/eval/spec.rs:17
Method
from_time_duration_since_unix_epoch
(time_duration: TimeDuration)
crates/sats/src/timestamp.rs:52
Method
from_trace
Converts a V8 [`StackTrace`] into one independent of `'scope`.
crates/core/src/host/v8/error.rs:364
Method
from_tx_data
Construct the btree indexes required by the subscription manager for this delta table.
crates/core/src/subscription/tx.rs:45
Method
from_txes
(txes: impl IntoIterator<Item = Txdata>)
crates/engine/src/relational_db.rs:2278
Method
from_u128
(__connection_id__: u128)
crates/lib/src/connection_id.rs:60
Method
from_u128
Create a UUID from a u128 value
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:78
Method
from_u128
(u: u128)
crates/sats/src/uuid.rs:234
Method
from_u256
Converts `__identity__: u256` to `Identity`.
crates/lib/src/identity.rs:179
Method
from_u256
(val: u256)
crates/sats/src/hash.rs:32
Method
from_u32
(v: u32)
crates/lib/src/lib.rs:85
Method
from_u64
Factory method for clarity (high, low parameter order)
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/types.h:125
Method
from_u64
Create a UUID from high and low 64-bit values
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:83
Method
from_u64
Factory method for clarity (high, low parameter order)
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:132
Method
from_u64
(u: u64)
crates/table/benches/page_manager.rs:108
Method
from_u64
(u: u64)
crates/table/benches/page.rs:102
Method
from_used
(budget: FunctionBudget, used: FunctionBudget)
crates/core/src/host/wasm_common/module_host_actor.rs:126
Method
from_usize
(x: usize)
crates/table/src/table_index/unique_direct_index.rs:48
Method
from_value
(value: &AlgebraicValue)
crates/sats/src/algebraic_type.rs:370
Method
from_value
(value: &AlgebraicValue)
crates/sats/src/sum_type.rs:274
Method
from_value
(value: &AlgebraicValue)
crates/sats/src/product_type.rs:304
Method
from_vec
(vec: Vec<T>)
crates/data-structures/src/slim_slice.rs:426
Method
from_view_column_def
(module_def: &ModuleDef, def: &ViewColumnDef)
crates/schema/src/schema.rs:1131
Method
from_view_def_for_codegen
Generates a [`TableSchema`] for the purpose of client codegen. This is the schema defined in the module. It does not have any internal columns like t
crates/schema/src/schema.rs:726
Method
from_view_def_for_datastore
Generate a [`TableSchema`] for the purpose of materializing in the datastore. Note, every view is materialized by default. For example: ```rust,ignor
crates/schema/src/schema.rs:812
Method
from_writes
(tx_data: &TxData)
crates/core/src/host/module_host.rs:101
Method
fsync
(&mut self)
crates/commitlog/src/repo/fs.rs:144
Method
fsync
(&mut self)
crates/commitlog/src/repo/mem/segment.rs:182
Method
fsync
(&mut self)
crates/commitlog/src/tests/partial.rs:207
Function
ftruncate
()
crates/commitlog/src/repo/mem.rs:271
Method
ftruncate
(&mut self, _tx_offset: u64, size: u64)
crates/commitlog/src/repo/mem/segment.rs:186
Method
ftruncate
(&mut self, tx_offset: u64, size: u64)
crates/commitlog/src/tests/partial.rs:211
Method
full
( extra_tx_offset_sender: oneshot::Sender<TxOffset>, tx_data: Option<Arc<TxData>>, tx_
crates/core/src/subscription/module_subscription_actor.rs:1985
Method
fullname
(&self)
crates/bench/src/bin/summarize.rs:303
Function
function_to_procedure_call_params
( module: &ModuleInfo, name: &str, args: FunctionArgs, at: Option<Timestamp>, )
crates/core/src/host/scheduler.rs:788
Function
function_to_reducer_call_params
( module: &ModuleInfo, name: &str, args: FunctionArgs, at: Option<Timestamp>, )
crates/core/src/host/scheduler.rs:770
Method
game_loop_enemy_ia
(ReducerContext ctx, ulong players)
modules/benchmarks-cs/ia_loop.cs:328
Method
gather_metrics
(&self)
crates/standalone/src/lib.rs:164
Method
gather_metrics
(&self)
crates/client-api/src/lib.rs:483
Method
gen
crates/bindings-cpp/include/spacetimedb/random.h:158
Method
gen_bool
Generate a random boolean
crates/bindings-cpp/include/spacetimedb/random.h:248
Method
gen_double
Generate a random double in [0, 1)
crates/bindings-cpp/include/spacetimedb/random.h:243
Method
gen_float
Generate a random float in [0, 1)
crates/bindings-cpp/include/spacetimedb/random.h:238
Method
gen_for_ranged
Returns a strategy generating a ranged index kind.
crates/table/src/table_index/mod.rs:2637
Function
gen_primitive_ty_and_val
()
crates/table/src/table_index/mod.rs:2696
Function
gen_row_and_cols
()
crates/table/src/table_index/mod.rs:2625
Function
gen_row_pointer
()
crates/table/src/pointer_map.rs:359
Function
gen_size_and_ptrs
()
crates/datastore/src/locking_tx_datastore/delete_table.rs:243
Function
gen_two_ptr_vecs
()
crates/datastore/src/locking_tx_datastore/delete_table.rs:247
Function
gen_txdata
(pv: ProductValue)
crates/commitlog/src/payload/txdata.rs:645
Function
gen_valid_domain_name
()
crates/client-api-messages/src/name/tests.rs:12
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/anthropic.rs:33
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/openai.rs:32
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/openrouter.rs:38
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/google.rs:26
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/deepseek.rs:24
Method
generate
(&self, model: &str, prompt: &BuiltPrompt)
tools/xtask-llm-benchmark/src/llm/clients/meta.rs:25
Method
generate
()
crates/core/src/auth/mod.rs:42
Method
generate
()
crates/commitlog/src/tests/bitflip.rs:68
Method
generateConstraintsForPrimaryKey
Helper function to generate constraints for primary key
crates/bindings-cpp/src/internal/v9_builder.cpp:212
Method
generateIndexesForPrimaryKey
Helper function to generate indexes for primary key
crates/bindings-cpp/src/internal/v9_builder.cpp:249
Method
generate_algebraic_type_special
Special generation for AlgebraicType to handle circular dependencies
crates/codegen/src/cpp.rs:378
Method
generate_cols_name
Concatenate the column names from the `columns` WARNING: If the `ColId` not exist, is skipped. TODO(Tyler): This should return an error and not allow
crates/schema/src/schema.rs:381
Method
generate_global_files
(&self, module: &ModuleDef, options: &CodegenOptions)
crates/codegen/src/rust.rs:600
Method
generate_global_files
(&self, module: &ModuleDef, options: &CodegenOptions)
crates/codegen/src/unrealcpp.rs:788
Method
generate_global_files
(&self, _module: &ModuleDef, _options: &CodegenOptions)
crates/codegen/src/cpp.rs:629
Method
generate_global_files
(&self, module: &ModuleDef, options: &CodegenOptions)
crates/codegen/src/csharp.rs:964
Method
generate_global_files
(&self, module: &ModuleDef, options: &CodegenOptions)
crates/codegen/src/typescript.rs:156
Function
generate_len
()
crates/table/src/var_len.rs:586
Function
generate_non_compound
Generates an `AlgebraicValue` for values `Val: Arbitrary`.
crates/sats/src/proptest.rs:113
Method
generate_procedure_file
(&self, module: &ModuleDef, procedure: &ProcedureDef)
crates/codegen/src/rust.rs:513
Method
generate_procedure_file
( &self, module: &ModuleDef, procedure: &spacetimedb_schema::def::ProcedureDef, )
crates/codegen/src/unrealcpp.rs:622
Method
generate_procedure_file
( &self, _module: &ModuleDef, procedure: &spacetimedb_schema::def::ProcedureDef, )
crates/codegen/src/cpp.rs:601
Method
generate_procedure_file
( &self, module: &ModuleDef, procedure: &spacetimedb_schema::def::ProcedureDef, )
crates/codegen/src/csharp.rs:857
Method
generate_procedure_file
( &self, module: &ModuleDef, procedure: &spacetimedb_schema::def::ProcedureDef, )
crates/codegen/src/typescript.rs:117
Method
generate_reducer_file
(&self, module: &ModuleDef, reducer: &ReducerDef)
crates/codegen/src/rust.rs:374
Method
generate_reducer_file
(&self, module: &ModuleDef, reducer: &ReducerDef)
crates/codegen/src/unrealcpp.rs:424
Method
generate_reducer_file
(&self, _module: &ModuleDef, reducer: &ReducerDef)
crates/codegen/src/cpp.rs:581
Method
generate_reducer_file
(&self, module: &ModuleDef, reducer: &spacetimedb_schema::def::ReducerDef)
crates/codegen/src/csharp.rs:753
Method
generate_reducer_file
(&self, module: &ModuleDef, reducer: &ReducerDef)
crates/codegen/src/typescript.rs:93
Method
generate_table_file
(&self, module: &ModuleDef, tbl: &TableDef)
crates/codegen/src/lib.rs:57
Method
generate_table_file_from_schema
(&self, module: &ModuleDef, table: &TableDef, schema: TableSchema)
crates/codegen/src/rust.rs:102
Method
generate_table_file_from_schema
(&self, module: &ModuleDef, table: &TableDef, schema: TableSchema)
crates/codegen/src/unrealcpp.rs:43
Method
generate_table_file_from_schema
(&self, module: &ModuleDef, table: &TableDef, schema: TableSchema)
crates/codegen/src/csharp.rs:506
Method
generate_table_file_from_schema
e.g. ```ts table({ name: 'player', indexes: [ { accessor: 'this_is_an_index', name: 'this_is_an_index', algorithm: "btree", columns: [ "ownerId" ], }
crates/codegen/src/typescript.rs:56
Method
generate_type_files
(&self, module: &ModuleDef, typ: &TypeDef)
crates/codegen/src/rust.rs:30
Method
generate_type_files
(&self, module: &ModuleDef, typ: &TypeDef)
crates/codegen/src/unrealcpp.rs:395
Method
generate_type_files
(&self, module: &ModuleDef, type_def: &TypeDef)
crates/codegen/src/cpp.rs:518
Method
generate_type_files
(&self, module: &ModuleDef, typ: &TypeDef)
crates/codegen/src/csharp.rs:739
Method
generate_type_files
(&self, _module: &ModuleDef, _typ: &TypeDef)
crates/codegen/src/typescript.rs:33
Function
generate_typed_row
Generates a row type `ty` and a row value typed at `ty`.
crates/sats/src/proptest.rs:223
Function
generate_typed_row_vec
( size: impl Into<SizeRange>, num_rows_min: usize, num_rows_max: usize, )
crates/sats/src/proptest.rs:227
← previous
next →
20,501–20,600 of 27,764, ranked by callers