MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

Methodfrom_env
Build from environment variables `LLM_BENCHMARK_UPLOAD_URL` and `LLM_BENCHMARK_API_KEY`. Returns `None` if `LLM_BENCHMARK_UPLOAD_URL` is not set.
tools/xtask-llm-benchmark/src/api/client.rs:34
Methodfrom_event_and_update
(event: &ModuleEvent, update: SwitchedDbUpdate)
crates/core/src/client/messages.rs:490
Methodfrom_event_inserts
For event tables: construct a `TableAppliedDiff` with just inserts, without touching the client cache. Each insert will fire `on_insert` callbacks.
sdks/rust/src/client_cache.rs:119
Methodfrom_extension
(ext: &str)
crates/standalone/src/subcommands/extract_schema.rs:38
Methodfrom_frame
Converts a V8 [`StackFrame`] into one independent of `'scope`.
crates/core/src/host/v8/error.rs:448
Methodfrom_heap
Constructs a list in heap form from `vec`.
crates/primitives/src/col_list.rs:133
Methodfrom_hex
(hex: impl AsRef<[u8]>)
crates/lib/src/identity.rs:245
Methodfrom_hex
Parse a hexadecimal string into a `ConnectionId`.
crates/lib/src/connection_id.rs:111
Methodfrom_hex
(hex: impl AsRef<[u8]>)
crates/sats/src/hash.rs:48
Methodfrom_hours
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:33
Methodfrom_hours
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:33
Methodfrom_i128
Constructs an `AlgebraicValue` from an `i128` according to the given `AlgebraicType`. Returns `None` if the type is not a supported integer type.
crates/sats/src/algebraic_value.rs:313
Methodfrom_i64
Factory method for clarity (high, low parameter order)
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/types.h:208
Methodfrom_i64
Factory method for clarity (high, low parameter order)
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:215
Methodfrom_index
(&self, i: usize)
crates/schema/src/type_for_generate.rs:662
Methodfrom_inline
Constructs a list from a `u64` bitset where the highest bit is unset. Panics in debug mode if the highest bit is set.
crates/primitives/src/col_list.rs:121
Methodfrom_is_unique
Creates a new `Constraints` instance that is [`Self::unique`] if `is_unique` and [`Self::indexed`] otherwise.
crates/primitives/src/attr.rs:157
Methodfrom_iter
(iter: T)
crates/client-api-messages/src/websocket/v1.rs:556
Methodfrom_iter
(iter: T)
crates/data-structures/src/slim_slice.rs:571
Methodfrom_iter
(iter: T)
crates/core/src/host/module_host.rs:86
Methodfrom_iter
(iter: T)
crates/core/src/subscription/module_subscription_manager.rs:375
Methodfrom_iter
(iter: T)
crates/lib/src/http.rs:113
Methodfrom_iter
(iter: I)
crates/client-api/src/util/flat_csv.rs:96
Methodfrom_iter
(iter: T)
crates/table/src/pointer_map.rs:339
Methodfrom_iter
(iter: T)
crates/sats/src/typespace.rs:222
Methodfrom_iter
(iter: T)
crates/sats/src/product_value.rs:29
Methodfrom_iter
(iter: T)
crates/sats/src/product_type.rs:247
Methodfrom_iter
(iter: T)
crates/schema/src/auto_migrate.rs:849
Methodfrom_iter
(iter: I)
crates/primitives/src/col_list.rs:69
Methodfrom_jwt_payload
crates/bindings-cpp/include/spacetimedb/auth_ctx.h:146
Methodfrom_jwt_payload
Creates an [`AuthCtx`] using the json claims from a [JWT]. This can be used to write unit tests. [JWT]: https://en.wikipedia.org/wiki/JSON_Web_Token
crates/bindings/src/lib.rs:1586
Methodfrom_le_byte_array
Create an `ConnectionId` from a little-endian byte array. If you are parsing an `ConnectionId` from a string, you probably want [`Self::from_be_byte_
crates/lib/src/connection_id.rs:74
Methodfrom_len_ptr
(len: usize, ptr: *mut T)
crates/data-structures/src/slim_slice.rs:258
Methodfrom_memory_usage
(bytes_stored: u64, storage_period: Duration)
crates/client-api-messages/src/energy.rs:42
Methodfrom_message
(msg: WsMessage)
crates/client-api/src/routes/subscribe.rs:1853
Methodfrom_metrics
(metrics: &ExecutionMetrics)
crates/client-api-messages/src/http.rs:25
Methodfrom_micros
Factory methods
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:29
Methodfrom_micros
Factory methods
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:29
Methodfrom_micros
Construct a [`TimeDuration`] which is `micros` microseconds.
crates/sats/src/time_duration.rs:34
Methodfrom_micros_since_epoch
Factory methods
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:29
Methodfrom_micros_since_epoch
Factory methods
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:29
Methodfrom_micros_since_unix_epoch
Construct a [`Timestamp`] which is `micros` microseconds offset from [`Self::UNIX_EPOCH`]. A positive value means a time after the Unix epoch, and a
crates/sats/src/timestamp.rs:46
Methodfrom_millis
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:30
Methodfrom_millis
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:30
Methodfrom_millis_since_epoch
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:33
Methodfrom_millis_since_epoch
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:33
Methodfrom_minutes
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:32
Methodfrom_minutes
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:32
Methodfrom_module_def
N.B. This implementation gives all children ID 0 (the auto-inc sentinel value.)
crates/schema/src/schema.rs:921
Methodfrom_mut
(tx_data: Arc<TxData>, tx_metrics_mut: TxMetrics)
crates/core/src/subscription/module_subscription_actor.rs:1997
Methodfrom_name
Create a new `ScopedTypeName` with an empty scope.
crates/schema/src/def.rs:1524
Methodfrom_offsets
Returns an [`AlignedVarLenOffsets`] using `offsets`.
crates/table/src/var_len.rs:423
Methodfrom_one_with_capacity
Returns a singleton array with `val` as its only element. Optionally allocates the backing `Vec<_>`s with `capacity`.
crates/sats/src/algebraic_value/ser.rs:335
Methodfrom_path
(path: P)
crates/bench/src/bin/summarize.rs:242
Methodfrom_path_imp
(path: &Path)
crates/bench/src/bin/summarize.rs:253
Methodfrom_paths
(paths: &SpacetimePaths)
crates/paths/src/lib.rs:200
Methodfrom_physical_plan
(plan: &PhysicalPlan)
crates/subscription/src/lib.rs:303
Methodfrom_pinned_cores
Construct a [`JobCores`] which runs one Tokio runtime on each of the `cores`, and pins each database to a particular runtime/core. If `cores` is empt
crates/core/src/util/jobs.rs:87
Methodfrom_product
Create a `TableDef` from a product type and table name. NOTE: If the [ProductType.name] is `None` then it auto-generate a name like `col_{col_pos}`
crates/lib/src/db/raw_def/v8.rs:444
Methodfrom_product_ref
(prod: &ProductValue)
crates/sats/src/algebraic_value/de.rs:27
Methodfrom_product_type
Convert a product type to a list of column definitions.
crates/lib/src/db/raw_def/v8.rs:184
Methodfrom_product_type
(ty: ProductType)
crates/schema/src/schema.rs:225
Methodfrom_random_bytes_v4
* Create a UUID v4 from explicit random bytes. * * This method assumes the bytes are already sufficiently random. * It only sets the a
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:96
Methodfrom_random_bytes_v4
Create a UUID `v4` from explicit random bytes. This method assumes the bytes are already sufficiently random, it will only set the appropriate bits f
crates/sats/src/uuid.rs:82
Methodfrom_range_bounds
(b: impl RangeBounds<u64>)
crates/commitlog/src/stream/common.rs:87
Methodfrom_ref
Converts `&T` to `&SerializeWrapper<T>`.
crates/sats/src/lib.rs:67
Methodfrom_ref
Converts `&T` to `&Wrapper<T>`.
crates/sats/src/satn.rs:55
Methodfrom_ref
Converts `&AlgebraicValue` to `&ValueDeserializer`.
crates/sats/src/algebraic_value/de.rs:22
Methodfrom_request
(req: Request, state: &S)
crates/client-api/src/util.rs:28
Methodfrom_request_parts
Extract credentials from the headers or else query string of a request.
crates/client-api/src/auth.rs:66
Methodfrom_request_parts
(parts: &mut http::request::Parts, _state: &S)
crates/client-api/src/util/websocket.rs:84
Methodfrom_requirement
Create a code error from a code.
crates/core/src/host/v8/error.rs:246
Methodfrom_result
(res: &Result<ProcedureCallResult, ProcedureCallError>, request_id: RequestId)
crates/core/src/client/messages.rs:785
Methodfrom_return_data
(data: ViewReturnData)
crates/core/src/host/wasm_common/module_host_actor.rs:308
Methodfrom_root_dir
(dir: &RootDir)
crates/paths/src/lib.rs:257
Methodfrom_row_ref
Serializes the columns `cols` in `row_ref` to a [`BytesKey<N>`]. It's assumed that `row_ref` projected to `cols` will fit into `N` bytes when seriali
crates/table/src/table_index/bytes_key.rs:247
Methodfrom_row_ref
(key_type: &AlgebraicType, index: &TypedIndex, cols: &ColList, row_ref: RowRef<'_>)
crates/table/src/table_index/mod.rs:622
Methodfrom_seconds
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:31
Methodfrom_seconds
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:31
Methodfrom_seconds_since_epoch
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:37
Methodfrom_seconds_since_epoch
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:37
Methodfrom_sender
(sender: Identity)
crates/execution/src/lib.rs:25
Methodfrom_shared
(space: SpaceOnDevice, storage: SharedLock<Storage>)
crates/commitlog/src/repo/mem/segment.rs:74
Methodfrom_signed_token
(token: String)
crates/client-api/src/auth.rs:42
Methodfrom_slice
(s: &[u8])
crates/standalone/src/control_db.rs:645
Methodfrom_slice
(v: &[u8])
crates/core/src/host/wasmtime/mod.rs:311
Methodfrom_slice_mut
(v: &mut [u8])
crates/core/src/host/wasmtime/mod.rs:307
Methodfrom_slice_unchecked
Converts a `&[T]` to the limited version without length checking. SAFETY: `slice.len() <= u32::MAX` must hold.
crates/data-structures/src/slim_slice.rs:891
Methodfrom_sql
(ty: &Type, raw: &[u8])
crates/sqltest/src/pg.rs:146
Methodfrom_sql_null
(_ty: &Type)
crates/sqltest/src/pg.rs:209
Methodfrom_stats
(stats: &v8::HeapStatistics)
crates/core/src/host/v8/mod.rs:994
Methodfrom_str
(s: &str)
tools/xtask-llm-benchmark/src/eval/lang.rs:29
Methodfrom_str
(s: &str)
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:34
Methodfrom_str
(s: &str)
crates/client-api-messages/src/name.rs:266
Methodfrom_str
(s: &str)
crates/datastore/src/system_tables.rs:1682
Methodfrom_str
(s: &str)
crates/lib/src/identity.rs:273
Methodfrom_str
(s: &str)
crates/cli/src/subcommands/init.rs:73
Methodfrom_str
(s: &str)
crates/commitlog/src/varchar.rs:18
Methodfrom_str_truncate
Construct [`Self`] from a string slice, or allocate a new string containing the first `N` bytes of the slice if it is longer than `N` bytes. In case
crates/commitlog/src/varchar.rs:28
Methodfrom_str_unchecked
(s: &'a str)
crates/data-structures/src/slim_slice.rs:1231
← previousnext →20,401–20,500 of 27,764, ranked by callers