Expand description
Core utilities, data structures, and algorithms for the OxiHuman engine.
This crate is the foundational layer of the OxiHuman workspace. It provides
everything that other crates depend on: parsers for .obj and .target
files, the Policy / PolicyProfile system for content filtering,
spatial indexing with an octree, asset hashing, event buses, undo/redo
stacks, plugin registries, and dozens of supporting subsystems.
§Quick start
use oxihuman_core::policy::{Policy, PolicyProfile};
use oxihuman_core::parser::obj::parse_obj;
let obj_src = "v 0 0 0\nv 1 0 0\nv 0 1 0\nvn 0 0 1\nvt 0 0\nf 1/1/1 2/1/1 3/1/1\n";
let mesh = parse_obj(obj_src).expect("OBJ parse failed");
assert_eq!(mesh.positions.len(), 3);
let policy = Policy::new(PolicyProfile::Standard);
assert!(policy.is_target_allowed("height", &[]));§Content policy
All morph targets are filtered through a Policy before they can affect
a mesh. PolicyProfile::Standard blocks targets whose names or tags
contain explicit-content keywords. PolicyProfile::Strict additionally
requires targets to appear in an explicit allowlist.
Modules§
- aabb_
tree_ 2d - 2D AABB tree for overlap and point-containment queries.
- ab_
test_ config - A/B testing configuration.
- access_
map - Key-value access tracking map that records read/write counts per key.
- action_
map - aggregate_
root - aho_
corasick - Aho-Corasick multi-pattern string search stub.
- aho_
corasick_ stub - Real Aho-Corasick multi-pattern string search automaton.
- animation_
curve - Keyframe animation curve with lerp/cubic interpolation.
- anomaly_
scorer - Z-score anomaly detector.
- archive_
reader - ZIP archive reader stub.
- archive_
writer - ZIP archive writer stub.
- arena_
str - argument_
parser - Minimal key=value / flag argument parser.
- array_
stack - Fixed-capacity stack backed by a
Vecwith a maximum size. - asset_
cache - LRU asset cache with size limits and eviction.
- asset_
hash - Content-addressed asset tracking using a rolling FNV-inspired hash.
- asset_
pack_ builder - Alpha asset pack builder for OxiHuman.
- async_
queue - atomic_
counter_ stub - audit_
log - Audit event log with tamper hash.
- avl_map
- AVL tree map stub — self-balancing BST with height-balance invariant.
- avl_
tree - AVL tree (height-balanced BST) with insert and lookup.
- avro_
codec - Apache Avro codec stub.
- b_tree
- B-tree with configurable order for range scans.
- b_
tree_ simple - Simple B-tree stub backed by a sorted Vec of (key, value) pairs.
- b_
tree_ v2 - B-tree v2 — simple order-4 B-tree (2-3-4 tree) map stub.
- base58_
codec - Base58 encode/decode (Bitcoin alphabet).
- base64_
codec - Base64 encode/decode (standard alphabet, no external deps).
- base64_
stub - Full-featured Base64 encoder/decoder.
- batch_
processor - batch_
queue - Queue that drains items in fixed-size batches.
- bellman_
ford - Bellman-Ford single-source shortest paths on a weighted directed graph.
- bezier_
curve - Bezier curve evaluation utilities.
- bezier_
path - Cubic Bezier path with eval, split, and length approximation.
- binomial_
heap - Binomial heap stub — min-heap composed of binomial trees.
- bipartite_
match - Bipartite matching stub — Hopcroft-Karp inspired BFS+DFS approach.
- bit_
matrix - Compact boolean matrix (bitset rows with u64 words).
- bit_set
- bitmap_
index - Bitmap-based index for fast set membership and intersection queries.
- bitmask_
flags - bitmask_
ops - Bit manipulation utilities: count, toggle, ranges.
- bitset_
fixed - bloom_
counter - bloom_
filter - bloom_
filter_ counting - Counting bloom filter supporting increment and decrement operations.
- bloom_
filter_ prob - Probabilistic Bloom filter using FNV-1a and djb2 hash functions.
- bloom_
filter_ v3 - Bloom filter v3 — probabilistic membership test using a bit-array.
- bloom_
set - bsp_
tree_ 2d - Binary Space Partitioning (BSP) tree for 2D polygon splitting.
- bucket_
histogram - Fixed-bucket histogram.
- buddy_
allocator - Binary buddy allocator stub — manages a power-of-two address space by recursively splitting and merging “buddy” blocks to satisfy allocations.
- buffer_
pool - Pool of reusable byte buffers to reduce allocation pressure.
- buffer_
slice - bvh_
simple - Simple bounding volume hierarchy (BVH) for 3D primitives.
- byte_
pool - cache_
entry - cache_
line - cache_
policy - Eviction policies for cache systems (LRU, FIFO, LFU scoring).
- calendar_
util - Calendar date arithmetic: Julian day, days-in-month, etc.
- capability_
flags - capacity_
planner - Capacity planning calculator stub.
- capnproto_
stub - Cap’n Proto stub.
- category
- cbor_
codec - CBOR encode/decode stub.
- chain_
buffer - A chain of fixed-size buffers for sequential data storage.
- chain_
map - change_
log - Structured change log entry.
- channel_
pair - channel_
router - Routes messages to named channels based on topic patterns.
- char_
classifier - Character classification utilities.
- checkpoint_
store - checksum_
crc - CRC-8 and CRC-16 checksum computation.
- checksum_
verifier - File checksum verifier (CRC32/SHA256 stub).
- circuit_
breaker - Circuit breaker state machine — open/closed/half-open transitions.
- circular_
buffer - Fixed-capacity circular buffer (ring buffer) for typed elements.
- clipboard
- Clipboard manager for copy/paste operations with typed content.
- clock_
source - clock_
version_ vector - collection_
ops - color_
convert - Color space conversion utilities.
- color_
gradient - Multi-stop color gradient with sampling by t in [0, 1].
- color_
math - color_
palette - Color palette management.
- color_
palette_ gen - Procedural color palette generation utilities.
- color_
quantizer - Median-cut color quantization for RGB palettes.
- color_
space - Color space conversions (sRGB, linear, HSL, HSV, CIE Lab).
- color_
util - Colour utility helpers: conversion, blending, clamping.
- command_
bus - command_
bus_ ddd - command_
list - Ordered list of named commands with priority and enabled flag.
- command_
queue - Command queue for deferred execution with priority levels.
- compact_
hash - compact_
set - Compact ordered set of u32 values backed by a sorted Vec.
- compact_
vec - compression_
brotli - Brotli compression stub.
- compression_
lz4 - LZ4-style block compression stub.
- compression_
pipeline - Multi-stage compression pipeline stub.
- compression_
snappy - Snappy compression stub.
- compression_
stub - compression_
zstd - Zstandard compression stub.
- config_
diff - config_
layer - Layered configuration: base layer overridden by user layer.
- config_
manager - Configuration manager with profiles and layered overrides.
- config_
reader - config_
schema - Typed config schema with validation.
- config_
val - conflict_
marker - Conflict marker parser and renderer.
- content_
negotiation - MIME content negotiation — selects the best media type from Accept headers.
- context_
map - A string-keyed context map for passing heterogeneous values through pipelines.
- convex_
hull_ 2d - 2D convex hull computation using the Graham scan algorithm.
- convex_
hull_ 3d - 3D convex hull (incremental, gift-wrapping / tetrahedra-based stub).
- cookie_
jar - HTTP cookie store — stores, retrieves, and expires cookies.
- copy_
buffer - Fixed-capacity byte buffer with copy-in / copy-out semantics.
- copy_
on_ write - Copy-on-write wrapper stub — shares the inner value between handles until a mutable write is requested, at which point the data is cloned so that other readers remain unaffected.
- count_
min_ sketch - Count-Min Sketch for frequency estimation.
- count_
min_ v2 - Count-Min Sketch v2 — frequency estimation in O(1) space per query.
- counter_
map - crc_
simple - crc_
table - CRC-32 lookup table and incremental checksum computation.
- cron_
parser - Cron expression parser and next-fire-time calculator stub.
- csv_
parser - Simple CSV parser (no external crates).
- cuckoo_
filter - Cuckoo filter — space-efficient probabilistic membership with deletion support.
- cursor_
writer - d_
ary_ heap - d-ary heap — generalized heap where each node has d children.
- data_
pipeline - Data processing pipeline with sequential stages.
- data_
table - date_
range - Date range iterator and overlap check.
- deadline_
tracker - Deadline/SLA tracker.
- debug_
console - Debug console stub — stores and queries log messages with severity levels.
- decay_
counter - decision_
tree - Simple boolean decision tree with leaf actions.
- delaunay_
2d - 2D Delaunay triangulation (Bowyer-Watson algorithm).
- delta_
encoder_ v2 - Delta encoder v2: delta-encode and decode integer sequences with zigzag encoding.
- dep_
graph_ simple - dependency_
resolver - Generic dependency resolver using topological sort (Kahn’s algorithm).
- diff_
tracker - digest_
hash - directory_
scanner - Recursive directory scanner stub.
- disjoint_
set - Union-Find (disjoint set) with path compression and union by rank.
- dispatch_
table - distributed_
trace - Distributed trace context propagation.
- domain_
event - double_
list - double_
map - dual_
quaternion - Dual quaternion for rigid body transforms (rotation + translation).
- duration_
parser - ISO 8601 duration string parser.
- ear_
clip_ triangulate - Ear-clipping polygon triangulation.
- easing_
curves - Easing functions (linear, cubic, elastic, bounce, back, expo).
- easing_
functions - Animation easing functions.
- edit_
distance - String edit-distance algorithms: Levenshtein, Hamming, Jaro.
- edit_
distance_ lev - Levenshtein (edit) distance and related string similarity functions.
- edit_
script - Myers diff edit script generator.
- encryption_
aes - AES-GCM encryption stub.
- encryption_
chacha - ChaCha20-Poly1305 encryption stub.
- endian_
utils - entity_
id - error_
aggregator - error_
audit_ log - error_
log - Error log: a bounded, categorised list of runtime errors.
- escape_
hatch - Escape and unescape utilities for HTML entities and JSON strings.
- event_
bus - Simple synchronous event bus for plugin notifications.
- event_
dispatch - Synchronous event dispatcher with typed handler table.
- event_
log - Event logging and replay system.
- event_
sink - event_
sourcing - experiment_
tracker - Experiment variant tracker.
- feature_
flag - Feature flag registry with toggle support.
- feature_
flags - Feature flag management system.
- feature_
gate - fenwick_
tree - Fenwick tree (Binary Indexed Tree) for prefix sum queries.
- fenwick_
tree_ v2 - Binary indexed tree (Fenwick tree) for prefix-sum queries and point updates.
- fibonacci_
heap - Fibonacci heap stub — min-heap with amortized O(1) insert and decrease-key.
- file_
lock_ stub - File advisory lock stub.
- file_
metadata - File metadata (size, mtime) reader stub.
- file_
transfer_ stub - File transfer protocol stub.
- file_
watcher_ stub - File system watcher with debouncing, glob filtering, event batching, recursive directory watching, and dynamic watch management.
- finger_
tree - Finger tree sequence stub — simulates O(1) push/pop at both ends with amortised O(log n) split/concat, represented here as a thin deque wrapper.
- fiscal_
year - Fiscal year period calculator stub.
- fixed_
array - Fixed-capacity stack-allocated array with runtime length tracking.
- flag_
register - flatbuffer_
stub - FlatBuffers builder stub.
- fletcher_
checksum - floyd_
warshall - Floyd-Warshall all-pairs shortest paths.
- fractal_
noise - Fractal Brownian Motion (fBm) combinator over noise layers.
- frame_
counter - free_
slot - Free-list slot allocator for dense arrays with stable indices.
- frequency_
analyzer - FFT-based frequency analysis via direct DFT computation.
- fsm_
builder - Finite state machine builder.
- fuzzy_
matcher - Fuzzy string matching with score-based ranking.
- gap_
buffer - Gap buffer for text editing — maintains a contiguous gap at the cursor position so that insertions and deletions near the cursor are O(1).
- gc_stub
- Mark-and-sweep GC stub — demonstrates the two-phase collection cycle using object indices instead of actual heap pointers.
- geometry_
2d - geometry_
3d - graph_
articulation - Articulation points and bridges in undirected graphs (Tarjan’s DFS).
- graph_
coloring - Greedy graph coloring algorithm.
- graph_
search - BFS/DFS graph search on adjacency list graphs.
- gray_
code - grid_
index - 2D grid spatial index for fast lookups.
- grpc_
codec - gRPC framing codec stub.
- hamming_
code - hash_
bucket - Hash-bucket map: a simple open-bucket hash table for u64 keys.
- hash_
grid - Spatial hash grid for 2D/3D neighbor queries.
- hash_
map_ open - Open-addressing hash map with linear probing.
- hash_
ring - Consistent hash ring for distributed key mapping.
- hash_
ring_ new - Consistent hash ring using FNV-1a. Nodes sorted by hash.
- hashing_
blake3 - BLAKE3 hash stub.
- hashing_
sha256 - SHA-256 hash stub.
- hashing_
xxhash - xxHash fast hash stub.
- health_
check - Health check result aggregator — collects and summarizes component health.
- health_
monitor - hex_
codec - Hex encode/decode utilities.
- hex_
codec_ new - hex_
grid - Hexagonal grid coordinate system (axial/cube coordinates).
- hilbert_
curve - histogram_
builder - Histogram with configurable bins, count, and normalize.
- histogram_
diff - Histogram diff algorithm stub.
- holiday_
calendar - Holiday calendar stub.
- hot_
reload - File watching / hot-reload detection for assets. Provides a simulated file watcher for testing and integration with real watchers.
- html_
escape - HTML entity escaping/unescaping utilities.
- http_
parser - HTTP/1.1 request/response parser stub.
- http_
retry_ policy - HTTP retry policy with exponential backoff and jitter.
- huffman_
stub - Real Huffman coding implementation with tree construction, canonical codes, bit-level encoding/decoding, and length-limited codes (max 15 bits).
- hyperloglog
- HyperLogLog cardinality estimator.
- hyperloglog_
v2 - HyperLogLog v2 — probabilistic cardinality estimation.
- id_pool
- ID pool: recycles released IDs before allocating new ones.
- indent_
detector - Auto-detect indentation style from source text.
- index_
list - Index list: ordered list of integer indices with fast membership check.
- integrity
- interpolation
- interval_
query - Interval query tree — stores intervals and answers overlap queries.
- interval_
tree - 1D interval tree for range queries.
- interval_
tree_ simple - Simple interval overlap query structure.
- iterator_
utils - json_
patch - JSON Patch (RFC 6902) applier stub.
- json_
pointer - JSON Pointer (RFC 6901) resolver stub.
- json_
schema_ validator - Simple JSON schema validator stub.
- jwt_
codec - JWT encode/decode stub — header.payload.signature (base64url, no crypto).
- kd_tree
- k-d tree for nearest neighbor search in 2D and 3D.
- kd_
tree_ 2d - 2D k-d tree for nearest-neighbor queries.
- kd_
tree_ 3d - 3D k-d tree for nearest-neighbor queries.
- key_
cache - Key cache: string-keyed LRU-style cache with TTL (time-to-live) in frames.
- kmp_
search - Knuth-Morris-Pratt (KMP) pattern search.
- kruskal_
mst - Kruskal’s MST algorithm with union-find.
- lazy_
eval - lazy_
map - Lazy map: values are computed on first access and cached.
- lcp_
array - LCP (Longest Common Prefix) array construction from a suffix array.
- leftist_
heap - Leftist heap stub — min-heap with leftist property (rank of left >= right).
- lexer_
token_ stream - Lexer token stream abstraction.
- line_
indexer - Line number to byte offset indexer.
- linked_
map - Linked map: insertion-ordered key→value map using a Vec + HashMap.
- locale_
formatter - Locale-aware number and date formatter stub.
- localization
- Internationalization string tables.
- log_
aggregator - Log level aggregator and filter.
- logger
- Structured logging system with levels and categories.
- lz77_
stub - Real LZ77 compression with sliding window, hash chains, and lazy matching.
- manifest
- matrix2
- 2×2 matrix with determinant, inverse, multiply, and add.
- matrix3
- 3×3 matrix with determinant, inverse, transpose, and multiply.
- matrix2x2
- 2x2 matrix math utilities.
- matrix3x3
- 3x3 matrix math.
- matrix_
solver - Gaussian elimination for Ax=b systems (small dense matrices).
- max_
flow_ ff - Ford-Fulkerson max-flow using BFS (Edmonds-Karp).
- median_
filter - Sliding window median filter.
- memo_
table - Memo table: memoizes pure function results keyed by u64 hash.
- memory_
pool_ typed - Typed object memory pool — pre-allocates a fixed number of typed slots and hands them out as indices, avoiding per-allocation overhead.
- memory_
tracker - Memory usage tracking and budget management.
- merge_
conflict_ resolver - 3-way merge conflict resolver.
- merkle_
tree - message_
log - Message log: tagged message queue with filtering and JSON export.
- message_
pack_ codec - MessagePack encode/decode stub.
- message_
router - Message routing table — maps message types to handler identifiers.
- metric_
counter - Metric counter: named counters with min/max/sum tracking.
- metrics
- Performance metrics tracking.
- metrics_
counter - Atomic metrics counter.
- metrics_
gauge - Metrics gauge with min/max tracking.
- metrics_
histogram_ sdk - Bounded histogram for metrics SDK.
- morton_
code - moving_
average - Simple, exponential, and weighted moving averages.
- moving_
avg_ calc - Exponential/simple moving average calculator (enhanced).
- multipart_
parser - Multipart/form-data parser stub — splits parts by boundary.
- name_
table - Name table: bidirectional map between string names and u32 IDs.
- node_
pool - Node pool: typed object pool with stable handle-based access.
- noise_
functions - noise_
perlin - Perlin gradient noise (deterministic, no rand).
- noise_
simplex - Simplex noise 2D (skew-based, deterministic).
- noise_
worley - Worley/cellular noise 2D (deterministic grid jitter).
- notification_
queue - Notification queue with priority.
- notification_
system - In-app notification system with severity and dismissal.
- number_
format - Format numbers with separators, precision, and SI prefixes.
- oauth2_
stub - OAuth2 token stub — PKCE flow and token exchange helpers.
- object_
arena - Arena allocator for objects — bump allocates into a typed Vec; reset reclaims all memory at once without per-object destruction overhead.
- object_
registry - object_
storage_ stub - Object storage (S3-like) stub.
- observer_
list - observer_
pattern - octree_
simple - Simple octree for 3D spatial queries.
- option_
cache - option_
ext - outlier_
filter - IQR-based outlier filter.
- output_
buffer - pack_
distribute - Pack distribution pipeline for OxiHuman asset packages (.oxp).
- pack_
sign - HMAC-like asset pack signing using SHA-256 double-hash construction.
- pack_
verify - packed_
array - packed_
color - u32 RGBA packed color with encode/decode utilities.
- packed_
vec3 - Space-efficient packed 3D vector storage using u16 components.
- page_
allocator - pairing_
heap - Pairing heap stub — min-heap with simple merge-based structure.
- paragraph_
detector - Paragraph boundary detector stub.
- param_
set - parser
- patch_
apply - Unified diff patch applier.
- patch_
buffer - patch_
generator - Generate unified diff patches.
- path_
cache - path_
normalizer - Path resolution and normalization utilities.
- patience_
diff - Patience diff algorithm stub.
- pattern_
match - payload_
buffer - peg_
parser - persistent_
hash_ map - Persistent (immutable) hash map stub — each insert or remove produces a new logical version, represented here as a cloned HashMap, making all previous versions independently accessible.
- persistent_
map - persistent_
vector - Persistent vector stub — uses path-copying to produce new versions on each modification, keeping all prior versions intact.
- piece_
table - Piece table text buffer — stores original and added text in two buffers, with a sequence of pieces describing the logical document.
- pipe_
filter - pipeline_
context - pipeline_
pattern - pipeline_
stage - Pipeline stage execution model.
- placeholder_
map - plan_
executor - plugin_
api - Plugin registration and lifecycle API.
- plugin_
registry - Plugin registration system for extensible asset loaders and target providers.
- policy
- poly_
clip - Polygon clipping using the Sutherland-Hodgman algorithm.
- polynomial_
eval - Polynomial evaluation (Horner’s method) and Newton root-finding.
- pool_
allocator - Fixed-size object pool allocator.
- prefix_
sum_ 2d - 2D prefix sum table for O(1) rectangular range queries.
- prim_
mst - Prim’s minimum spanning tree algorithm.
- priority_
map - priority_
queue_ ext - Extended priority queue with decrease-key via BinaryHeap + HashMap.
- proc_
context - Processing context: key/value state bag for pipeline stages.
- profiler
- Simple performance profiler with named sections.
- protobuf_
varint - Protobuf varint encode/decode stub.
- publish_
subscribe - Pub/sub topic bus stub — topics, subscriptions, and message delivery.
- quad_
tree - 2D quadtree spatial index for point/rect queries.
- quantile_
estimator - P² quantile estimator (Jain & Chlamtac algorithm).
- quaternion_
math - Quaternion math utilities. Quaternion layout: [x, y, z, w].
- quaternion_
ops - Quaternion arithmetic: multiply, conjugate, slerp, normalize.
- query_
bus - query_
cache - Query result cache with TTL and hit-rate tracking.
- quota_
manager - Resource quota manager.
- r_tree
- R-tree (bounding box hierarchy) for 2D rectangle queries.
- radix_
sort - Radix sort utilities for u32 and u64 keys.
- random_
utils - Pseudo-random number utilities based on a linear congruential generator (LCG).
- range_
map - Map of non-overlapping f32 ranges to values.
- rate_
limiter_ sliding - Sliding window rate limiter — tracks request timestamps in a ring buffer.
- red_
black_ map - Red-black tree map stub — ordered map with O(log n) operations.
- red_
black_ tree - Red-black tree stub (color invariant maintained via basic insertion).
- ref_
counted - Manual reference-counted resource table.
- reference_
counted - Manual reference-counted handle — a simplified, non-thread-safe Rc-like wrapper implemented without the standard library Rc to illustrate the mechanics of reference counting.
- regex_
stub - Regex engine with NFA-based matching (Thompson’s construction).
- region_
allocator - Region/zone allocator stub — divides a fixed address space into named regions and tracks allocations within each region independently.
- registry_
map - Named registry map with category support.
- report
- repository_
stub - request_
pipeline - Middleware request pipeline — ordered chain of processing stages.
- reservoir_
sample - Reservoir sampling using Vitter’s Algorithm R.
- resolve_
path_ utils - resource_
manager - Resource lifecycle management (load/unload/reference counting).
- resource_
pool - Resource pool with borrowing semantics.
- resource_
tracker - response_
cache - HTTP-style response cache — stores and retrieves keyed response entries.
- result_
stack - Stack of operation results for accumulating and inspecting outcomes.
- result_
utils - retry_
policy - Retry policy for transient failure handling.
- ring_
log - Fixed-capacity ring-buffer log.
- role_
map - Role-based permission map: entities carry named roles.
- rolling_
hash - Rolling hash (Rabin-Karp style) for substring search.
- rolling_
hash_ new - Rabin-Karp style rolling hash for sliding window operations.
- rolling_
stats - Rolling statistics: mean, variance, min, max over a sliding window.
- rope_ds
- Rope data structure for efficient string concatenation and split.
- rope_
string - A rope data structure for efficient string editing with O(log n) insert/delete.
- route_
table - Simple string-pattern route table with parameter extraction.
- rule_
engine - Simple string-based rule engine: evaluate rules against a fact map.
- run_
length - Run-length encoding/decoding for byte sequences.
- running_
statistics - Welford’s online algorithm for mean/variance/std.
- schedule_
queue - Time-ordered schedule queue for deferred task execution.
- scheduler
- Task scheduler with priorities and time-based execution.
- search_
index - Inverted-index based text search over string-keyed documents.
- security
- Security validation utilities for OxiHuman.
- segment_
tree - Range-sum segment tree over f32 values.
- segment_
tree_ range - Segment tree for range min/max queries with point updates.
- segment_
tree_ v2 - Segment tree for range min/max/sum queries over i64 values.
- selector_
map - A map that tracks one selected/active key among its entries.
- semaphore_
pool - A pool of named counting semaphores for concurrency-budget tracking.
- sentence_
splitter - Sentence boundary detector stub.
- sequence_
map - An ordered map that preserves insertion order and supports sequence access.
- serialization
- Generic binary and JSON serialization utilities.
- service_
locator - A service locator registry that maps type-tagged names to boxed trait objects.
- service_
registry - Service discovery registry stub — register and resolve service endpoints.
- session_
store - Key-value session store with per-session namespacing and TTL support.
- session_
token - Session token generation and validation stub.
- set_
trie - A trie over sorted string-sets supporting subset / superset queries.
- shortest_
path_ bfs - BFS shortest path on an unweighted directed/undirected graph.
- signal_
handler - Named signal handler registry for hooking OS-style signals or custom events.
- simple_
graph - A simple directed graph with integer node ids and string edge labels.
- simple_
message_ queue - size_
cache - A cache that tracks byte-size usage and evicts LRU entries when over budget.
- skip_
list - Simplified skip list (sorted linked structure using Vec).
- skip_
list_ simple - Skip list stub backed by a sorted Vec of i64 keys.
- skip_
list_ v2 - Probabilistic skip list for ordered key-value storage. Uses deterministic level selection based on key hash.
- skip_
list_ v3 - Skip list v3 — ordered map using a probabilistic layered linked structure. Uses an index-arena approach to avoid raw pointers.
- slab_
allocator - A slab allocator that manages fixed-size slots with O(1) alloc/free using a free list.
- sliding_
window - Fixed-size sliding window over f32 samples with stats.
- snapshot_
manager - sort_
key - Sort-key builder for composite sort keys over multiple fields.
- source_
map - Source map: maps generated byte offsets to original (file, line, col) positions.
- span_
tracker - Lightweight span tracker for timing named code regions.
- sparse_
array - spatial_
hash_ 2d - 2D spatial hashing for broad-phase point queries.
- spatial_
index - specification_
pattern - splay_
map - Splay tree map stub — self-adjusting BST that splays accessed nodes to root.
- splay_
tree - Splay tree — self-adjusting BST using array-based nodes.
- spline_
catmull - Catmull-Rom spline evaluation (uniform parameterization).
- spline_
curve - Catmull-Rom spline utilities.
- spline_
hermite - Hermite spline with tangent control.
- state_
bag - A heterogeneous key-value bag for storing named state entries.
- state_
machine_ v2 - A simple finite state machine with named states and guarded transitions.
- static_
vec - A fixed-capacity stack-allocated vector backed by a plain array.
- statistics_
utils - Basic statistical utilities.
- storage_
backend - Abstract in-memory storage backend with namespaced key-value buckets.
- strategy_
pattern - stream_
parser - Streaming byte-level parser for reading structured binary or text data.
- string_
hash - string_
pool - String interning/pooling for memory efficiency.
- string_
search - KMP pattern search and Rabin-Karp rolling hash.
- string_
set - An ordered set of strings with fast lookup and sorted iteration.
- string_
utils - strongly_
connected - Tarjan’s strongly connected components (SCC) algorithm.
- struct_
map - A map from string field names to typed field values, for lightweight struct-like storage.
- sub_
task - Sub-task tracking: decompose a parent task into named sub-tasks with progress.
- suffix_
array - Suffix array construction and LCP array.
- suffix_
array_ stub - Suffix array construction via SA-IS (Suffix Array Induced Sorting) in O(n), with Kasai’s LCP array, binary-search pattern matching, occurrence counting, all-occurrences query, and longest repeated substring.
- suffix_
array_ v2 - Suffix array v2 — prefix-doubling O(n log n) construction.
- symbol_
table - A symbol table that maps string names to integer symbol IDs and back.
- symlink_
resolver - Symbolic link resolver stub.
- sync_
barrier - A manual synchronization barrier that tracks arrival of N named participants.
- syntax_
highlighter - Syntax highlight token classifier stub.
- t_
digest - t-digest sketch for quantile approximation.
- tag_
filter - Tag-based filtering: match items that have all required tags and none of the excluded tags.
- target_
index - task_
graph - Async-style task dependency graph scheduler (synchronous execution, DAG-based ordering).
- task_
scheduler - Cron-style task scheduler stub.
- telemetry_
span - OpenTelemetry-style trace span stub.
- temp_
file_ manager - Temporary file lifecycle manager.
- text_
buffer - A growable text buffer supporting append, line-level access, and search.
- text_
diff_ myers - Myers diff algorithm for text lines.
- text_
tokenizer - Simple whitespace/punctuation tokenizer. kind: 0=word, 1=number, 2=punct, 3=whitespace
- thread_
local_ pool - A simple per-logical-context object pool (not truly thread-local, but models the API).
- three_
way_ merge - Three-way text merge algorithm stub.
- thrift_
codec - Apache Thrift codec stub.
- time_
series_ buffer - Fixed-window time series ring buffer.
- time_
source - timezone_
offset - Timezone offset calculator stub.
- token_
bucket_ limiter - token_
stream - Simple token stream for lexing / parsing utilities.
- tokenizer_
simple - Simple word/token splitter with frequency analysis.
- toml_
parser - Minimal TOML parser stub.
- topic_
event_ bus - Publish-subscribe event bus for decoupled component communication.
- topo_
map - Topological map: directed graph with topological sort utilities.
- topological_
sort - Topological sort (Kahn’s algorithm) for DAGs.
- trace_
buffer - Ring-buffer trace for recording named span events.
- transform3d
- 3D transform (position + rotation quaternion + scale).
- transform_
pipe - Data transform pipeline: chain of named f32 transforms.
- treap_
map - Treap map stub — randomized BST (BST + heap on random priorities).
- tree_
index - Hierarchical tree index: parent-child relationships by u32 id.
- trend_
detector - Linear trend slope detector using least-squares regression.
- triangular_
grid - Triangular grid with barycentric coordinate lookup.
- trie_
map - String trie map: maps string keys to values via a character trie.
- trie_v2
- Compressed trie (radix tree) for string lookup.
- tsv_
parser - TSV (tab-separated values) parser.
- type_
alias_ map - Type alias map: maps alias names to canonical type names.
- type_
cache - Type-keyed cache: stores one boxed value per type name string.
- type_
erased - Type-erased value store: heterogeneous map keyed by string.
- type_
registry - Dynamic type registration with metadata.
- uid_gen
- UID generator: produces unique u64 identifiers with optional prefix encoding.
- undo_
redo - Generic undo/redo command history stack.
- unicode_
segmenter - Unicode grapheme cluster segmenter stub.
- union_
find_ v2 - Union-Find (disjoint set) with path compression and union by rank.
- update_
queue - Ordered update queue: items enqueued with a priority, drained in order.
- url_
encode - URL percent-encoding utilities.
- url_
parser_ stub - Full-featured URL parser supporting RFC 3986, IPv6, userinfo, percent-encoding, relative URL resolution, query-string parsing, punycode/IDNA basics, and URL normalization.
- user_
agent_ parser - User-Agent string parser stub — extracts browser, OS, and version info.
- user_
preferences - User preferences storage with typed values.
- uuid_
generator - value_
cache - Value cache: memoizes computed f32 values by string key with invalidation.
- value_
map - Polymorphic value map: string key -> typed value variant.
- value_
object - var_
store - Variable store: named f32 variables with change tracking.
- varint_
u64_ codec - vector_
math - version_
migration - Version migration utilities for assets and schemas.
- version_
vector - Vector clock for distributed state tracking.
- voronoi_
2d - 2D Voronoi diagram cells using brute-force nearest-seed computation.
- weak_
reference - Weak reference stub — tracks whether an associated strong handle is still alive using a shared liveness flag, without prolonging the object’s lifetime.
- websocket_
frame - WebSocket frame encode/decode stub (RFC 6455).
- whitespace_
normalizer - Normalize whitespace and line endings in text buffers.
- word_
boundary - Unicode word boundary detector stub.
- work_
calendar - Business day calculator stub.
- workspace
- Project workspace management.
- xml_
tokenizer - XML SAX-style tokenizer stub.
- yaml_
parser - Minimal YAML parser stub (scalar key-value pairs only).
- z_
algorithm - Z-function string matching.
- zipper_
list - Zipper list — a list with a movable focus/cursor, representing the list as a pair of reversed prefix and suffix.
Structs§
- Aabb2
- Axis-aligned bounding box in 2D.
- Aabb2D
- A 2D axis-aligned bounding box.
- Aabb
Entry - An entry in the AABB tree.
- Aabb
Tree2D - A 2D AABB tree.
- AbTest
Config - A/B test configuration.
- AbVariant
- An A/B test variant definition.
- AcMatch
- A search match: (start_pos, pattern_index).
- AcNode
- A node in the Aho-Corasick automaton.
- Access
Map - Tracks per-key access counts (reads and writes).
- Action
Entry - Action
Map - A mapping from string action names to callbacks represented as closures.
- AdjGraph
- An adjacency-list directed graph.
- AesGcm
Cipher - AES-GCM cipher stub.
- AesGcm
Config - AES-GCM configuration.
- AggLog
Entry - An aggregated log entry.
- Aggregate
Root - AhoCorasick
- The Aho-Corasick automaton.
- Allocation
Record - A record of a single allocation or free event.
- Anim
Curve - Animation curve: sorted list of keyframes.
- Anomaly
Scorer - Archive
Entry - A file entry inside an archive.
- Archive
Reader - Archive reader stub.
- Archive
Writer - Archive writer stub — accumulates entries in memory.
- Arena
Handle - Handle to an arena-allocated object.
- Arena
Str - An arena-based string allocator that stores strings in contiguous memory.
- Array
Stack - A stack with a fixed maximum capacity.
- Artic
Graph - An undirected graph.
- Asset
Cache - Asset
Entry - Asset
Hash - A 32-byte content hash.
- Asset
Hasher - FNV-inspired 256-bit rolling hasher (eight 32-bit lanes).
- Asset
Manifest - Asset
Pack Builder - Builder for creating
.oxpasset packs with typed entries. - Asset
Pack Index - Summary index built by scanning a loaded OXP pack.
- Asset
Pack Meta - Metadata attached to the top-level pack manifest.
- Asset
Record - A single record in the content-addressed registry.
- Asset
Registry - Content-addressed asset registry.
- Async
Queue - A simple async-style task queue that stores pending and completed tasks.
- Async
Task - Atomic
Counter - Audit
Entry - A single audit event entry.
- Audit
Event Entry - A single audit event.
- Audit
Event Log - Append-only audit event log.
- Audit
Log - Append-only audit log with a chain hash.
- AvlMap
- Ordered map backed by an AVL tree.
- AvlTree
- An AVL tree.
- Avro
Field - A record field in an Avro schema.
- B64s
Config - Full configuration for encode / decode operations.
- B64s
Decoder - A streaming Base64 decoder that wraps an
io::Readsource. - B64s
Encoder - A streaming Base64 encoder that wraps an
io::Writesink. - BTree
- A B-tree.
- BTree
MapV2 - Simple B-tree map (order 4).
- BTree
Simple - Base64
Config - Batch
Command - Execute multiple commands atomically (undo reverses all in reverse order).
- Batch
Processor - Processes items in configurable batch sizes with progress tracking.
- Batch
Queue - A queue that yields items in batches of a configured size.
- Bezier
Path - A path made up of connected cubic Bezier segments.
- BfEdge
- A weighted directed edge.
- BfGraph
- A weighted directed graph for Bellman-Ford.
- BfResult
- Result of Bellman-Ford.
- BfsGraph
- An unweighted adjacency-list graph.
- BinReader
- BinWriter
- Binomial
Heap - Binomial min-heap.
- Bipartite
Graph - A bipartite graph with
left_nleft nodes andright_nright nodes. - BitMatrix
- A compact boolean matrix stored as rows of u64 bit-words.
- BitReader
- Bit-level reader over a byte slice.
- BitSet
- A compact bitset for tracking boolean flags by index.
- BitWriter
- Bit-level writer: packs bits into a
Vec<u8>. - Bitmap
Index - A bitmap index storing up to
capacitybits. - Bitmask
Flags - Bitset
Fixed - Blake3
Digest - 32-byte BLAKE3 digest.
- Blake3
Hasher - BLAKE3 hasher stub.
- Bloom
Counter - A counting bloom filter for approximate frequency tracking.
- Bloom
Filter - A simple Bloom filter using multiple FNV-style hash functions.
- Bloom
Filter Prob - Bloom
Filter V3 - Bloom filter backed by a
Vec<u64>bit-array. - Bloom
Set - A probabilistic set membership test using a bloom-filter style bit array.
- Brotli
Compressor - Brotli compressor stub.
- Brotli
Config - Configuration for the Brotli compressor.
- BspLine
- A 2D line used as a BSP splitting plane: ax + by + c = 0.
- BspPolygon
- A polygon in the BSP tree.
- BspTree2D
- A 2D BSP tree.
- Bucket
- A single named storage bucket.
- Bucket
Entry - Single bucket entry.
- Bucket
Histogram - Buddy
Allocator - Order of the allocator: manages 2^order minimum-sized units.
- Buffer
Pool - A pool of byte buffers that can be checked out and returned.
- Buffer
Slice - A view into a contiguous byte buffer with offset and length.
- Built
Fsm - A built FSM: set of states and transitions.
- BvhAabb
- Axis-aligned bounding box for BVH.
- BvhPrimitive
- A leaf primitive stored in the BVH.
- Byte
Pool - A pool of reusable byte buffers to reduce allocation overhead.
- Cache
Entry - Cache
Entry Item - A single cache entry with key, value, TTL and access tracking.
- Cache
Line - Represents a single cache line with key, value, and metadata.
- Cache
Policy - Cache eviction policy tracker.
- Cache
Store - A cache store backed by a Vec of entries.
- Cached
Response - A cached HTTP-style response entry.
- CalDate
- Capability
Flags - Capacity
Planner - Registry of capacity specs.
- Capacity
Spec - A capacity planning resource specification.
- Capn
Message - A Cap’n Proto message containing one or more segments.
- Capn
Segment - A Cap’n Proto message segment.
- Catmull
RomSpline2D - A Catmull-Rom spline through a set of 2D control points.
- Centroid
- A centroid in the t-digest.
- ChaCha
Cipher - ChaCha20-Poly1305 cipher stub.
- ChaCha
Config - ChaCha20-Poly1305 configuration.
- Chain
Buffer - A chain of fixed-size byte buffers.
- Chain
Map - A chain of maps where lookup falls through parent layers.
- Change
Entry - A single structured change log entry.
- Change
Log - Append-only change log.
- Channel
Pair - A bidirectional channel pair for message passing between two endpoints.
- Channel
Router - Routes messages to named channels.
- Checkpoint
- Stores named checkpoints of serialised state for save/restore workflows.
- Checkpoint
Store - Checksum
- A checksum value.
- Circuit
Breaker - The circuit breaker instance.
- Circuit
Breaker Config - Configuration for the circuit breaker.
- Circular
Buffer - A circular buffer with a fixed capacity.
- Classifier
Config - Clipboard
- Clipboard manager with history support.
- Clipboard
Entry - A single clipboard entry with metadata.
- Clock
Source - A deterministic clock source for simulation and testing.
- Clock
Version Vector - A distributed version vector (vector clock).
- CmdEntry
- A single entry in the command list.
- Color
Entry - A single named color entry (RGBA in [0, 1]).
- Color
Gradient - Multi-stop color gradient.
- Color
Graph - An undirected graph represented as adjacency lists.
- Color
Hsl - A color in HSL (hue, saturation, lightness) space. Hue is in degrees [0, 360), saturation and lightness in [0, 1].
- Color
Hsv - A color in HSV (hue, saturation, value) space. Hue is in degrees [0, 360), saturation and value in [0, 1].
- Color
Lab - A color in CIE Lab* space (approximate).
- Color
Palette - A named collection of color entries.
- Color
Quantizer - Median-cut color quantizer.
- Color
Rgb - An RGB color in sRGB space, components in [0, 1].
- Color
Stop - An RGBA color stop at position t in [0, 1].
- Command
Bus - The command bus with undo/redo stacks.
- Command
List - Ordered, prioritised list of named commands.
- Command
Log - Command
Queue - A priority-aware command queue.
- Command
Result - Result returned by command execution or undo.
- Command
State - Shared mutable state that commands operate on.
- Compact
Hash - A compact hash map using open addressing with linear probing.
Stores
u64keys andu64values in parallel arrays. - Compact
Set - A compact, sorted set of
u32values. - Compact
Vec - A compact vector that stores small arrays inline before spilling to heap.
- Compress
Pipeline Stage - A single pipeline stage.
- Compress
Result - Result of pipeline compression.
- Compression
Pipeline - Multi-stage compression pipeline.
- Config
Layer - A single configuration layer mapping string keys to string values.
- Config
Manager - Top-level configuration manager holding multiple named profiles.
- Config
Profile - A named configuration profile containing a map of key→value entries.
- Config
Reader - Reads key=value configuration from text.
- Config
Schema - Config
Store - A configuration store mapping string keys to typed values.
- Config
Value - Conflict
Block - A parsed conflict block.
- Console
Entry - A single log entry in the debug console.
- Context
Map - String-keyed map of typed context values.
- Convex
Hull3D - A 3D convex hull represented by vertex indices and triangle faces.
- Cookie
- A single HTTP cookie.
- Cookie
Jar - The cookie jar that stores all cookies.
- Copy
Buffer - A fixed-capacity byte buffer supporting copy-in and copy-out operations.
- Count
MinSketch - Count-Min Sketch using pairwise-independent hash families.
- Count
MinSketch V2 - Count-Min Sketch with configurable depth and width.
- Counter
Map - A map that counts occurrences of string keys.
- Counting
Bloom Filter - Counting bloom filter with 4-bit counters per cell.
- CowHandle
- A copy-on-write wrapper that shares data until mutation is requested.
- CrcTable
- Precomputed 256-entry CRC-32 lookup table.
- Cron
Expr - CsvRecord
- A single parsed CSV record (row).
- CsvTable
- A parsed CSV table with named headers.
- Cubic
Bezier - A cubic Bezier curve defined by 4 control points in 2D.
- Cuckoo
Filter - Cuckoo filter with configurable number of buckets.
- Cursor
Writer - A byte-buffer writer with a movable cursor position.
- DAry
Heap - d-ary min-heap backed by a Vec.
- Data
Pipeline - Data
Table - A simple column-oriented data table with string column names and f64 values.
- Date
Range - DddCommand
- Deadline
Entry - A single deadline entry.
- Deadline
Tracker - Tracks multiple deadlines and their SLA compliance.
- Debug
Console - The debug console — stores log entries with severity.
- Debug
Console Config - Configuration for the debug console.
- Decay
Counter - A counter that decays exponentially over time.
- Decision
Tree - A binary decision tree backed by a flat Vec of nodes.
- Decoded
Jwt - A decoded JWT.
- Delaunay
Result - Result of Delaunay triangulation.
- Delaunay
Tri - A triangle (vertex indices).
- DepGraph
- Simple directed graph for dependency resolution via Kahn’s topological sort.
- Dependency
- Dependency
Graph - Dependency
Node - Diff
Entry - Tracks changes (diffs) to named properties over time.
- Diff
Hunk - A hunk in a unified diff.
- Diff
Tracker - Digest
Hash - A simple non-cryptographic hash digest for data fingerprinting.
- DirEntry
- A directory entry.
- Directory
Scanner - Directory scanner stub — holds a virtual file tree.
- Disjoint
Set - A disjoint set forest with path compression and union by rank.
- Dispatch
Record - A record of a dispatched event.
- Dispatch
Table - A table that maps string keys to handler IDs for dispatch.
- Domain
Event - Double
List - Double
Map - A bidirectional map between two string key spaces.
- Dual
Quat - A dual quaternion: real part (rotation) + dual part (translation encoded).
- EcPoint
- A 2D point.
- Edit
Script - A complete edit script (list of
EditOp). - EmaCalc
- Exponential Moving Average.
- Entity
Id - Erased
Slot - A type-erased slot holding raw bytes plus a type tag.
- Error
Aggregator - Error
Entry - A single error entry.
- Error
Log - Bounded error log.
- Event
- A single event with a JSON payload and wall-clock timestamp.
- Event
Bus - Synchronous event bus: stores handlers keyed by
EventKindand a history of all published events. - Event
BusTopic - Publish-subscribe event bus with topic-based routing and priority support.
- Event
Dispatcher - Event dispatcher.
- Event
Log - Event
Record - A record of a single published event stored in the bus queue.
- Event
Sink - Event
Store - Experiment
Assignment - A recorded experiment assignment.
- Experiment
Tracker - Tracks which experiment variant each user is assigned to.
- Exponential
Moving Average - Exponential Moving Average (EMA).
- FbmConfig
- fBm configuration.
- Feature
Flag - Feature
Flag Entry - A single feature flag entry.
- Feature
Flag Registry - Feature
Gate - Fenwick
Tree - A Fenwick tree (BIT) over i64 values.
- Fenwick
Tree V2 - A Fenwick (binary indexed) tree for
i64values. - Fibonacci
Heap - Fibonacci min-heap.
- File
Change - File
Lock Manager - File lock manager stub.
- File
Metadata - File metadata record.
- File
Record - A checksum record for a single file inside a pack.
- File
Watcher Stub - File watcher with debouncing, glob filtering, event batching, recursive directory watching, and dynamic watch management.
- Finger
Tree - A finger tree sequence.
- Fiscal
Period - Fiscal
Year Config - Fiscal year configuration: defines the start month and day of each FY.
- Fixed
Array - Fixed-capacity array with runtime length up to CAP.
- Flag
Register - A register of named boolean flags stored as a bitmask.
- Flat
Builder - A FlatBuffers builder that accumulates bytes.
- Flow
Graph - A flow network.
- Frame
Counter - A frame counter that tracks frame timing statistics.
- Free
Slot - Free-list allocator.
- Frequency
Analyzer - Frequency analyzer that computes the DFT of a signal.
- Frequency
Bin - Result of a DFT analysis: frequency bin (Hz) and magnitude.
- FsmBuilder
- Builder for constructing an FSM.
- FsmTransition
- A transition in the FSM.
- FwResult
- All-pairs shortest path matrix (n x n).
- GapBuffer
- Gap buffer for
charelements. - Gauge
Entry - A gauge entry tracking current, min, max values.
- GcObject
- A managed object with an adjacency list of references.
- GcStub
- Simple mark-and-sweep garbage collector stub.
- Generated
Patch - A unified diff patch.
- Graph
Edge - An edge in the graph.
- Grapheme
- A single grapheme cluster with its byte span.
- Grid
Index - A 2D grid spatial index.
- Grpc
Frame Header - A gRPC frame header (5 bytes: 1 compression flag + 4-byte length).
- Handler
Entry - Handler
Id - Opaque handler identifier.
- Hash
Bucket - Hash-bucket map with configurable bucket count.
- Hash
Grid - Spatial hash grid storing point IDs.
- Hash
Ring - Hash
Ring New - Health
Aggregator - A health check aggregator that collects component results.
- Health
Check Config - Configuration for the health check aggregator.
- Health
Check Result - A single component’s health check result.
- Health
Monitor - Health
Report - Aggregated health report across all components.
- Hermite
Spline2D - A piecewise Hermite spline curve in 2D.
- HexCoord
- Axial hex coordinate.
- HgPoint3
- A 3D point.
- Highlight
Token - A token with an associated highlight kind.
- Highlighter
Config - Configuration for the syntax highlighter.
- HistBin
- A single histogram bin.
- Histogram
Builder - Histogram builder.
- Histogram
Diff - Result of histogram diff.
- Histogram
Diff Config - Configuration for histogram diff.
- Histogram
Hunk - A change hunk produced by histogram diff.
- Holiday
- Holiday
Calendar - Holiday
Date - HotReload
Config - HotReload
Watcher - Http
Header - An HTTP header (name + value pair).
- Http
Request - A parsed HTTP/1.1 request.
- Http
Response - A parsed HTTP/1.1 response.
- Http
Retry Policy Config - Configuration for a retry policy.
- Http
Session - Represents a session with a token and expiry.
- Http
Session Store - A simple in-memory session store.
- Huff
Node - A node in the Huffman tree.
- Huffman
Code Table - Lookup table: for each symbol 0..=255,
(code_bits, code_length). Symbols that do not appear havecode_length == 0. - Huffman
Symbol - A symbol with frequency and assigned code length (legacy public API).
- Huffman
Table - A frequency table mapping bytes to HuffmanSymbol entries (legacy API).
- Huffman
Tree - The full Huffman tree stored as a flat node array.
- Hull
Face - A face of the convex hull (triangle by vertex indices).
- Hyper
LogLog - HyperLogLog with configurable precision (b bits for register count).
- Hyper
LogLog V2 - HyperLogLog cardinality estimator with
2^bregisters. - Id
- An opaque ID.
- IdPool
- ID pool.
- Indent
Result - Result of an indentation detection run.
- Index
List - Ordered index list with O(1) contains check.
- Installed
Pack - An installed pack record.
- Interval
- Interval
Query Tree - Interval overlap query tree.
- Interval
Simple - Interval
Tree - Interval
Tree Simple - IqrFilter
- IsoDuration
- Json
Builder - Json
Patch - A JSON Patch document (sequence of operations).
- Json
Pointer - A parsed JSON Pointer (RFC 6901).
- Json
Schema Validation Error - Validation error.
- JwtClaims
- JWT claims payload.
- JwtHeader
- JWT header fields.
- KdPoint2
- A 2D point with an optional payload index.
- KdPoint3
- A 3D point with an optional payload index.
- KdPoint3
Simple - A 3D point with an associated ID.
- KdTree3
- k-d tree for 3D nearest neighbor queries.
- KdTree2D
- A 2D k-d tree.
- KdTree3D
- A 3D k-d tree.
- KeyCache
- String-keyed cache.
- KeyCache
Entry - A single cache entry with value and expiry frame.
- Keyframe
- A single keyframe: (time, value).
- Kruskal
Edge - A weighted edge.
- Layered
Config - Stack of config layers resolved top-down (last layer wins).
- LazyMap
- Lazy map that stores computed results.
- Lazy
Value - Lcg
- Linear Congruential Generator state.
- Leftist
Heap - Leftist min-heap.
- LexToken
- A basic token produced by a lexer.
- Lexer
Stream - A position-tracking stream over a
Vec<LexToken>. - Line
Indexer - Maps line numbers to byte offsets in a source text.
- Linked
Map - Insertion-ordered map.
- Locale
Formatter - Locale
String - Locale
Table - Localization
System - Lock
Record - A lock record.
- LogAggregator
- Aggregates log entries with level filtering.
- LogEntry
- A single log entry.
- LogEvent
- Logger
- A structured logger that stores entries in memory.
- Lz4Compressor
- LZ4 compressor stub.
- Lz4Config
- Configuration for the LZ4 compressor.
- Manual
RefCounted - A manually reference-counted handle.
- Mat2
- A 2×2 matrix stored in row-major order: [[row0col0, row0col1], [row1col0, row1col1]].
- Mat3
- A 3×3 matrix stored in row-major order.
- Mat2x2
- A 2x2 matrix stored in row-major order.
- Mat3x3
- Material
Def - A PBR material definition stored inside an asset pack.
- Media
Type - A parsed MIME type with optional quality factor.
- Median
Filter - Sliding window median filter state for streaming data.
- Memo
Entry - Single memoized entry.
- Memo
Table - Memo table.
- Memory
Pool Typed - A typed memory pool storing
Tin a flat Vec, recycling freed indices. - Memory
Tracker - Tracks memory allocations, frees, budgets and peak usage.
- Merge
Config - Configuration for merge resolution.
- Merge
Result - The result of a three-way merge.
- Merkle
Tree - Message
- A single log message.
- Message
Log - Message log.
- Message
Router - The message router that maps types to handlers.
- Message
Router Config - Routing configuration.
- Metadata
Store - Metadata store stub.
- Metric
- Metric
Counter - Metric counter registry.
- Metric
Sample - Metric
Stats - Per-metric statistics.
- Metrics
Counter - An atomic-style metrics counter (single-threaded stub).
- Metrics
Gauge - Registry of named gauges.
- Metrics
Histogram Sdk - A fixed-bucket histogram for recording distributions.
- Metrics
Registry - Middleware
Stage - A single middleware stage descriptor.
- Migration
Plan - Migration
Registry - Migration
Step - Money
- Morph
Preset - A named collection of morph parameter values forming a body preset.
- MstEdge
- A weighted undirected edge in the MST.
- Multipart
Body - Result of parsing a multipart body.
- Multipart
Part - A single multipart form part.
- Myers
Diff - Myers diff state.
- Name
Table - Bidirectional name↔ID table.
- Negotiation
Result - Result of content negotiation.
- Node
Handle - Opaque node handle.
- Node
Pool - Node pool.
- Normalized
Path - A normalized path wrapper.
- Normalizer
Config - Configuration for whitespace normalization.
- Notification
- Notification
Queue - Priority-ordered notification queue.
- Notification
System - OAuth2
Client - An OAuth2 stub client that manages the PKCE flow.
- OAuth2
Config - Configuration for an OAuth2 client.
- OAuth2
Token - An OAuth2 access token with optional refresh token.
- Object
Arena - Arena allocator that bump-allocates objects of type
T. - Object
Meta - Object metadata.
- Object
Registry - Object
Storage - In-memory object storage stub.
- Observer
Event Bus - Observer
List - Simple observer list with string-keyed callbacks (stored as labels).
- OctAabb
- Axis-aligned bounding box.
- Octree
- A spatial octree over a set of 3-D points.
- Octree
Node - A node in the octree (either internal or leaf).
- Open
Hash Map - An open-addressing hash map with linear probing (i64 → i64).
- Option
Cache - Cache that stores optional values (present or absent).
- Output
Buffer - A growable output buffer for accumulating byte data.
- P2Quantile
- P² algorithm marker positions and heights.
- Pack
Builder - Builder for creating
.oxpdistribution packages. - Pack
Dependency - A dependency on another pack.
- Pack
Integrity - Integrity metadata for the package.
- Pack
Manifest - Distribution package metadata.
- Pack
Registry - Registry for tracking installed packages.
- Pack
Signature - Signature metadata for a signed pack.
- Pack
Target Entry - An individual asset file entry within the package.
- Pack
Verifier - Verifier for validating
.oxpdistribution packages. - Pack
Verify Report - The result of verifying a pack directory against a set of
FileRecords. - Packed
Array - Packed
Color - A packed RGBA color stored as a single u32: 0xRRGGBBAA.
- Packed
Vec3 - A packed 3D vector with u16 components for compact storage. Values are encoded in the range [min, max] mapped to [0, u16::MAX].
- Packed
Vec3 Buffer - A storage buffer for packed vec3 values.
- Packed
Vec3 Config - Configuration for encoding/decoding packed vectors.
- Page
Allocator - Fixed-size page allocator backed by a Vec of pages.
- Pairing
Heap - Pairing min-heap.
- Paragraph
- A detected paragraph with its text and byte span.
- Paragraph
Config - Configuration for paragraph detection.
- Param
Set - A named parameter set for storing typed key-value parameters.
- Parsed
Args - Parsed argument result.
- Parsed
Conflicts - Result of parsing a conflicted text.
- Patch
- A buffer that accumulates byte-level patches (offset, data) for later application.
- Patch
Buffer - Path
Cache - Cache for resolved filesystem-style paths.
- Patience
Diff - Result of running patience diff.
- Patience
Hunk - A hunk in a patience diff result.
- Pattern
Matcher - Payload
Buffer - Payload
Entry - Named payload slots with typed tags.
- Percentage
- Persistent
Hash Map - Persistent hash map that keeps all historical versions.
- Persistent
Map - A persistent-style map that supports snapshotting.
- Persistent
Vector - Persistent vector that retains all historical versions.
- Piece
- A piece describing a run of characters from a source buffer.
- Piece
Table - Piece table text buffer.
- Pipe
Filter - Pipeline
Config - Configuration for the request pipeline.
- Pipeline
Context - Context object passed through a pipeline of processing stages.
- Pipeline
Context Struct - Pipeline
Report - Complete pipeline audit report.
- Pipeline
Stage - Pipeline
Struct - Pkce
Challenge - PKCE code verifier and challenge pair.
- Placeholder
Map - Template placeholder substitution map.
- Plan
Executor - Plan
Step - Plugin
- Plugin
ApiRegistry - Plugin
Descriptor - Plugin
Metadata - Plugin
Registry - Point2
- A 2D point.
- Policy
- Policy
Entry - An entry tracked by the cache policy.
- Polygon2D
- A 2D polygon represented as a list of vertices.
- Polynomial
- A polynomial with its coefficients.
- Pool
Allocator - Fixed-capacity pool allocator.
- Pool
Handle - Handle into the pool.
- Pool
Slot - A slot in the pool.
- PqEntry
- An entry in the priority queue.
- Preference
- Prefix
Sum2d - Prim
Graph - An undirected weighted graph.
- Priority
Map - A map that maintains entries ordered by priority.
- Priority
Queue Ext - Extended priority queue supporting decrease-key.
- Proc
Context - A context carrying state through a processing pipeline.
- Profile
Frame - Profile
Span - Profiler
- PsStage
- PubSub
Bus - An in-memory pub/sub topic bus.
- PubSub
Config - Configuration for the pub/sub bus.
- QtPoint
- A point stored in the quadtree with an associated integer id.
- Quad
Tree - Quadtree node.
- Quat
- A quaternion [x, y, z, w] where w is the scalar part.
- Quat
Math - A quaternion [x, y, z, w].
- Query
- Query
Cache - Cache mapping query keys to results.
- Query
Entry - A cached query result.
- Query
Interval - A closed interval [lo, hi] with an associated value.
- Query
Result - Queue
Notification - A notification item.
- Queued
Command - A single command waiting in the queue.
- Quota
Entry - A quota for a named resource.
- Quota
Manager - Manager for multiple resource quotas.
- RTree2D
- An R-tree for 2D rectangles.
- RTree
Entry - An entry stored in the R-tree.
- Range
Entry - A half-open interval [lo, hi).
- Range
Map - Ordered map of non-overlapping ranges.
- Rect2
- A 2D axis-aligned bounding rectangle.
- RedBlack
Map - Ordered map backed by a left-leaning red-black tree.
- RedBlack
Tree - A red-black tree (left-leaning LLRB variant).
- RefCounted
- Table that tracks reference counts for shared resources.
- RefEntry
- Entry in the ref-counted table.
- Region
- A named region with a start offset and size limit.
- Region
Allocator - Manages multiple named regions within a total address space.
- Registry
Item - A registered item with metadata.
- Registry
Map - Registry mapping string keys to typed items with categories.
- Report
Builder - A builder for constructing a report incrementally during pipeline execution.
- Report
Event - A single report event.
- Request
Context - A request context passed through the pipeline.
- Request
Pipeline - An ordered request pipeline.
- Reservoir
Sampler - A reservoir sampler that maintains a uniform random sample of size
k. - Resolve
Result - Resource
- Resource
Manager - Resource
Pool - Pool of resources with acquire/release semantics.
- Resource
Slot - A single resource slot.
- Resource
Tracker - Response
Cache - An LRU-style response cache (simplified: evicts oldest entry).
- Response
Cache Config - Cache configuration.
- Result
Entry - Result
Stack - Stack accumulating operation results.
- Retry
Policy - Retry policy configuration.
- Retry
State - Tracks retry state for a single operation.
- RgbColor
- An RGB color (0-255 per channel).
- RingLog
- Fixed-size ring-buffer log.
- Ring
LogEntry - A single log entry.
- RoleMap
- Assigns roles to entity IDs and checks permissions.
- Rolling
Hash - Rolling hash state for a sliding window over bytes.
- Rolling
Hash New - Rolling
Stats - Rolling statistics accumulator.
- Rope
- A rope data structure.
- Rope
String - A rope for efficient large-string editing.
- Routable
Message - A message to be routed.
- Route
Entry - A routing rule entry.
- Route
Match - Result of a route match.
- Route
Table - Route table mapping URL-like paths to handlers.
- Route
Table Entry - A route entry mapping a pattern to a handler name.
- Routed
Message - A message with a topic and payload.
- Rule
- A rule with conditions and actions.
- Rule
Action - Action produced when a rule fires.
- Rule
Engine - Rule engine evaluating rules against a fact map.
- Run
- A single run: (value, count).
- Running
Statistics - Online running statistics (Welford’s method).
- Scan
Config - Scanner configuration.
- SccGraph
- A directed graph for SCC computation.
- Schedule
Queue - Queue of tasks ordered by due time.
- Schedule
Task - A scheduled task entry.
- Scheduled
Task - Scheduler
- Scheduler
Task - A single scheduled task.
- Schema
Field - Schema
Node - A minimal JSON Schema node.
- Search
Doc - A document stored in the index.
- Search
Index - Simple inverted index that maps lowercase tokens to document ids.
- SegTree
V2 - A segment tree supporting point updates and range queries.
- Segment
Tree - A segment tree that supports point-update and range-sum queries.
- Segment
Tree Range - Selector
Map - A map with a notion of an “active” or selected entry.
- SemVer
- Semaphore
- A single counting semaphore.
- Semaphore
Pool - Pool of named semaphores.
- Sentence
- A detected sentence with its byte span.
- Sentence
Splitter Config - Configuration for sentence splitting.
- SeqEntry
- Entry in the sequence map.
- Sequence
Map - Map that preserves insertion order and provides sequence-numbered access.
- Service
Descriptor - Descriptor of a registered service.
- Service
Instance - Metadata describing a service instance.
- Service
Locator - Service locator holding named service descriptors and opaque payloads as JSON strings.
- Service
Registry - An in-memory service registry.
- Service
Registry Config - Configuration for the service registry.
- Session
- A single session containing key-value pairs.
- Session
Config - Configuration for session management.
- Session
Store - The session store.
- SetFlag
Command - Set a boolean flag, recording the previous value for undo.
- SetParam
Command - Set a numeric parameter, recording the previous value for undo.
- SetTrie
- Set-Trie: inserts sets of strings and answers subset/superset queries.
- Sha256
Digest - 32-byte SHA-256 digest.
- Sha256
Hasher - SHA-256 hasher stub (accumulates input, finalizes on demand).
- Signal
Handler - Registry of named signal handlers.
- Signal
Handler Entry - A registered handler entry.
- Signed
Pack - A manifest hash paired with its signature.
- Simple
Bvh - Simple BVH structure.
- Simple
Graph - Simple directed graph.
- Simple
MaCalc - Simple Moving Average over a sliding window.
- Simple
Message Queue - Simple
Moving Average - Simple Moving Average (SMA) over a sliding window.
- Simple
Octree3 - Better simple octree with point storage for sphere queries.
- Sink
Event Record - An event sink that collects events for later processing.
- Size
Cache - Cache with a byte-size budget that evicts LRU entries.
- Size
Cache Entry - An entry in the size cache.
- Skip
Entry - Skip
List - Skip
List2 - A skip list for ordered (i64 → i64) storage.
- Skip
List Simple - Skip
List V3 - Ordered map backed by a skip list (index-arena, no unsafe).
- Slab
Allocator - A slab allocator with generational keys.
- SlabKey
- Handle returned by the slab allocator.
- Sliding
Rate Limiter - A sliding window rate limiter.
- Sliding
Rate Limiter Config - Configuration for the sliding window rate limiter.
- Sliding
Window - A fixed-capacity sliding window of f32 samples.
- Snappy
Compressor - Snappy compressor stub.
- Snappy
Config - Configuration for the Snappy compressor.
- Snapshot
Manager - Sort
Criterion - A single sort criterion.
- SortKey
- Composite sort key builder.
- Sort
Strategy - Source
Map - Source map holding a list of mappings sorted by generated offset.
- Source
Mapping - A single source mapping entry.
- Span
Record - A completed span record.
- Span
Tracker - Tracker that records start/end of named spans and accumulates stats.
- Sparse
Array - Spatial
Hash2D - A 2D spatial hash grid.
- Spec
- Splay
Map - Splay tree map.
- Splay
Tree - A splay tree (self-adjusting BST).
- State
Bag - A named collection of typed state values.
- State
Machine Transition - A transition definition.
- State
Machine V2 - A finite state machine with named states and transitions.
- Static
Vec - A vector-like container with a fixed compile-time capacity
N. - Storage
Backend - An in-memory storage backend with multiple named buckets.
- Stored
Object - An object stored in the stub.
- Stream
Parser - A streaming cursor over a byte buffer.
- String
Hash - Computes a deterministic hash for a string.
- String
Id - Opaque handle to an interned string.
- String
Pool - Pool that deduplicates and interns strings.
- String
Repo - String
Searcher - String search wrapper using KMP.
- String
Set - An ordered set of owned strings.
- Strong
Owner - A strong owner that keeps the liveness token set.
- Struct
Map - A map of named fields with typed values.
- SubTask
- A single sub-task entry.
- SubTask
Set - A collection of sub-tasks belonging to a parent task.
- Subscription
- A subscription entry.
- Symbol
Id - An opaque symbol identifier.
- Symbol
Table - A bidirectional symbol table.
- Symlink
- A symbolic link record.
- Symlink
Resolver - Symlink resolver — holds a virtual symlink table.
- Sync
Barrier - A barrier that releases when all expected participants have arrived.
- TDigest
- t-digest data structure for quantile estimation.
- TagFilter
- A filter specification: include-all + exclude-any.
- Target
Delta - Raw morph target delta stored as binary data.
- Target
Entry - A single entry in the target search index.
- Target
Index - Searchable in-memory index of morph targets.
- Target
Scanner - Streaming target scanner — walks a directory incrementally and yields entries.
- Task
- Task
Graph - Task
Scheduler - Cron-style task scheduler.
- Telemetry
Span - A single trace span.
- Temp
File - A temp file handle (stub — no actual OS file).
- Temp
File Manager - Temporary file manager.
- Text
Buffer - A mutable text buffer backed by a String.
- Text
Token - Texture
Asset - A texture asset stored inside an asset pack.
- Thread
Local Pool - A reusable-object pool for a single logical context.
- Thrift
Field - A Thrift struct field.
- Time
Series Buffer - Time
Series Sample - Time
Source - A deterministic time source (no real clock dependency).
- Timestamp
- A timestamp in milliseconds.
- Timezone
Offset - Token
- A single token produced by the lexer.
- Token
Bucket Limiter - Token
Stream - Token stream backed by a Vec.
- Toml
Document - A parsed TOML document (flat key-value map stub).
- Toml
Parse Error - Parse error for TOML.
- Topic
Message - A message on a topic.
- TopoMap
- A topological map (DAG).
- Topo
Node - A directed graph node.
- Topo
Result - Topo
Sort Graph - Trace
Buffer - Trace buffer holding up to
capacityevents. - Trace
Context - W3C-style trace context.
- Trace
Event - A single trace event.
- Transfer
Job - A file transfer job.
- Transfer
Manager - Transfer manager stub.
- Transform3d
- Transform
Pipe - A pipeline of transform stages.
- Transform
Stage - A named transform stage (maps f32 -> f32).
- Treap
Map - Ordered map backed by a treap.
- Tree
Index - Tree index structure.
- Tree
Node - A node in the tree.
- Trend
Result - TriGrid
- A uniform triangular grid covering a rectangle.
- Triangle2D
- A triangle defined by three 2D vertices.
- TrieMap
- A trie map from
Stringkeys to valuesV. - TrieV2
- A compressed trie (radix tree).
- TsvRecord
- A single parsed TSV record (row).
- TsvTable
- A parsed TSV table with named headers.
- Type
Alias Map - A registry of type aliases.
- Type
Cache - Type cache keyed by type name string.
- Type
Cache Entry - A single entry in the type cache.
- Type
Erased - Type-erased value store.
- Type
Metadata - Type
Registry - UidGen
- A UID generator with monotone counter.
- Undo
Command - Undo
Stack - Unified
Hunk - A single hunk parsed from a unified diff.
- Unified
Patch - A parsed unified diff patch.
- Union
Find - Union-Find (disjoint set) structure.
- Union
Find V2 - Union-Find structure.
- Update
Item - An item pending in the update queue.
- Update
Queue - An update queue sorted by priority (lowest = first).
- User
Agent - Parsed result of a User-Agent string.
- User
Preferences - Uuid
- Value
Cache - The value cache.
- Value
Entry - A cached value entry.
- Value
Map - Polymorphic value map.
- VarEntry
- A variable entry.
- VarStore
- Variable store.
- Version
Vector - A vector clock mapping node ID to logical timestamp.
- Voronoi2D
- A 2D Voronoi diagram.
- Voronoi
Cell2D - A Voronoi cell: seed point + index of nearest seed for queries.
- WeakRef
- A weak reference that cannot prevent the owner from dropping.
- Weighted
Moving Average - Weighted Moving Average (WMA).
- Whitespace
Stats - Statistics about whitespace issues found in text.
- Word
Boundary Config - Configuration for word boundary detection.
- Word
Span - A word span in the source string.
- Work
Calendar - Workspace
- Workspace
Config - Write
Entry - A pending write entry.
- WsFrame
- A decoded WebSocket frame.
- XmlError
- XML tokenizer error.
- XmlTokenizer
- A SAX-style XML tokenizer.
- XxHasher
- xxHash hasher stub.
- Yaml
Document - A flat YAML document (key → scalar).
- Yaml
Error - A YAML parse error.
- Zipper
List - A zipper list with a focus on the current element.
- Zstd
Compressor - Zstd compressor stub.
- Zstd
Config - Configuration for the Zstd compressor.
Enums§
- AesKey
Len - Key length variants for AES.
- AggLog
Level - Log level severity ordering.
- Asset
Pack Entry - A single entry that can be stored in an asset pack.
- Avro
Error - Avro codec error.
- Avro
Type - An Avro primitive type.
- Avro
Value - An Avro value.
- B64s
Decode Error - Specific reason a base64 decode failed.
- B64s
Padding - Controls whether
=padding is emitted / required. - B64s
Variant - Selects the 64-character alphabet to use.
- Backoff
Strategy - Strategy for retry backoff.
- BagValue
- Value type stored in a
StateBag. - Barrier
State - State of the barrier.
- Browser
Family - Browser family detected from a User-Agent string.
- BspNode
- A node in the BSP tree.
- Cbor
Error - CBOR codec error.
- Cbor
Major - Major type codes used in CBOR.
- Cbor
Value - A CBOR value.
- CfgValue
- A typed configuration value.
- Change
Kind - Char
Class - Checksum
Algo - Checksum algorithm.
- Circuit
State - State of the circuit breaker.
- Clipboard
Content - Types of content that can be stored in the clipboard.
- CmdPriority
- Priority level for a command.
- Command
Priority - Priority levels for queued commands.
- Compress
Algo - Compression algorithm selector.
- Condition
- Condition type for a rule.
- Conflict
Merge Result - Result of a 3-way merge for one region.
- Console
Severity - Severity level for a console entry.
- Cron
Field - CtxValue
- Supported value types in the context map.
- Curve
Interp Mode - Interpolation mode between keyframes.
- Deadline
Status - Status of a tracked deadline.
- Decision
Node - A node in the decision tree.
- EditOp
- A single edit operation in a diff script.
- Error
Severity - Severity level of an error entry.
- Event
Kind - Kind of event dispatched on the bus.
- Event
Priority - Priority level for an event.
- Field
Val - A typed field value in a
StructMap. - Filter
Op - A composable filter pipeline operating on string records.
- Flag
State - State of a single feature flag.
- Flag
Value - Flat
Error - FlatBuffers error.
- FsEvent
- A file system event type.
- GcState
- State of a GC object.
- Grpc
Error - gRPC framing error.
- Health
Status - Overall health status.
- Highlight
Kind - A syntax highlighting category.
- Highlight
Language - Supported language modes for highlighting.
- Http
Error - HTTP parse error.
- Http
Method - An HTTP method.
- Huffman
Error - Errors that may occur during Huffman operations.
- Hunk
Line - A line in a unified hunk.
- Indent
Style - The detected indentation style.
- Json
Patch Error - Error type for patch operations.
- Json
Pointer Error - Error type for JSON Pointer operations.
- Json
Schema Type - Supported JSON schema types.
- JwtAlgorithm
- Supported JWT algorithms (stub).
- LexToken
Kind - Categories of lexer tokens.
- Line
Ending - The desired line-ending style.
- Locale
Id - Lock
Mode - Lock mode.
- LogLevel
- Logger
LogLevel - Log severity levels.
- MapVal
- Supported value types.
- Memory
Category - Categories of memory allocations.
- Merge
Region - Outcome of merging a single region.
- Metric
Kind - Middleware
Result - Result returned by a middleware stage.
- MsgError
- MessagePack codec error.
- MsgPriority
- Message priority.
- MsgValue
- A MessagePack value.
- Multipart
Error - Errors from multipart parsing.
- Myers
Edit Op - One edit operation in a diff.
- Notif
Priority - Priority level for notifications.
- Notification
Severity - OsFamily
- Operating system detected from a User-Agent string.
- Paragraph
Kind - The inferred type of a paragraph.
- Param
Value - Parse
Node - Minimal PEG-style parser combinator.
- Parse
Result - The parser result.
- Patch
Error - Error kinds for patch application.
- PatchOp
- A single JSON Patch operation.
- Piece
Source - Source of a piece.
- Plugin
Kind - Plugin
State - Policy
Kind - Eviction policy kind.
- Policy
Profile - Pool
Resource State - State of a pooled resource.
- Pref
Value - Proc
CtxVal - Value held in the processing context.
- PsStage
Result - Recurrence
Rule - Recurrence rule for scheduled tasks.
- Resolve
Error - Resource
State - Result
Kind - A single result entry.
- Retry
Result - Result of a retry check.
- Ring
LogLevel - Log level for ring log entries.
- Schema
Type - Security
Error - Errors produced by OxiHuman security validation functions.
- SegOp
- The operation supported by the segment tree.
- Severity
- Severity of a report event.
- SortDir
- A sort direction.
- Span
Status - Status of a trace span.
- Stage
Status - Step
State - Simple sequential plan executor with named steps.
- SubTask
Status - Status of a sub-task.
- Target
Category - Categories for morph targets (mirrors MakeHuman directory structure).
- Task
Priority - Task
State - Task
Status - Texture
Format - Supported texture encoding formats.
- Thrift
Error - Thrift codec error.
- Thrift
Type - Thrift type identifiers.
- Thrift
Value - A Thrift value.
- Token
Kind - Token category.
- Toml
Value - A TOML value.
- Transfer
State - Transfer state.
- Transform
Kind - Built-in transform kinds.
- Typed
Config Val - A typed configuration value that can hold different data types.
- Varint
Error - Error type for varint operations.
- WsError
- WebSocket frame error.
- WsOpcode
- WebSocket opcode.
- XmlToken
- A single XML token.
- Yaml
Scalar - A YAML scalar value.
Constants§
- MARKER_
OURS - Default conflict separator strings.
- MARKER_
SEP - MARKER_
THEIRS
Traits§
- Command
- A reversible command that operates on
CommandState.
Functions§
- aabb2d_
entry - Helper to create an
AabbEntry. - ab_
add_ test - ab_
select_ variant - ab_
total_ weight - ab_
variant_ count - ac_
add_ pattern - Add a pattern to the automaton (must call
ac_buildbefore searching). - ac_
build - Build failure links (BFS over the trie).
- ac_
contains - Return
trueif any pattern appears intext. - ac_
pattern_ count - Return the number of patterns.
- ac_
search - Search
textfor all pattern occurrences. Returns matches in order. - ac_
stub_ any_ match - ac_
stub_ count_ matches - ac_
stub_ first_ match - ac_
stub_ search - activate_
plugin - active_
notification_ count - active_
notifications - active_
plugins - active_
profile - Return the name of the currently active profile.
- add_
business_ days - add_
color - Adds a color entry to a palette.
- add_
dep_ node - add_
durations - add_
field - Add a field definition to the schema.
- add_
locale_ string - add_
locale_ table - add_
result - Adds a health check result for a component.
- add_
ring_ node - add_
route - Adds a route, returning false if the table is full.
- add_
state - Add a state to the builder.
- add_
task - Add a task to the graph and return its assigned ID.
- add_
transition - Add a transition to the builder.
- additive_
checksum - Simple additive checksum (byte sum mod 256).
- advance_
notifications - advance_
stage - aes_
derive_ key_ stub - Generate a stub 256-bit key from a passphrase (not cryptographically secure).
- aes_
gcm_ decrypt - Decrypt ciphertext produced by
aes_gcm_encrypt. - aes_
gcm_ encrypt - Encrypt plaintext using AES-GCM stub.
Returns
nonce (12 bytes) || tag (16 bytes) || ciphertext. - aes_
key_ len_ valid - Return whether a key length is valid for AES.
- agg_
count - agg_
count_ level - agg_
push - agg_
set_ min - aggregate_
apply_ event - aggregate_
clear_ events - aggregate_
health - Computes the overall health from all recorded results.
- aggregate_
id - aggregate_
increment_ version - aggregate_
pending_ events - aggregate_
version - aggregator_
clear - aggregator_
count - aggregator_
has_ errors - aggregator_
messages - aggregator_
push - algorithm_
name - Returns the algorithm string from a header.
- alive_
total_ bytes - Total bytes across all alive temp files.
- all_
categories - all_
dependents_ transitive - all_
enabled_ flags - all_
handler_ ids - Returns all handler IDs registered in the router.
- all_
healthy - Returns true if all components are healthy.
- allocation_
count - Return the total number of allocation operations.
- anomaly_
count - apply_
defaults - Fill in missing fields with their default values.
- apply_
edit_ script - Apply an edit script and return the resulting lines.
- apply_
ema - Apply EMA to a slice.
- apply_
mask - Apply (or remove) a WebSocket masking key to a payload in place.
- apply_
myers_ diff - Reconstruct the “new” file from a diff.
- apply_
patch - Apply a unified patch to a slice of lines, returning the patched lines.
- apply_
patch_ stub - Apply a patch to old lines to produce new lines (stub).
- apply_
sma - Apply SMA to a slice, returning a vector of the same length.
- arg_get
- Get a kwarg value, returning None if not present.
- arg_
get_ f64 - Get a kwarg as f64.
- arg_
get_ i64 - Get a kwarg as i64.
- arg_
get_ or - Get a kwarg with a default value if missing.
- arg_
has_ flag - Check if a flag is present.
- arg_
keys - Return all kwarg keys.
- arg_
positional_ count - Return the number of positional arguments.
- array_
len - Count the number of top-level items in an array value.
- artic_
add_ edge - Add an undirected edge.
- artic_
component_ count - Return number of connected components.
- audit_
chain_ hash - audit_
count - audit_
event_ by_ actor - audit_
event_ clear - audit_
event_ count - audit_
event_ last - audit_
event_ record - audit_
event_ since - audit_
filter_ actor - audit_
record - auto_
resolve_ ours - Auto-resolve by preferring ours.
- auto_
resolve_ theirs - Auto-resolve by preferring theirs.
- average_
frame_ ns - avg_
delta - Compute the average delta magnitude.
- avg_
words_ per_ sentence - Return the average word count per sentence.
- avro_
encode_ bytes - Encode an Avro bytes field (length-prefixed).
- avro_
type_ name - Return the name of an Avro record type, or
None. - b64s_
decode - Decode a standard padded Base64 string.
- b64s_
decode_ config - Decode a base64 string using the given configuration.
- b64s_
decode_ url_ safe - Decode a URL-safe Base64 string (padding optional).
- b64s_
decoded_ len - Upper-bound decoded length (may over-estimate by up to 2 bytes because padding/remainder is not accounted for).
- b64s_
encode - Encode bytes to standard padded Base64 (no line wrapping).
- b64s_
encode_ config - Encode
datausing the given configuration. - b64s_
encode_ mime - Encode bytes to MIME Base64 (padded, line-wrapped at 76 chars).
- b64s_
encode_ url_ safe - Encode bytes to URL-safe Base64 without padding.
- b64s_
encoded_ len - Returns the encoded length without line-wrapping overhead.
- b64s_
is_ valid - Original validation function (backward compatible).
- b64s_
is_ valid_ config - Check if a string is valid base64 for the given configuration.
- b64s_
is_ valid_ url_ safe - Validate that a string is valid URL-safe base64.
- barrier_
arrive - barrier_
is_ released - barrier_
register - barrier_
reset - barycentric_
2d - Barycentric coordinates of 2D point p in triangle (a, b, c).
- base58_
decode - Decode a Base58 string back to bytes.
- base58_
encode - Encode bytes to Base58.
- base58_
encoded_ len_ estimate - Return the expected encoded length (estimate).
- base58_
is_ valid - Verify that a Base58 string contains only valid characters.
- base58_
roundtrip_ ok - Verify round-trip encode/decode.
- base64_
decode - base64_
decoded_ len - base64_
encode - base64_
encode_ str - base64_
encoded_ len - base64_
is_ valid - base64url_
encode - Simple stub base64url encoding (not spec-compliant, for stub use only).
- begin_
span - bellman_
ford - Run Bellman-Ford from
src. ReturnsBfResult. - bezier_
cubic - Evaluate a cubic Bezier curve at parameter t in [0, 1].
- bezier_
cubic_ 2d - Evaluate a cubic Bezier curve at t for 2D control points.
- bezier_
cubic_ sample - Sample a cubic Bezier curve into
nevenly-spaced points in t ∈ [0, 1]. - bezier_
cubic_ tangent - Tangent (derivative) of a cubic Bezier curve at parameter t.
- bezier_
eval - Evaluate a cubic Bezier at parameter
tin [0, 1]. - bezier_
length - Approximate the arc length of a cubic Bezier using
nlinear segments. - bezier_
quadratic - Evaluate a quadratic Bezier curve at parameter t in [0, 1]. p0, p1, p2 are the three control points (f32 scalars).
- bezier_
quadratic_ 2d - Evaluate a quadratic Bezier curve at t for 2D control points.
- bezier_
split - Split a cubic Bezier at parameter
tusing de Casteljau’s algorithm. Returns (left, right) sub-curves. - bf_
add_ edge - Add a directed weighted edge.
- bf_
distance - Return the shortest distance from
srctodst, orNoneif unreachable. - bf_
edge_ count - Return number of edges in the graph.
- bf_
has_ negative_ cycle - Return
trueif the graph has a negative cycle reachable fromsrc. - bfs_
add_ edge - Add a directed edge
u -> v. - bfs_
add_ undirected - Add an undirected edge between
uandv. - bfs_
distance - Return the hop count from
srctodst, orNoneif unreachable. - bfs_
distances - Return the shortest-path distance from
srcto every reachable node. Unreachable nodes have distanceusize::MAX. - bfs_
reachable - Return
trueifdstis reachable fromsrc. - bfs_
shortest_ path - Return the shortest path from
srctodstas a vector of node indices, orNoneif unreachable. - bilinear_
interp - Bilinear interpolation (f32 version).
- bip_
add_ edge - Add an edge from left node
uto right nodev. - bip_
edge_ count - Return the number of edges in the bipartite graph.
- bipartite_
matching - Run augmenting-path bipartite matching. Returns the matching as
a
Vecof (left, right) pairs. - bitset_
and - bitset_
clear - bitset_
count_ ones - bitset_
count_ zeros - bitset_
flip - bitset_
get - bitset_
or - bitset_
set - blake3_
hash - Compute a BLAKE3 stub digest.
- blake3_
keyed_ hash - Compute a keyed BLAKE3 stub digest.
- blake3_
output_ len - Return output length of BLAKE3 in bytes (always 32 for default output).
- blake3_
stable - Verify round-trip: hash twice and check equality.
- blend_
palette_ colors - Linearly blends two RGBA colors by
tin [0, 1]. - bloom_
contains - Check whether an item is (probably) in the Bloom filter. False positives are possible; false negatives are not.
- bloom_
fill_ ratio - Return the fraction of bits that are set (fill ratio).
- bloom_
insert - Insert an item into the Bloom filter.
- bloom_
prob_ bit_ count - bloom_
prob_ estimated_ fp_ rate - bloom_
prob_ hash_ count - bloom_
prob_ insert - bloom_
prob_ may_ contain - bloom_
prob_ reset - bloom_
reset - Reset the Bloom filter (clear all bits).
- bmf_
clear - bmf_
count_ set - bmf_raw
- bmf_set
- bmf_
set_ by_ index - bmf_
test - box_
volume - Volume of a box.
- brotli_
compress - Compress bytes with Brotli stub (4-byte LE header + raw payload).
- brotli_
decompress - Decompress bytes produced by
brotli_compress. - brotli_
max_ compressed_ size - Estimate output size for Brotli compression (stub).
- brotli_
quality_ valid - Return whether quality is in valid range [0, 11].
- brotli_
roundtrip_ ok - Verify round-trip integrity.
- browser_
name - Returns a display name string for the browser family.
- bsp_
build - Build a BSP tree from a list of polygons using the first polygon’s edge as the splitter.
- bsp_
collect_ polygons - Collect all polygons from a BSP tree in front-to-back order.
- bsp_
depth - Count the depth of the BSP tree.
- bsp_
get_ root - Get BSP root reference.
- bsp_
is_ leaf - Check if a BSP tree is a leaf.
- bsp_
line_ side - Evaluate which side of the line a point is on. Returns positive if in front, negative if behind, ~0 if on line.
- bsp_
polygon_ count - Count the total number of polygons in a BSP tree.
- bsp_
set_ root - Set the BSP root.
- bsp_
split_ polygon - Split a polygon by a line into front and back parts. Returns (front_vertices, back_vertices).
- btree_
simple_ get - btree_
simple_ insert - btree_
simple_ len - btree_
simple_ range - btree_
simple_ remove - budget_
remaining - Return the remaining bytes under the budget. Returns 0 if no budget is set or if usage exceeds the budget.
- buffer_
min_ max - buffer_
variance - buffers_
equal - Return
trueif two encoded buffers represent equal values. - build_
alpha_ pack - Build the built-in alpha sample asset pack.
- build_
archive - Build an archive from name/data pairs.
- build_
authorization_ url - Builds the authorization URL with PKCE parameters.
- build_
edit_ script - Build an edit script transforming
oldlines intonewlines. - build_
frequency_ table - Build a frequency table from the given data slice (legacy API).
- build_
fsm - Build the FSM, consuming the builder.
- build_
histogram - Build a frequency histogram of the given lines.
- build_
lcp - Build the LCP array using Kasai’s O(n) algorithm.
sais the suffix array (0-indexed positions intos). Returnslcpwherelcp[i]= LCP of suffixes atsa[i-1]andsa[i].lcp[0]is always 0. - build_
lcp_ array - Build the LCP (Longest Common Prefix) array from the suffix array.
lcp[i]= length of the longest common prefix ofsa[i]andsa[i-1].lcp[0]= 0. - build_
line_ indexer - Build a
LineIndexerfrom a string slice. - build_
octree - Build an octree from a set of 3-D points.
- build_
sa_ v2 - Build a suffix array using prefix-doubling (Manber & Myers approach). Returns sorted suffix starting indices.
- build_
segment_ tree - build_
suffix_ array - Build a suffix array for
susing a simple O(n log^2 n) algorithm. Returns a vector of starting indices intos, sorted lexicographically. - build_
suffix_ array_ stub - Build a suffix array for the given string using the SA-IS algorithm (O(n)).
- build_
voronoi - Build a
Voronoi2Dfrom a slice of seed points. - bus_
clear - bus_
emit - bus_
event_ count - bus_
events_ of_ type - bus_
has_ event_ type - cache_
clear - cache_
contains - cache_
count - cache_
get - cache_
hit_ rate - cache_
insert - cache_
invalidate - Invalidates a cached entry by key.
- cache_
remove - cache_
size - cache_
stats - cache_
store - Stores a response in the cache.
- can_
apply_ cleanly - Check whether a patch can be applied cleanly (no conflicts).
- can_
redo - can_
retry - Returns true if another retry is possible.
- can_
undo - cancel_
job - Cancel a job by ID (mark as failed).
- catmull_
rom - Evaluate a Catmull-Rom spline segment between p1 and p2, given control points p0 and p3. t in [0, 1].
- catmull_
rom2 - Evaluate Catmull-Rom for 2D points.
- catmull_
rom3 - Evaluate Catmull-Rom for 3D points.
- catmull_
rom_ 2d_ spline - Evaluate a 2D Catmull-Rom spline at parameter t.
- catmull_
rom_ 3d - Evaluate a 3D Catmull-Rom spline at parameter t.
- catmull_
rom_ chain_ 2d - Sample a chain of Catmull-Rom segments at
steps_per_segmentpoints each.pointsmust have at least 4 elements. Returns sampled 2D points. - catmull_
rom_ f32 - Evaluate a Catmull-Rom spline segment between p1 and p2 at parameter t ∈ [0, 1]. p0 and p3 are the neighbouring control points.
- catmull_
rom_ tangent_ f32 - Derivative of a Catmull-Rom segment at t.
- cbf_
contains_ str - Check membership for a string key.
- cbf_
insert_ str - Insert a string key.
- cbf_
remove_ str - Remove a string key.
- cbor_
array_ len - Count items in a CBOR array value.
- cbor_
encoded_ len - Return the byte length of the encoded form.
- cbor_
is_ null - Return
trueif the value is null. - cc_
hsv_ to_ rgb - Convert HSV to RGB. All inputs and outputs in [0, 1].
- cc_
linear_ to_ srgb - Convert linear component to sRGB.
- cc_
rgb_ to_ hsv - Convert RGB to HSV. All inputs and outputs in [0, 1].
- cc_
srgb_ to_ linear - Convert sRGB component to linear.
- cell_
centroid - Compute the centroid of seed points assigned to a given cell.
- cg_
add_ edge - Add an undirected edge between
uandv. - cg_
degree - Return degree of vertex
v. - cg_
edge_ count - Return number of edges (undirected).
- cg_
max_ degree - Return the maximum degree in the graph.
- cg_
vertex_ count - Return number of vertices.
- chacha_
decrypt - Decrypt ciphertext produced by
chacha_encrypt. - chacha_
encrypt - Encrypt plaintext with ChaCha20-Poly1305 stub.
Returns
nonce (12 bytes) || tag (16 bytes) || ciphertext. - chacha_
key_ from_ seed - Generate a stub 256-bit key from a seed value.
- chacha_
nonce_ len - Return the nonce length used by this stub.
- chacha_
roundtrip_ ok - Verify round-trip integrity.
- change_
count - changes_
for_ path - char_
is_ whitespace - check_
and_ record - Returns true if the request is allowed, recording the timestamp.
- check_
dependencies_ met - checked_
stride_ offset - Computes
index * stridewith overflow detection and bounds checking. - checkerboard
- Checkerboard pattern: returns 0.0 or 1.0.
- checksum_
map - Build a checksum registry for multiple files (stub).
- chunk_
vec - chunks_
of - circle_
area - Area of a circle.
- cl_
append - cl_
count - cl_
filter_ kind - cl_
since - clamp01
- Clamp a float to [0.0, 1.0].
- clamp_
color - Clamp all RGB components to [0, 1].
- classify_
char - classify_
str - classify_
token - Classify a single token string given the language config.
- clean_
line_ count - Count non-conflicting merged lines.
- clear_
all_ handlers - Clear all handlers across all event types.
- clear_
all_ notifications - clear_
bit - Clear a specific bit.
- clear_
clipboard - Clear the clipboard (current + history).
- clear_
completed_ tasks - clear_
debug_ console - Clears all log entries from the console.
- clear_
error_ log - Clear all entries.
- clear_
event_ bus - Clear pending events and dispatched history, keeping subscribers.
- clear_
event_ log - clear_
handlers - Clear all handlers for an event type.
- clear_
history - clear_
logger_ log - Clear all stored log entries.
- clear_
pool - Remove all strings from the pool.
- clear_
priority_ map - clear_
profiler - clear_
queue - Remove all commands from the queue.
- clear_
reload_ changes - clear_
topic - Clears all messages for a given topic.
- clear_
undo_ history - clipboard_
content_ type - Return the type name of the current clipboard content.
- clipboard_
has_ content - Check whether the clipboard has any content.
- clipboard_
history_ count - Return the number of entries in the clipboard history (not counting current).
- clipboard_
to_ json - Serialize the current clipboard content to a JSON string.
- closest_
point_ on_ segment - Closest point on segment (a, b) to point p.
- cm_
color_ lerp - Linearly interpolate between two RGB colours.
- cm_
hsl_ to_ rgb - Convert HSL
[h in 0..360, s, l]to sRGB[0,1]. - cm_
hsv_ to_ rgb - Convert HSV
[h in 0..360, s, v]to sRGB[0,1]. - cm_
rgb_ to_ hsl - Convert sRGB
[0,1]to HSL[h in 0..360, s in 0..1, l in 0..1]. - cm_
rgb_ to_ hsv - Convert sRGB
[0,1]to HSV[h in 0..360, s in 0..1, v in 0..1]. - collapse_
blank_ lines - Collapse runs of blank lines to a maximum of
maxconsecutive. - collect_
results - collect_
text - Collect all text content strings.
- color_a
- Extract the alpha channel as a byte.
- color_b
- Extract the blue channel as a byte.
- color_
black - Opaque black.
- color_
blend - Blend src over dst using alpha compositing (src-over).
- color_
dist_ sq - Compute squared Euclidean distance between two RGB colors.
- color_
distance_ lab - CIE76 Delta E color distance between two Lab colors.
- color_g
- Extract the green channel as a byte.
- color_
lerp - Linearly interpolate between two packed colors.
- color_
premul_ alpha - Premultiply alpha: multiply RGB by alpha.
- color_r
- Extract the red channel as a byte.
- color_
temperature_ to_ rgb - Approximate color temperature (Kelvin) to sRGB. Uses Tanner Helland’s algorithm as a fast approximation.
- color_
to_ grayscale - Convert to grayscale (luminance) using BT.601 coefficients.
- color_
transparent - Transparent (fully transparent black).
- color_
white - Opaque white.
- coloring_
is_ valid - Verify that a coloring is valid: no two adjacent vertices share a color.
- coloring_
num_ colors - Return the number of distinct colors used in a coloring.
- command_
count - Return the number of commands currently in the queue.
- command_
descriptions - Return descriptions of commands in the undo stack (oldest first).
- command_
names - command_
queue_ to_ json - Produce a minimal JSON representation of the queue.
- commands_
by_ priority - Collect references to all commands of a given priority.
- common_
prefix_ len - completed_
count - Number of completed tasks.
- completed_
stage_ count - compress_
bytes - Compress bytes with a given algorithm at level 6.
- compress_
rle - Encode data as RLE (run-length encoding): [count, value] pairs.
- compression_
ratio - Ratio of compressed to original length (< 1.0 means compression helped).
- compute_
checksum - Compute a checksum for bytes.
- compute_
string_ hash - config_
added_ keys - Keys present in
newbut not inold. - config_
changed_ keys - Keys present in both but with different values.
- config_
diff_ count - Total number of added + removed + changed keys.
- config_
from_ pairs - Populate the named profile from a slice of
(key, value)string pairs. Values starting withtrue/falsebecomeBool, digits becomeInt, digits with.becomeFloat, otherwiseStr. Returns the number of pairs imported, orNoneif the profile was not found. - config_
is_ identical - Returns true if both maps are identical.
- config_
removed_ keys - Keys present in
oldbut not innew. - config_
to_ json - Serialise the entire configuration manager state to a compact JSON string.
- config_
value_ get_ bool - Get a bool value from a ConfigValue.
- config_
value_ get_ float - Get a float value from a ConfigValue.
- config_
value_ get_ int - Get an integer value from a ConfigValue.
- config_
value_ get_ str - Get a string value from a ConfigValue.
- console_
entries_ by_ severity - Returns all entries matching the given severity.
- console_
entry_ count - Returns the total number of entries in the console.
- console_
error_ count - Returns the count of entries with
ConsoleSeverity::Error. - console_
last_ entry - Returns the last entry in the console, or
Noneif empty. - console_
log - Appends a log entry with the given severity and message.
- console_
to_ string - Formats all console entries as a single multi-line string.
- content_
length - Return the Content-Length header value if present.
- context_
advance - context_
get - context_
set - context_
stage - convert_
utc_ minutes - convex_
hull_ 2d - Compute the 2D convex hull of a set of points using Graham scan. Returns the hull vertices in counter-clockwise order.
- convex_
hull_ 3d - Compute the convex hull of a point set using a simple incremental method. Returns None if there are fewer than 4 non-coplanar points.
- copy_
color - Copy an RGBA color to the clipboard.
- copy_
object - Copy object from one key to another.
- copy_
parameters - Copy parameter key/value pairs to the clipboard.
- copy_
pose - Copy a pose to the clipboard.
- copy_
text - Copy a text string to the clipboard.
- copy_
to_ clipboard - Copy content to the clipboard with an optional label.
- count_
bdays - count_
by_ severity - Count entries at or above a given severity.
- count_
by_ status - Counts components by status.
- count_
conflicts - Count conflicts in a merge result list.
- count_
distinct_ u32 - Count distinct values in a sorted u32 slice.
- count_
end_ tags - Count end tags.
- count_
highlight_ kind - Count tokens of a given kind in the result.
- count_
leading_ zeros - Count leading zeros.
- count_
mixed_ indent_ lines - Count how many lines have inconsistent indentation (mix within same file).
- count_
occurrences - Count matches of a fixed literal in text.
- count_
ops - Count operations of each kind in a patch.
- count_
overlapping_ hunks - Count the number of hunks that overlap.
- count_
start_ tags - Count tokens of a specific variant name in a list.
- count_
tokens_ of_ kind - Count tokens of a specific kind.
- count_
trailing_ zeros - Count trailing zeros (index of lowest set bit). Returns 64 if x is 0.
- counter_
add - counter_
compare_ and_ swap - counter_
decrement - counter_
get - counter_
increment - counter_
reset - cow_
read - Read the current value.
- cow_
share - Share a handle without copying data.
- cp_add
- cp_
most_ utilized - cp_
over_ threshold - cp_
spec_ count - crc8
- Compute CRC-8 checksum of a byte slice.
- crc8_
simple - crc8_
simple_ check - crc8_
update - crc8_
verify - Verify CRC-8: recompute and compare.
- crc16
- Compute CRC-16/CCITT checksum of a byte slice.
- crc32
- Compute CRC-32 of a byte slice using a freshly-built table.
- crc16_
simple - crc16_
simple_ check - crc16_
update - crc16_
verify - Verify CRC-16: recompute and compare.
- crc32_
bytes - Simple CRC32 stub (polynomial 0xEDB88320).
- crc32_
match - Check whether two byte slices have the same CRC-32.
- create_
n - Create N temp files and return their paths.
- create_
profile - Create a new empty profile with the given name.
Returns
falseif a profile with that name already exists. - create_
session - Creates a new session for a user at the given timestamp.
- critical_
path_ length - Return the length of the critical (longest dependency chain) path.
- cron_
is_ wildcard_ all - cron_
matches - Check if a given (minute, hour, day, month, weekday) fires.
- cs_
linear_ to_ srgb - Convert a single linear component to sRGB.
- cs_
srgb_ to_ linear - Convert a single sRGB component to linear.
- csv_
col_ count - Return the number of columns (header fields).
- csv_
field - Get the value of column
colin rowrow(0-indexed), or None. - csv_
row_ count - Return the number of data rows (excluding the header).
- ctx_
add_ error - ctx_
add_ warning - ctx_
advance - ctx_get
- ctx_has
- ctx_
has_ errors - ctx_
is_ done - ctx_
mark_ done - ctx_
reset - ctx_set
- ctx_
stage - cu_
linear_ to_ srgb - Convert linear component to sRGB.
- cu_
srgb_ to_ linear - Convert sRGB component to linear.
- cube_
round - Round fractional cube coordinates to nearest integer hex.
- cubic_
interp - Cubic Hermite interpolation (f32 version).
- current_
state - Returns the current state of the circuit breaker.
- current_
time_ ms - Returns the current time in ms.
- current_
usage - Return the current total memory usage in bytes.
- cvv_
concurrent - cvv_
dominates - Returns true if
adominates (happens-after or equals)b. - cvv_get
- cvv_
increment - cvv_
merge - cvv_
node_ count - date_
to_ julian_ day - Compute Julian Day Number (JDN) for a proleptic Gregorian calendar date.
- day_
of_ week - Day-of-week: 0=Sunday, 1=Monday, …, 6=Saturday.
- days_
between - Days between two dates (b - a).
- days_
in_ month - dc_
component - Compute DC component (mean) of the signal.
- deactivate_
plugin - decode_
frame - Decode a complete gRPC frame, returning the message bytes.
- decode_
frame_ header - Decode a gRPC frame header from the first 5 bytes.
- decode_
i32 - Decode a Thrift
i32from a big-endian byte slice. - decode_
long - Decode an Avro zigzag long.
- decode_
rgba_ f32 - Decode a PackedColor into RGBA floats [0.0, 1.0].
- decode_
rgba_ u8 - Decode a PackedColor into RGBA bytes.
- decode_
symbol - Decode a code back to the original byte, or
Noneif code out of range. - decode_
u16_ to_ f32 - Decode a u16 value to f32 given a range config.
- decode_
varint - Decode a protobuf varint from a byte slice.
Returns
(decoded_value, bytes_consumed). - decode_
zigzag - Decode a zigzag-encoded varint from a byte slice.
- decompress_
rle - Decode RLE-encoded data produced by
compress_rle. - dedup_
sorted - Utility functions operating on slices and vectors.
- default_
base64_ config - default_
bool_ flag - default_
builtin_ plugins - Return the list of built-in plugin descriptors shipped with OxiHuman.
- default_
classifier_ config - default_
debug_ console_ config - Returns a default
DebugConsoleConfig. - default_
hot_ reload_ config - default_
int_ flag - default_
packed_ config - Create a default config with range [-1, 1].
- default_
quality - Returns the default quality for a given MIME type (stub heuristic).
- default_
render_ schema - Create the default render config schema.
- default_
workspace_ config - Default workspace configuration with sensible defaults.
- delaunay_
2d - Bowyer-Watson 2D Delaunay triangulation.
- delaunay_
tri_ count - Number of triangles in result.
- delaunay_
valid - Check if all triangle vertex indices are in range.
- delay_
for_ attempt - Computes the delay in ms before the next retry attempt.
- delete_
by_ path - Delete a temp file by path.
- delete_
cookie - Removes a cookie by name and domain.
- delete_
profile - Delete a profile by name.
Returns
falseif not found or it is the active profile. - delta_
decode - Decode a zigzag+delta-encoded sequence back to i64.
- delta_
decode_ u32 - Decode a u32 delta-encoded sequence.
- delta_
encode - Delta-encode a sequence of i64 values, then zigzag-encode to u64.
- delta_
encode_ u32 - Delta-encode a u32 sequence (no zigzag, values are non-decreasing).
- dep_
add_ edge - dep_
add_ node - dep_
graph_ to_ json - dep_
has_ cycle - dep_
node_ count - dep_
topo_ sort - Kahn’s algorithm. Returns
Noneif a cycle is detected. - dependency_
order - Topological sort of plugins by dependencies (Kahn’s algorithm).
- dequeue
- Remove and return the highest-priority (lowest rank) command.
Returns
Noneif the queue is empty. - deregister_
instance - Deregisters an instance by name and host+port combination.
- describe_
cron - Describes a cron schedule in human-readable form.
- detect_
cycle - Check for cycles: returns the paths involved if a loop is detected.
- detect_
indent - Detect the indentation style used in a block of text.
- detect_
paragraphs - Split text into paragraphs.
- detect_
trend - Detect trend from uniformly-spaced samples (x = 0..n-1).
- detect_
whitespace_ issues - Detect whitespace issues in
textrelative tocfg. - determinant
- Matrix determinant via Gaussian elimination.
- diff_
lines - Compute Myers diff between two lists of lines.
- diff_
stats - Count insertions and deletions in a diff result.
- direct_
dependents - disable_
profiler - disable_
watcher - dismiss_
notification - dispatch_
event - Dispatch an event; returns number of handlers invoked.
- dispatch_
handler_ count - Number of handlers for a given event type.
- dispatch_
register_ handler - Register a named handler for an event type. Returns HandlerId.
- dispatch_
total_ count - Total number of dispatches executed.
- dispatch_
unregister_ handler - Unregister a handler by id.
- dist_2d
- Euclidean distance between two 2D points.
- dist_3d
- Euclidean distance between two 3D points.
- distinct_
substrings - Return the number of distinct substrings in the string. = n*(n+1)/2 - sum(lcp)
- double_
hash_ sign SHA256(key || SHA256(message))— length-extension resistant double-hash.- download
- Download bytes for a key.
- dq_
approx_ eq - Check approximate equality.
- dq_
conjugate - Conjugate of a dual quaternion (for inversion of unit DQ).
- dq_dot
- Dot product of dual quaternion real parts.
- dq_
from_ rot_ trans - Create a dual quaternion from a unit rotation quaternion and translation vector.
- dq_
get_ rotation - Extract the rotation part from a dual quaternion.
- dq_
get_ translation - Extract the translation vector from a unit dual quaternion.
- dq_
identity - Identity dual quaternion (no rotation, no translation).
- dq_mul
- Multiply two dual quaternions: result = a * b.
- dq_
normalize - Normalize a dual quaternion so the real part is unit.
- dq_
transform_ point - Transform a 3D point by a unit dual quaternion. Decomposes into rotation + translation then applies each in order.
- drain_
all - Remove and return all commands, ordered by priority then sequence.
- drain_
and_ count - Drain and count events.
- drain_
topic - Drain all pending events for a specific topic, returning them.
- drop_
while_ vec - ds_
component_ count - ds_
connected - ds_find
- ds_same
- ds_size
- ds_
union - dt_add
- dt_
add_ branch - Add a branch node and return its index.
- dt_
add_ leaf - Add a leaf node and return its index.
- dt_
all_ actions - Collect all leaf actions in tree order.
- dt_
branch_ count - Count only branch nodes.
- dt_
clear - Clear all nodes from the tree.
- dt_
complete - dt_
count - dt_
evaluate - Evaluate the tree starting at
rootusing the given boolean context. Returns the leaf action label, orNoneif the tree is empty or invalid. - dt_
leaf_ action - Get the action label if a node is a leaf.
- dt_
leaf_ count - Count only leaf nodes.
- dt_
met_ count - dt_
node_ count - Return the number of nodes in the tree.
- dt_
overdue_ count - dual_
quat - Create a dual quaternion from real and dual parts.
- due_
tasks - duration_
to_ string - ear_
clip - Triangulate a simple polygon using ear clipping. Returns a list of triangle index triples (into the input vertex array).
- ear_
clip_ flat - Triangulate and return flat index array [i0, i1, i2, i0, i1, i2, …].
- ease_
bounce_ out - Bounce ease-out.
- ease_
by_ name - Evaluate any easing by name. Returns None if unknown.
- ease_
elastic_ out - Elastic ease-out.
- ease_
in_ back - Ease-in back (slight overshoot).
- ease_
in_ bounce - Ease-in bounce.
- ease_
in_ cubic - Ease-in cubic.
- ease_
in_ cubic_ fn - Cubic ease-in.
- ease_
in_ elastic - Ease-in elastic.
- ease_
in_ expo - Ease-in exponential.
- ease_
in_ out_ cubic - Ease-in-out cubic.
- ease_
in_ out_ quad - Quadratic ease-in-out.
- ease_
in_ out_ sine - Sinusoidal ease-in-out.
- ease_
in_ quad - Quadratic ease-in.
- ease_
linear - Linear interpolation (no easing).
- ease_
linear_ fn - Linear easing: t passes through unchanged.
- ease_
out_ back - Ease-out back.
- ease_
out_ bounce - Ease-out bounce.
- ease_
out_ cubic - Ease-out cubic.
- ease_
out_ cubic_ fn - Cubic ease-out.
- ease_
out_ elastic - Ease-out elastic.
- ease_
out_ expo - Ease-out exponential.
- ease_
out_ quad - Quadratic ease-out.
- ec_
polygon_ signed_ area - Return the signed area of the polygon (positive = CCW).
- edit_
distance - Compute the edit distance between two line slices.
- edit_
distance_ bounded_ lev - edit_
distance_ from_ script - Count the edit distance (number of non-keep ops) in an edit script.
- edit_
distance_ lev - edit_
is_ close_ lev - edit_
similarity_ lev - ef_
ease_ in_ elastic - Elastic ease-in (spec name: ease_in_elastic).
- ef_
ease_ out_ bounce - Bounce ease-out (spec name: ease_out_bounce, alias for ease_bounce_out).
- elapsed_
since - Returns elapsed ms since a given timestamp.
- ema_
batch - enable_
profiler - enable_
watcher - enabled_
stage_ count - Returns the number of enabled stages.
- enabled_
task_ count - encode_
cbor - Encode a
CborValueto bytes (stub). - encode_
f32_ to_ u16 - Encode a float value to u16 given a range config.
- encode_
field_ header - Encode a field header (type byte + i16 field ID).
- encode_
i32 - Encode a Thrift
i32in binary protocol (big-endian). - encode_
long - Encode an Avro long using zigzag + varint.
- encode_
symbol - Encode a byte to its stub code (index in table), or
Noneif not present. - encode_
varint - Encode a
u64as a protobuf varint into a byte buffer. - encode_
zigzag - Encode a
i64using zigzag encoding then varint. - end_
frame - end_
span - enqueue
- Enqueue a single command with the given label and priority. Returns the assigned command id.
- enqueue_
batch - Enqueue a batch of
(label, priority)pairs. Returns the assigned ids. - entity_
id_ is_ same_ kind - entity_
id_ kind - entity_
id_ nil - entity_
id_ parse - entity_
id_ to_ string - entity_
id_ value - entries_
by_ level - Return entries matching a specific level.
- entries_
for_ category - Return all entries for a category.
- entry_
count - Return the total number of stored entries.
- error_
count - error_
entry_ count - Current entry count.
- error_
log_ to_ json - Serialize to JSON string.
- es_
append - es_
events_ for - es_
latest_ version - es_
replay - es_
total_ events - escape_
token - Escape a single reference token per RFC 6901.
- estimate_
compressed_ size - Estimate compressed size (stub: 90% of original).
- estimate_
size - Total bytes that would be written.
- event_
bus_ to_ json - Serialise the entire bus state to a compact JSON string.
- event_
count - event_
count_ total - Return the total number of dispatched events since creation.
- event_
dispatch_ pending - Dispatch all pending events in priority order (High → Normal → Low).
Moves them from
pendingtodispatched. Returns the number of events dispatched. - event_
is_ type - event_
publish - Publish an event with Normal priority on the given topic. Returns the assigned event id.
- event_
subscribe - Register a subscriber for the given topic. Returns the new subscriber id.
- event_
to_ json - event_
unsubscribe - Remove a subscriber by id from the given topic.
Returns
trueif the subscriber was found and removed. - events_
after - events_
by_ aggregate - events_
of_ type - events_
since - evict_
lru - evict_
old - Removes timestamps outside the current window.
- evict_
until_ fits - exchange_
code_ for_ token - Stub: exchanges an authorization code for an OAuth2 token.
- execute_
command - Execute a command and push it onto the undo stack. Clears the redo stack (standard undo/redo semantics).
- execute_
sequential - Execute tasks sequentially in topological order, calling
executorfor each. - execute_
stage - export_
locale_ json - extension_
matches - Check whether a file’s extension is in the watch list.
- extract_
between - Extract the portion of text matching between two delimiters.
- extract_
boundary - Extracts the boundary from a Content-Type header value.
- extract_
range - Extract bits in the range
[lo, hi)(zero-indexed from lo). - extract_
words - Extract only the word spans (filtering out punctuation / whitespace).
- f32_
array_ to_ json - f32_
from_ le_ bytes - f32_
to_ le_ bytes - fail_
resource - failed_
count - Number of failed tasks.
- failed_
resource_ count - failed_
stages - fbm_
max_ amplitude - Maximum possible absolute value for fBm with given config.
- fbm_
perlin2 - fBm using Perlin noise.
- fbm_
simplex2 - fBm using simplex noise.
- feature_
flag_ count - feature_
registry_ to_ json - feed_
weighted - Weighted reservoir: feed item with integer weight (feed it weight times).
- fenwick_
prefix - Quick prefix sum query.
- fenwick_
range - Quick range sum query.
- fg_
add_ edge - Add a directed edge with capacity
c. - fg_
has_ augmenting_ path - Return
trueifsinkis reachable fromsrcin the residual graph (i.e., flow is not yet at maximum). - fg_
total_ capacity_ from - Return total capacity from
src(sum of outgoing edges). - file_
extension - Return the file extension (without dot), if any.
- filter_
by_ category - filter_
by_ ext - Filter entries by extension.
- filter_
by_ level - filter_
by_ min_ words - Filter paragraphs with fewer than
min_wordswords. - filter_
large - Filter files larger than
min_bytes. - filter_
outliers - filter_
short_ sentences - Filter sentences shorter than
min_wordswords. - find_
articulation_ points - Find all articulation points.
- find_
bridges - Find all bridges (edges whose removal disconnects the graph).
- find_
by_ name - Find entries whose path contains
needle. - find_
by_ prefix - Find all interned strings that start with the given prefix.
Returns their
StringIds. - find_
header - Look up a header value by name (case-insensitive).
- find_
part_ by_ name - Finds a part by its name field.
- find_
pattern - Find the first occurrence of
needleinhaystackusing rolling hash. Returns the starting index or None if not found. - find_
word_ spans - Split text into word spans (alternating word / non-word segments).
- first_
ok - fiscal_
quarter - Get the start and end calendar months of a fiscal quarter.
- fiscal_
year_ months - Count the number of calendar months in a fiscal year (always 12).
- fiscal_
year_ of - Determine the fiscal year number for a calendar date.
- fiscal_
year_ quarters - List all 4 quarters for a given fiscal year.
- flag_
anomalies - flag_
count - flag_
outliers - flags_
all - flags_
any - flags_
clear - flags_
count - flags_
reset - flags_
set - flags_
test - flags_
with_ tag - flat_
map_ vec - flatbuf_
read_ u32 - Read a
u32from a FlatBuffers byte slice at a given offset. - flatten_
nested - fletcher16
- Compute Fletcher-16 checksum.
- fletcher32
- fletcher16_
combine - fletcher16_
cs - fletcher16_
cs_ check - fletcher32_
check - flow_
node_ count - Return the number of nodes.
- floyd_
warshall - Run Floyd-Warshall in-place on the result.
- format_
bytes - Format bytes with B, KB, MB, GB suffix.
- format_
conflict - Format a conflict block with conflict markers.
- format_
date_ locale - format_
float - Format a float with given decimal places.
- format_
float_ sep - Format a float with thousands separator in the integer part.
- format_
int_ sep - Format an integer with thousands separator.
- format_
number_ locale - format_
offset - format_
percent - Format a percentage (0.0–1.0 -> “X.Y%”).
- format_
si - Format a number with an SI prefix (k, M, G, T, m, μ, n).
- format_
thousands - fractal_
noise_ 2d - Fractal Brownian Motion (fBm) noise.
- frame_
count_ profiler - framed_
length - Return the total framed length of a message.
- free_
count - Return the total number of free operations.
- from_
gray - fs_
alloc - Allocate a slot and insert value; returns index.
- fs_free
- Free a slot by index; returns the value if occupied.
- fs_get
- Get a reference to an occupied slot.
- fs_
get_ mut - Get a mutable reference to an occupied slot.
- ft2_add
- Add delta at position.
- ft2_len
- Size.
- ft2_
point_ query - Point query.
- ft2_
prefix_ sum - Prefix sum [0..=i].
- ft2_
range_ sum - Range sum [lo..=hi].
- future_
depth - fuzzy_
best_ match - fuzzy_
match_ score - fuzzy_
matches - fuzzy_
rank_ candidates - fw_
add_ edge - Add a directed weighted edge
u->vto the matrix before running Floyd-Warshall. - fw_
distance - Return the shortest distance i->j, or
Noneif unreachable. - fw_
has_ negative_ cycle - Return
trueif any diagonaldist[i][i]< 0 (negative cycle). - fw_
solve - Build and run Floyd-Warshall from an edge list. Returns the completed FwResult.
- garbage_
collect - gate_
clear - gate_
disable - gate_
enable - gate_
feature_ count - gate_
is_ enabled - gate_
toggle - gauge_
count - gauge_
current - gauge_
max - gauge_
min - gauge_
set - gaussian_
solve - Solve a dense linear system Ax = b using Gaussian elimination with partial pivoting. Returns None if the matrix is singular.
- generate_
patch - Generate a unified patch from old/new line slices.
- generate_
pkce_ challenge - Generates a stub PKCE challenge from a verifier string.
- generate_
session_ token - Generates a pseudo-random session token (stub — not cryptographic).
- get_
color - Looks up a color by name. Returns
Noneif not found. - get_
context_ value - get_
cookie - Retrieves a cookie by name and domain (domain=None matches any).
- get_
dep_ node - get_
flag - get_
flag_ bool - get_
flag_ int - get_
highest - get_
history_ entry - Get a history entry by index (0 = most recently replaced).
- get_
plugin - get_
pref - get_
profile_ value - Get a value from the named profile by key.
- get_
ready_ tasks - Return IDs of tasks whose dependencies are all Completed and whose own status is Pending.
- get_
resource - get_
resource_ by_ key - get_
ring_ node - get_
scheduled_ task - get_
value_ with_ fallback - Get a value from the active profile, falling back to the “default” profile if the key is not present in the active profile.
- glob_
match - Simple glob-style pattern matching (supports
*and?). - glob_
match_ ci - Case-insensitive glob match.
- gradient_
noise_ 1d - Simple 1D gradient noise.
- graph_
to_ json - Serialize the graph to a JSON string.
- grapheme_
count - Count the number of grapheme clusters in a string.
- gray_
bits - gray_
distance - gray_
next - gray_
prev - grayscale_
gradient - Build a grayscale gradient (black→white).
- greedy_
color - Greedy graph coloring. Returns a Vec where
colors[v]is the color index assigned to vertexv. Colors are assigned in vertex order 0..n using the smallest available color not used by any neighbor. - grep_
lines - Filter lines matching a glob pattern.
- grpc_
encode_ frame - Encode a gRPC frame: 5-byte header + message bytes.
- hamming_
decode_ nibble - hamming_
distance - hamming_
encode_ nibble - hamming_
introduce_ error - hamming_
is_ valid - hamming_
syndrome - handler_
names - Names of all handlers for a type.
- has_
circular_ dependency - has_
dependency - has_
errors - has_
fatal - Whether any fatal entries exist.
- has_
key_ pm - has_
migration_ path - has_
multibyte_ graphemes - Check whether a string contains any non-ASCII grapheme clusters.
- has_
perfect_ matching - Return
trueif a perfect matching exists (all left nodes matched). - has_
prefix - Check if text has prefix.
- has_
priority - Return
trueif there is at least one command of the given priority. - has_
state - Check if a state exists in the builder.
- has_
subscribers - Return
trueif at least one subscriber exists for the given topic. - has_
suffix - Check if text has suffix.
- has_
test_ ops - Return
trueif the patch contains anyTestoperations. - has_
transition - Check if a transition exists (by from and event).
- has_
type - hash_
bytes - Hash a byte slice.
- hash_
combine_ strings - hash_
empty_ string - hash_
file_ content - Hash string content.
- hash_
to_ hex_ sh - hb_
bucket_ count - Number of buckets.
- hb_
clear - Clear all entries.
- hb_
contains - Whether a key exists.
- hb_
count - Total number of stored entries.
- hb_get
- Look up a key.
- hb_
insert - Insert or update a key-value pair.
- hb_keys
- Collect all keys.
- hb_
load_ factor - Load factor (entries / buckets).
- hb_
remove - Remove a key; returns old value if present.
- health_
all_ ok - health_
count - health_
failing_ count - health_
register - health_
summary - health_
update - Update an existing check. Returns true if the check was found.
- hermite
- Evaluate a cubic Hermite spline between (p0, m0) and (p1, m1). t in [0, 1], m0 and m1 are tangents scaled to the segment length.
- hermite2
- 2D Hermite spline segment.
- hermite3
- 3D Hermite spline segment.
- hermite_
basis - Hermite basis function values at t.
- hermite_
deriv - Derivative of Hermite spline at t.
- hermite_
interp - Hermite interpolation between p0 and p1 using tangents m0 and m1 (f32).
- hex_
byte_ count_ new - hex_
decode - Decode a hex string (lowercase or uppercase) back to bytes.
- hex_
decode_ new - hex_
disk - Generate all hexes within
radiusfrom center. - hex_
encode - Encode bytes as a lowercase hex string.
- hex_
encode_ new - hex_
encode_ upper - Encode bytes as an uppercase hex string.
- hex_
encode_ upper_ new - hex_
is_ valid - Return whether a string is valid hex (even length, valid chars).
- hex_
is_ valid_ new - hex_
ring - Generate a filled hexagonal ring at radius
rfrom origin. - hex_
roundtrip_ ok - Verify round-trip encode/decode.
- hex_
strip_ prefix - Strip optional
0xprefix from a hex string. - hg_
insert_ 2d - Insert a 2D point (z = 0).
- hg_
query_ 2d - Query radius in 2D (z = 0).
- highest_
bit - Return the index of the highest set bit, or None if mask is 0.
- highlight_
tokens - Highlight a list of tokens, returning a
HighlightTokenper entry. - hilbert_
d_ to_ xy - hilbert_
max_ index - hilbert_
order_ for_ size - hilbert_
xy_ to_ d - hist_
bucket - hist_
count - hist_
mean - hist_
record - hist_
sum - histogram_
diff - Run histogram diff on two line slices.
- histogram_
diff_ to_ string - Format histogram diff as a string.
- histogram_
mean - history_
depth - hmac_
sha256_ stub - Compute HMAC-SHA256 stub.
- horner_
eval - Horner evaluation (free function).
- hottest_
span - hsl_
to_ rgb - Convert an HSL color to sRGB.
- hsv_
to_ rgb - Convert an HSV color to sRGB.
- html_
entity_ escape - Escape a string for safe embedding in HTML content.
- html_
entity_ roundtrip_ ok - Verify round-trip escape/unescape.
- html_
entity_ unescape - Unescape common named and numeric HTML entities.
- html_
escape - Escape a string as HTML, replacing
&,<,>,",'. - html_
escape_ attr - Escape a string for use in an HTML attribute value (double-quoted).
- html_
needs_ escape - Return true if the string contains any characters that must be escaped.
- html_
unescape - Unescape HTML entities back to characters.
- hue_
rotate - Hue rotation in degrees applied to an RGB colour.
- huffman_
decode - Decode a packed bit stream back to symbols.
- huffman_
encode - Encode a slice of bytes into a packed bit stream using the given table.
Returns
(byte_buffer, total_bit_count). - hull_
area - Compute the area of a convex hull (or any polygon) using the shoelace formula.
- hull_
centroid - Centroid of a convex hull.
- hull_
contains_ point - Check if a point is inside a convex hull.
- hull_
diameter - Return the farthest two points of the hull (diameter endpoints).
- hull_
face_ count - Face count of the hull.
- hull_
perimeter - Compute the perimeter of a convex hull.
- hull_
volume - Volume of a convex hull (sum of signed tetrahedra from origin).
- id_
active_ count - Count of active IDs.
- id_
alloc - Allocate an ID.
- id_
is_ active - Whether an ID is currently active.
- id_
peek_ next - Peek at the next ID that would be allocated without recycling.
- id_
recycled_ count - Count of recycled (waiting) IDs.
- id_
release - Release an ID back to the pool.
- id_
release_ all - Release all active IDs at once.
- id_
total - Total IDs ever allocated (next - start not tracked, use active + recycled).
- identity_
matrix - Identity matrix of size n.
- il_
as_ slice - Ordered slice of all indices.
- il_
clear - Clear all indices.
- il_
contains - Whether index is in the list.
- il_get
- Get index at position.
- il_
is_ empty - Whether empty.
- il_len
- Number of indices.
- il_
merge - Merge another list into this one (skip duplicates).
- il_push
- Append an index; returns false if already present.
- il_
remove - Remove an index; preserves order of remaining elements.
- il_
retain - Retain only indices satisfying predicate.
- import_
locale_ strings - insert_
point - Insert a new point into the octree. Returns the new point’s index. Note: rebuilds the affected leaf; simple but correct.
- insert_
priority - interleave
- intern
- Intern a string, returning its
StringId. If the string is already interned, the existing id is returned without duplication. - intern_
many - Intern multiple strings at once, returning their ids.
- intersperse
- inverse_
lerp_ f32 - Inverse linear interpolation (f32 version).
- iqr_
bounds - is_
absolute - Return true if the path is absolute.
- is_
alnum - is_
alpha - is_
balanced - Return
trueif the token list represents a well-formed document (stub check). - is_
biconnected - Return
trueif the graph is biconnected (no articulation points, single component). - is_
bit_ set - Check if a specific bit is set.
- is_
boundary_ at - Check whether
pos(byte offset) is a word boundary. - is_
breaking_ change - is_
business_ day - is_
clean_ merge - Check whether all regions in a merge result are conflict-free.
- is_
complete_ frame - Return
trueif the buffer contains a complete gRPC frame. - is_
compressible - Returns true if RLE compression achieves a ratio below
threshold. - is_
control_ frame - Return
trueif the frame is a control frame. - is_
convex - Check if a polygon is convex (all cross products same sign).
- is_
digit - is_
enabled - is_
feature_ enabled - is_
holiday_ in - is_
http11 - Return
trueif the request uses HTTP/1.1. - is_
identity_ patch - Return true if patch is a no-op (empty).
- is_
leap_ year - is_
little_ endian - is_nil
- Return
trueif the value isNil. - is_
numeric_ token - is_
occupied - Whether a slot index is occupied.
- is_
punctuation - is_
queue_ empty - Return
trueif the queue has no commands. - is_
request_ allowed - Returns true if the circuit allows a request at the given timestamp.
- is_
required - Return
trueif a field name is in the required list. - is_
safe_ content_ type - Validates the magic bytes of a 3D asset file against known-good signatures.
- is_same
- Return true if a and b are identical (zero diff).
- is_
sorted_ u32 - Check if a u32 slice is sorted ascending.
- is_
sorted_ u64 - Check if a u64 slice is sorted ascending.
- is_
strongly_ connected - Return
trueif the graph is strongly connected (single SCC with all nodes). - is_
text_ type - Returns true if the given MIME type is a text format.
- is_
union - Return
trueif the Avro type is a union. - is_
valid_ component - Validate that a color component is in [0.0, 1.0].
- is_
watched - is_
within_ distance - is_
word_ char - Determine whether a character is a word character.
- it_
clear - it_
contains_ id - it_
count - it_
insert - it_
query_ point - it_
query_ range - it_
remove - it_
to_ json - iter_
occupied - Iterate over occupied (index, value) pairs.
- itree_
simple_ contains_ point - itree_
simple_ count_ overlaps - itree_
simple_ insert - itree_
simple_ query_ overlaps - itree_
simple_ size - jar_
size - Returns the total number of cookies in the jar.
- jaro_
similarity - join_
paths - Join two path segments.
- jp_
national_ holidays - json_
finalize - json_
key_ f32 - json_
key_ str - json_
key_ u32 - json_
string_ escape - Escape a string as a JSON string value (without surrounding quotes).
- json_
string_ unescape - Unescape a JSON-escaped string (no surrounding quotes).
- julian_
day_ to_ date - Reconstruct a date from a Julian Day Number.
- jwt_
decode - Decodes a JWT string into its parts (stub — no signature verification).
- jwt_
encode - Encodes a JWT (stub — no real signing).
- jwt_
is_ structurally_ valid - Returns true if the JWT token is structurally valid (has 3 dot-separated parts).
- k_
nearest_ neighbors - Return the k nearest neighbours sorted by ascending distance.
- kc_
advance - Advance frame counter; evicts expired entries.
- kc_
clear - Clear all entries.
- kc_
contains - Whether key is present and not expired.
- kc_
frame - Current frame.
- kc_get
- Get a reference; returns None if expired or missing.
- kc_hits
- Hit count for a key.
- kc_
insert - Insert a key with TTL in frames.
- kc_len
- Number of cached entries.
- kc_
remove - Remove a key explicitly.
- kd2_
build - Build a
KdTree2Dfrom raw (x, y) pairs. - kd2_
nn_ dist_ sq - Nearest-neighbor distance (squared) for a query.
- kd3_
build - Build a
KdTree3Dfrom raw xyz triples. - kd3_
nearest_ id - Nearest-neighbor ID for a query (None if empty).
- kind_
summary - Return paragraph kinds summary.
- kmp_
contains - Return
trueifpatternoccurs at least once intext. - kmp_
count - Return the count of (possibly overlapping) occurrences.
- kmp_
failure - Build the KMP failure (partial match) table for
pattern. - kmp_
failure_ len - Return the failure table length (equals pattern length).
- kmp_
max_ failure - Return the maximum value in the failure table.
- kmp_
search - Return all start positions in
textwherepatternoccurs. - known_
offsets - kruskal_
edges_ from - Build a list of
KruskalEdgefrom tuples. - kruskal_
is_ spanning - Return
trueif the MST spans allnnodes. - kruskal_
mst - Run Kruskal’s MST. Returns MST edges sorted by weight (ascending).
- kruskal_
mst_ weight - Return the total MST weight for the given edges and node count.
- lab_
to_ rgb - Convert a CIE Lab* color to sRGB (approximate, D65 reference white).
- largest_
category - Return the category with the highest current usage, or
Noneif empty. - largest_
file - Find the largest file in a list.
- largest_
scc - Return the largest SCC by node count.
- last_
error - Last entry, if any.
- last_
event - last_
event_ time - Return the timestamp of the most recently published event (0 if none).
- latest_
version - lazy_
get_ or_ compute - lazy_
invalidate - lazy_
is_ computed - lazy_
set - lcg_
choose - Pick a random element from a non-empty slice. Returns None if empty.
- lcg_
normal - Box-Muller transform: returns a normally distributed f32 (mean=0, std=1).
- lcg_
sample_ uniform - Generate
nf32 values in [0, 1) into a Vec. - lcg_
shuffle - Shuffle a slice in-place using an Lcg.
- lcp_
array_ stub - Construct the LCP (Longest Common Prefix) array using Kasai’s algorithm in O(n).
- lcp_avg
- Return the average LCP value (f32).
- lcp_max
- Maximum LCP value.
- lcp_
max_ val - Return the maximum LCP value.
- lcp_
query - Return LCP of the suffixes at positions
iandjinsa. - lcp_
valid - Return
trueif the LCP array has length equal to the suffix array. - lerp_
f32_ interp - Linear interpolation (f32 version).
- lerp_
hsl - Linearly interpolate between two HSL colors (shortest hue path).
- lerp_
rgb - Linearly interpolate between two RGB colors.
- lerp_
rgba - Linear interpolation between two colours in
[r,g,b,a]. - levenshtein
- lex_
string - Build a
LexerStreamfrom a string by naive whitespace-based tokenization. - limiter_
available - limiter_
consume - limiter_
is_ full - limiter_
refill - limiter_
reset - line_
to_ offset - Convert a line number to a byte offset, returning
Noneon out-of-range. - linear_
regression - Compute linear regression (slope + intercept) using least squares.
- linear_
to_ srgb_ cm - Gamma-encode linear light component to sRGB.
- list_
matching - List all entry names containing
pattern. - list_
profiles - Return a list of all profile names.
- lm_
clear - Clear all entries.
- lm_
compute_ count - Total compute operations.
- lm_
declare - Declare a key as pending (not yet computed).
- lm_get
- Get computed value; returns None if pending or missing.
- lm_
is_ computed - Whether a key is computed.
- lm_
is_ pending - Whether a key is pending.
- lm_len
- Total number of keys.
- lm_
pending_ count - Number of pending keys.
- lm_
pending_ keys - Keys that are still pending.
- lm_
remove - Remove a key.
- lm_set
- Store a computed value for a key.
- lmap_
clear - Clear all entries.
- lmap_
contains - Whether key is present.
- lmap_
get - Get a reference by key.
- lmap_
get_ at - Get entry by insertion position.
- lmap_
get_ mut - Get a mutable reference by key.
- lmap_
insert - Insert or update a key; preserves insertion order for new keys.
- lmap_
is_ empty - Whether empty.
- lmap_
keys - Ordered keys.
- lmap_
len - Number of entries.
- lmap_
remove - Remove a key; returns value if present.
- lmap_
values - Ordered values.
- load_
pack_ from_ bytes - Load an OXP package from raw bytes and return a scanned index.
- load_
resource - loaded_
resource_ count - locale_
count - locale_
currency_ symbol - locale_
has_ key - locale_
key_ count - log_
clear - log_
command_ count - log_
commands_ by_ name - log_
debug - Log a debug-level message.
- log_
dispatch - log_
error - Log an error-level message.
- log_
event - log_
info - Log an info-level message.
- log_
last_ command - log_
message - Log a message at the specified level and category. Entries below the logger’s minimum level are silently ignored.
- log_
trace - Log a trace-level message.
- log_
warn - Log a warn-level message.
- log_
with_ data - logger_
filter_ by_ category - Return entries matching a specific category.
- logger_
has_ errors - Check whether the log contains any error-level entries.
- logger_
last_ n_ entries - Return the last
nentries (or fewer if the log is smaller). - logger_
to_ json - Serialize the log to a JSON string.
- longest_
common_ subsequence_ lev - longest_
paragraph - Find the longest paragraph by word count.
- longest_
sentence - Find the longest sentence by character count.
- lowest_
bit - Return the index of the lowest set bit, or None if mask is 0.
- luma_
bt709 - Compute BT.709 luma from linear RGB.
- luminance
- Compute the relative luminance of an sRGB color (ITU-R BT.709).
- luminance_
cm - Compute luminance from linear RGB using BT.709 coefficients.
- luminance_
srgb - Luminance of an sRGB colour (Rec. 709).
- lz4_
brotli_ pipeline - Build a two-stage LZ4 + Brotli pipeline.
- lz4_
compress - Compress bytes using LZ4-style block encoding stub.
- lz4_
compress_ bound - Return the maximum compressed size for
input_lenbytes (stub estimate). - lz4_
decompress - Decompress bytes produced by
lz4_compress. - lz4_
is_ compressed - Return whether a byte slice begins with the LZ4 stub magic.
- lz4_
roundtrip_ ok - Round-trip compress then decompress and verify equality.
- ma_
crossover - magnitude_
spectrum - Compute the magnitude spectrum (convenience wrapper).
- major_
of - Return the major type of a CBOR value.
- make_
absolute - Make a relative path absolute by prepending
base. - make_
error_ event - Build an
Errorevent. - make_
export_ event - Build an
ExportStartedevent. - make_
param_ changed_ event - Build a
ParamChangedevent with a JSON payload. - make_
rule - map_
err_ str - mark_
clean - mark_
complete - Mark a task as Completed with an optional result value.
- mark_
failed - Mark a task as Failed with an error message.
- mark_
stage_ complete - mark_
stage_ failed - mark_
stage_ skipped - mat2
- Create a Mat2 from row-major values.
- mat3
- Create a Mat3 from 9 row-major values.
- mat2_
add - Add two 2×2 matrices.
- mat2_
approx_ eq - Check if two matrices are approximately equal within
eps. - mat2_
det - Determinant of a 2×2 matrix.
- mat2_
from_ angle - Returns a 2x2 rotation matrix for the given angle in radians.
- mat2_
identity - Identity matrix.
- mat2_
inv - Alias for mat2_inverse (legacy name).
- mat2_
inverse - Inverse of a 2×2 matrix. Returns None if singular.
- mat2_
mul - Multiply two 2×2 matrices: result = a * b.
- mat2_
mul_ vec - Multiply a 2×2 matrix by a 2D column vector.
- mat2_
mul_ vec2 - Alias using spec name.
- mat2_
rotation - Create a 2D rotation matrix for angle
theta(radians). - mat2_
scale - Scale a 2×2 matrix by a scalar.
- mat2_
scale_ fn - Returns a 2x2 scale matrix.
- mat2_
trace - Trace of the matrix (sum of diagonal elements).
- mat2_
transpose - Transpose of a 2×2 matrix.
- mat2_
zero - Zero matrix.
- mat2x2_
det - Computes the determinant of a 2x2 matrix.
- mat2x2_
identity - Returns the 2x2 identity matrix.
- mat2x2_
inverse - Returns the inverse of a 2x2 matrix, or
Noneif singular. - mat2x2_
mul - Multiplies two 2x2 matrices:
a * b. - mat2x2_
transform - Transforms a 2D vector by a 2x2 matrix.
- mat2x2_
transpose - Returns the transpose of a 2x2 matrix.
- mat3_
add - Add two 3×3 matrices.
- mat3_
approx_ eq - Check approximate equality.
- mat3_
det - Determinant of a 3×3 matrix.
- mat3_
from_ axis_ angle - Returns a rotation matrix around an arbitrary axis using Rodrigues’ formula.
- mat3_
from_ rotation_ z - mat3_
from_ scale - mat3_
identity - Identity matrix.
- mat3_
inverse - Inverse of a 3×3 matrix. Returns None if singular.
- mat3_
mul - Multiply two 3×3 matrices.
- mat3_
mul_ vec - Multiply a 3×3 matrix by a 3D column vector.
- mat3_
mul_ vec3 - Alias for mat3_transform using spec naming convention.
- mat3_
outer - Outer product of two 3D vectors: result_ij = a_i * b_j.
- mat3_
rot_ z - Create a 3D rotation matrix around the Z axis.
- mat3_
scale - Scale a 3×3 matrix by a scalar.
- mat3_
trace - Trace of the matrix.
- mat3_
transpose - Transpose a 3×3 matrix.
- mat3_
zero - Zero matrix.
- mat3x3_
det - mat3x3_
identity - mat3x3_
inverse - Returns the inverse of a 3x3 matrix, or
Noneif singular. - mat3x3_
mul - mat3x3_
scale - Alias for mat3_from_scale using spec naming convention.
- mat3x3_
transform - mat3x3_
transpose - mat_
vec_ mul - Matrix-vector product.
- max_
delta - Compute the maximum delta magnitude in a sequence.
- max_f32
- max_
flow - Run Edmonds-Karp (BFS-based Ford-Fulkerson). Returns max-flow value.
- max_
matching_ size - Return the maximum matching size.
- max_
queue_ depth - Return the historical maximum queue depth.
- max_
retries - Return the maximum number of retries configured.
- max_val
- Maximum value. Returns f32::MIN for empty.
- mc_
count - Count of samples for a metric.
- mc_get
- mc_inc
- mc_
inc_ by - mc_
increment - Increment a counter metric by 1.
- mc_mean
- Mean of a metric.
- mc_
names - All metric names.
- mc_
record - Record a value for a named metric.
- mc_
reset - mc_
reset_ all - Reset all metrics.
- mc_
reset_ one - Reset a specific metric.
- mc_
stats - Get stats for a metric.
- mc_sum
- Sum of a metric.
- mc_
to_ json - Serialize to JSON.
- mc_
total - mean
- Arithmetic mean of a slice. Returns 0.0 for empty input.
- mean_
f32 - median
- Median of a slice (clones and sorts). Returns 0.0 for empty.
- median_
batch - median_
filter_ 1d - Apply a sliding window median filter of
window_sizetodata. Edge values are handled by clamping window at boundaries. - memo_
access_ count - Access count for a specific key.
- memo_
clear - Clear all entries.
- memo_
contains - Whether a key is present.
- memo_
get - Look up a key; counts hit/miss.
- memo_
hit_ rate - Hit rate (0.0..=1.0).
- memo_
hits - Hit count.
- memo_
invalidate - Invalidate a key.
- memo_
len - Number of stored entries.
- memo_
misses - Miss count.
- memo_
set - Insert a computed value.
- memory_
tracker_ to_ json - Produce a minimal JSON representation of the tracker state.
- merge_
configs - Merge two configs; override_ values take priority over base.
- merge_
pools - Merge another pool’s strings into this pool. Returns the number of newly added strings.
- merge_
profiles - Merge all key-value pairs from
srcprofile intodstprofile. Existing keys indstare overwritten. Returnsfalseif either profile does not exist. - merkle_
combine_ hashes - merkle_
leaf_ count - merkle_
root - merkle_
verify_ leaf - message_
is_ empty - Return
trueif the message is empty (no segments or all segments empty). - messages_
for_ topic - Returns all messages for a topic, in sequence order.
- metadata_
total_ size - Total size across all entries.
- migration_
description - migration_
step_ count - mime_
to_ extension - Returns the file extension typically associated with a MIME type.
- min_f32
- min_val
- Minimum value. Returns f32::MAX for empty.
- missing_
dependencies - missing_
keys - ml_
by_ priority - Messages at or above a priority.
- ml_
by_ tag - Messages with a given tag.
- ml_
clear - Clear all messages.
- ml_get
- Get message by id.
- ml_last
- Latest message.
- ml_len
- Total message count.
- ml_push
- Append a message; evicts oldest if at capacity.
- ml_
remove_ tag - Remove messages with a given tag.
- ml_
to_ json - Serialize to JSON.
- money_
add - money_
to_ string - morton_
decode_ 2d - morton_
decode_ 3d - morton_
encode_ 2d - morton_
encode_ 3d - morton_
neighbor - most_
accessed - moving_
slope - msgpack_
encode - Encode a
MsgValueinto a byte buffer (stub: minimal subset). - msgpack_
encoded_ size - Return the encoded size of a value (stub).
- nearest_
neighbor - Find the nearest neighbour to
query. Returns (index, distance). - negotiate
- Selects the best matching media type from the server’s offered types.
- new_
ab_ test_ config - new_
adj_ graph - Construct a new graph with
nvertices. - new_
aggregate_ root - new_
aggregator - Creates a new health aggregator.
- new_
aho_ corasick - Create a new (empty) Aho-Corasick automaton.
- new_
archive_ writer - Create a new archive writer.
- new_
artic_ graph - Create a new articulation-point graph with
nnodes. - new_
atomic_ counter - new_
audit_ event_ log - new_
audit_ log - new_
bezier_ path - Create a new empty BezierPath.
- new_
bf_ graph - Create a new Bellman-Ford graph with
nvertices. - new_
bfs_ graph - Create a new BFS graph with
nnodes. - new_
bin_ reader - new_
bin_ writer - new_
bipartite - Create a new bipartite graph.
- new_
bitmask_ flags - new_
bitset_ fixed - new_
bloom_ filter - Create a new Bloom filter with the given bit capacity and number of hash functions.
- new_
bloom_ filter_ prob - new_
bsp_ tree - Create a new empty BSP tree.
- new_
btree_ simple - new_
buddy_ allocator - Create a buddy allocator of 2^
max_orderminimum units. - new_bvh
- Build a BVH from a list of (id, min, max) triples.
- new_
cache - new_
capability_ flags - new_
capacity_ planner - new_
change_ log - new_
circuit_ breaker - Creates a new circuit breaker in the Closed state.
- new_
clipboard - Create a new empty clipboard with the given history capacity.
- new_
clock_ version_ vector - new_
color_ graph - Create a new graph with
nvertices. - new_
color_ palette - Creates a new empty color palette with the given name.
- new_
color_ quantizer - Construct a new ColorQuantizer from a list of colors.
- new_
command_ bus - new_
command_ log - new_
command_ queue - Create a new, empty
CommandQueue. - new_
command_ state - new_
config_ manager - Create a new configuration manager with one default profile named “default”.
- new_
config_ schema - Create a new empty config schema.
- new_
cookie_ jar - Creates a new cookie jar.
- new_
counting_ bloom_ filter - Create a new counting bloom filter with reasonable defaults.
- new_
cow_ handle - Create a new copy-on-write handle.
- new_
cubic_ bezier - Create a cubic Bezier from 4 control points.
- new_
ddd_ command - new_
deadline_ tracker - new_
debug_ console - Creates a new
DebugConsolefrom a config. - new_
decision_ tree - Create a new empty decision tree.
- new_
dep_ graph - new_
dependency_ graph - new_
disjoint_ set - new_
dispatcher - Create a new EventDispatcher.
- new_
domain_ event - new_ema
- Construct a new EMA with smoothing factor
alphain (0, 1]. - new_
entity_ id - new_
error_ aggregator - new_
error_ log - Create a new ErrorLog with given capacity.
- new_
event_ bus - Create a new, empty event bus.
- new_
event_ bus_ observer - new_
event_ log - new_
event_ store - new_
experiment_ tracker - new_
feature_ gate - new_
feature_ registry - new_
fenwick_ tree_ v2 - Create a new Fenwick tree with
nelements. - new_
file_ watcher - Create a new file watcher.
- new_
finger_ tree - Create a new empty finger tree.
- new_
flag_ registry - new_
flow_ graph - Create a new flow graph with
nvertices. - new_
free_ slot - Create a new FreeSlot allocator.
- new_
frequency_ analyzer - Construct a new FrequencyAnalyzer.
- new_
fsm_ builder - Create a new empty
FsmBuilder. - new_
fw_ result - Create a FwResult initialized for no edges.
- new_
gap_ buffer - Create a new gap buffer with the given initial gap size.
- new_
gc_ stub - Create a new GC stub.
- new_
grid_ index - Create a default grid index for the unit square.
- new_
grid_ index_ region - Create a grid index for a custom region.
- new_
hash_ bucket - Create a HashBucket with
n_bucketsbuckets. - new_
hash_ grid - Create a new hash grid.
- new_
hash_ ring - new_
hash_ ring_ new - new_
health_ monitor - new_
histogram - Construct a new HistogramBuilder.
- new_
histogram_ sdk - new_
id_ pool - Create a new IdPool starting at
start. - new_
index_ list - Create a new IndexList.
- new_
interval_ tree - new_
interval_ tree_ simple - new_
json_ builder - new_
kd_ tree - Build a k-d tree from xyz arrays.
- new_
kd_ tree_ 2d - Build a 2D k-d tree (z = 0).
- new_
key_ cache - Create a new KeyCache with given capacity.
- new_
kruskal_ union_ find - Create a new Union-Find for
nelements. - new_
lazy_ f32 - new_
lazy_ map - Create a new LazyMap.
- new_
linked_ map - Create a new LinkedMap.
- new_
locale_ table - new_
localization - new_
lock_ manager - Create a new lock manager.
- new_
log_ aggregator - new_
logger - Create a new logger with the given minimum level.
- new_
manual_ ref_ counted - Wrap a value in a reference-counted handle.
- new_
median_ filter - Construct a new MedianFilter with given window size.
- new_
memo_ table - Create a new MemoTable.
- new_
memory_ pool_ typed - Construct a pool with the given capacity.
- new_
memory_ tracker - Create a new
MemoryTrackerwith no allocations and no budget. - new_
merkle_ tree - new_
message_ log - Create a new MessageLog with given capacity.
- new_
message_ queue_ simple - new_
metric_ counter - Create a new MetricCounter.
- new_
metrics_ counter - new_
metrics_ gauge - new_
migration_ registry - new_
money - new_
name_ table - Create a new NameTable.
- new_
node_ pool - Create a new NodePool.
- new_
notification_ queue - new_
notification_ system - new_
object_ arena - Create an arena with the given capacity hint.
- new_
object_ registry - new_
object_ storage - Create a new object storage.
- new_
observer_ list - new_
option_ cache - new_
output_ buffer - new_
packed_ array - new_
packed_ buffer - Create a new buffer with the given config.
- new_
page_ allocator - new_
param_ set - new_
parsed_ args - Create an empty ParsedArgs.
- new_
patch_ buffer - new_
path_ cache - new_
payload_ buffer - new_
percentage - new_
persistent_ hash_ map - Create a new persistent hash map.
- new_
persistent_ map - new_
persistent_ vector - Create a new empty persistent vector.
- new_
piece_ table - Create a piece table from initial text.
- new_
pipe_ filter - new_
pipeline - new_
pipeline_ context - new_
pipeline_ context_ struct - new_
pipeline_ stage - new_
pipeline_ struct - new_
placeholder_ map - new_
plan_ executor - new_
polygon - Create a polygon from a slice of vertices.
- new_
polynomial - Construct a polynomial from coefficients (lowest degree first).
- new_
pool - new_
prefix_ sum_ 2d - new_
prim_ graph - Create a new Prim graph with
nnodes. - new_
priority_ map - new_
priority_ queue_ ext - Construct a new PriorityQueueExt.
- new_
proc_ context - new_
profiler - new_
pubsub_ bus - Creates a new pub/sub bus.
- new_
quad_ tree - Create a new quadtree with given bounds, max depth, and node capacity.
- new_
query - new_
query_ cache - new_
query_ result - new_
quota_ manager - new_
range_ map - new_
rate_ limiter - Creates a new sliding window rate limiter.
- new_
rate_ limiter_ tb - new_
ref_ counted - new_
region_ allocator - Create a new region allocator with the given total size.
- new_
registry - new_
registry_ map - new_
request_ pipeline - Creates a new request pipeline.
- new_
reservoir_ sampler - Create a new reservoir sampler.
- new_
resource_ manager - new_
resource_ pool - new_
resource_ tracker - new_
response_ cache - Creates a new response cache.
- new_
result_ stack - new_
retry_ policy - Create a new
RetryPolicy. - new_
retry_ state - Creates a new retry state from config.
- new_
ring_ log - new_
role_ map - new_
rolling_ hash - Create a new rolling hash with the given window size, using default base and modulus.
- new_
rolling_ hash_ new - new_
rolling_ stats - Create a new rolling stats with the given window size.
- new_
route_ table - new_
router - Creates a new message router.
- new_
rule_ engine - new_
running_ stats - Construct a new RunningStatistics.
- new_
scanner - Create a default scanner.
- new_
scc_ graph - Create a new SCC graph with
nvertices (0..n). - new_
schedule_ queue - new_
scheduler - new_
search_ index - new_
segment_ tree_ range - new_
selector_ map - new_
semaphore_ pool - new_
semver - new_
sequence_ map - new_
service_ locator - new_
service_ registry - Creates a new service registry.
- new_
session_ store - new_
set_ trie - new_
signal_ handler - new_
simple_ graph - new_
simple_ octree - Create a new simple octree with the given world size.
- new_
size_ cache - new_
skip_ list - new_
skip_ list_ simple - new_
sliding_ window - new_sma
- Construct a new SimpleMovingAverage.
- new_
snapshot_ manager - new_
sort_ key - new_
sort_ strategy - new_
source_ map - new_
span_ tracker - new_
sparse_ array - new_
spec - new_
state_ bag - new_
state_ machine - new_
static_ vec - new_
storage_ backend - new_
stream_ parser - new_
string_ pool - Create a new, empty string pool.
- new_
string_ repo - new_
string_ searcher - Construct a new StringSearcher for
pattern. - new_
string_ set - new_
struct_ map - new_
sub_ task_ set - new_
symbol_ table - new_
symlink_ resolver - Create a new resolver with default settings.
- new_
sync_ barrier - new_
tag_ filter - new_
task_ graph - Create an empty task graph.
- new_
task_ scheduler - new_
telemetry_ span - new_
temp_ manager - Create a default temp file manager.
- new_
text_ buffer - new_
thread_ local_ pool - new_
time_ source - Creates a new time source starting at the given ms.
- new_
token_ stream - Create a new empty
TokenStream. - new_
topo_ map - Create a new
TopoMap. - new_
topo_ sort_ graph - new_
trace_ buffer - Create a new
TraceBuffer. - new_
trace_ context - new_
transfer_ manager - Create a transfer manager.
- new_
transform_ pipe - Create an empty
TransformPipe. - new_
tree_ index - Create a new empty
TreeIndex. - new_
trie_ map - Create a new empty
TrieMap. - new_
type_ alias_ map - Create a new
TypeAliasMap. - new_
type_ cache - Create a new
TypeCache. - new_
type_ erased - Create a new
TypeErasedstore. - new_
type_ registry - new_
uid_ gen - Create a new
UidGenwith the given namespace (0–65535). - new_
undo_ stack - new_
union_ find - Create a new
UnionFindV2withnelements (0..n). - new_
update_ queue - Create a new
UpdateQueue. - new_
user_ preferences - new_
value_ cache - Create a new
ValueCache. - new_
value_ map - Create a new
ValueMap. - new_
var_ store - Create a new
VarStore. - new_
version_ vector - Create an empty version vector.
- new_
watcher - new_
weak_ pair - Create a strong owner and its weak reference.
- new_wma
- Construct a new WMA.
- new_
zipper_ list - Create a zipper from a slice.
- newest_
file - Find the most recently modified file.
- next_
bday - next_
delay_ ms - Records that an attempt was made, returning the delay before the next retry.
- next_
due_ time - node_
text - normalize_
path - Normalize a path string by resolving
.and..components. - normalize_
to_ spaces - Normalize the indentation of text to use spaces of a given width.
- normalize_
to_ tabs - Normalize indentation to tabs.
- normalize_
whitespace - Normalize whitespace in
textaccording tocfg. - notification_
by_ id - notification_
count - notifications_
by_ severity - np_
alloc - Allocate a node; returns its handle.
- np_
capacity - Total capacity (including free slots).
- np_
count - Number of live nodes.
- np_free
- Free a node by handle; returns the value if handle was valid.
- np_get
- Get reference by handle.
- np_
get_ mut - Get mutable reference by handle.
- np_
is_ valid - Whether handle is valid.
- nq_
is_ empty - nq_len
- nq_
peek_ priority - nq_pop
- nq_push
- nt_
clear - Clear all entries.
- nt_
count - Number of registered names.
- nt_
has_ id - Whether an ID is registered.
- nt_
has_ name - Whether a name is registered.
- nt_id
- Look up ID by name.
- nt_name
- Look up name by ID.
- nt_
names - All registered names.
- nt_
register - Register a name; returns existing ID if already registered.
- nt_
rename - Rename: update name for an existing ID.
- nt_
unregister - Unregister a name; returns the ID if it existed.
- nth_
grapheme - Return the Nth grapheme cluster (0-based), or
Noneif out of range. - oauth2_
refresh_ token - Stub: refreshes an OAuth2 token using a refresh token.
- ob_
clear - ob_
flush - ob_
flush_ count - ob_
is_ empty - ob_len
- ob_peek
- ob_
write_ bytes - ob_
write_ str - ob_
write_ u8 - oc_
clear - oc_get
- oc_
has_ key - oc_
hit_ rate - oc_
is_ empty - oc_len
- oc_
remove - oc_
set_ none - oc_
set_ some - octree_
depth - Actual depth of the built octree (0 = single leaf).
- octree_
leaf_ count - octree_
point_ count - octree_
stats - Return (depth, leaf_count, total_points).
- offset_
difference - offset_
to_ position - Convert a byte offset to (line, column).
- ok_
or_ else_ str - ol_
clear - ol_
count - ol_
has_ label - ol_
is_ empty - ol_
notify - ol_
notify_ count - ol_
subscribe - ol_
unsubscribe - open_
archive_ stub - Create a reader stub.
- option_
count - option_
filter_ positive - option_
map_ or_ zero - option_
or_ default_ f32 - option_
sum - option_
to_ result - option_
zip_ with - optional_
dep_ count - or_
by_ type - or_
clear - or_
contains - or_get
- or_
is_ empty - or_len
- or_
register - or_
remove - or_
to_ json - os_name
- Returns a display name for the OS family.
- outlier_
count - over_
budget - Return
trueif current usage exceeds the budget (and budget > 0). - pa_
alloc - pa_
allocated_ count - pa_free
- pa_
free_ count - pa_
page_ count - pa_read
- pa_
reset - pa_
total_ bytes - pa_
write - pack_
manifest_ hash - Compute SHA-256 over sorted
"path:sha256hex"lines for all files indir. - pack_
vec3 - Pack a [f32; 3] vector into a PackedVec3.
- packed_
bits_ per_ elem - packed_
config - Create a config with custom range.
- packed_
get - packed_
len - packed_
set - packed_
storage_ bytes - pad_
left - Left-pad a string to the given width with a fill character.
- pad_
right - Right-pad a string.
- padded_
size - Compute the padded size for a given alignment.
- palette_
analogous - Generate an analogous palette: hues within ±30° of base.
- palette_
complementary - Generate a complementary palette (two hues 180° apart),
ncolours each side. - palette_
cosine - Generate a warm-to-cool spectrum palette using cosine-based approach.
- palette_
gradient - Generate a gradient palette between two RGB colours.
- palette_
monochromatic - Generate a monochromatic palette:
ncolours of varying lightness aroundhue. - palette_
rainbow - Generate a rainbow palette with
ncolours evenly spaced in hue. - palette_
size - Returns the number of colors in a palette.
- palette_
triadic - Generate a triadic palette: three hues 120° apart, with
nshades each. - paragraph_
count - Count paragraphs in text.
- parity
- Parity: true if the number of set bits is odd.
- parse_
accept_ header - Parses an Accept header value into a list of media types with quality factors.
- parse_
args - Parse a slice of argument strings. Recognizes:
- parse_
args_ str - Parse from a single space-separated command string.
- parse_
choice - Try left then right, return first success.
- parse_
conflict_ markers - Parse conflict markers in a block of text (lines).
- parse_
cron - parse_
csv - Parse a CSV text with a header line into a CsvTable.
- parse_
csv_ line - Parse a single CSV line into fields, handling quoted fields.
- parse_
depth - Estimate parse depth/complexity of a string (for diagnostics).
- parse_
duration - Parse an ISO 8601 duration string like
P1Y2M3DT4H5M6S. - parse_
ident - Match a sequence of alphanumeric+underscore chars.
- parse_
integer - Match a decimal integer.
- parse_
list - Parse zero or more idents separated by a delimiter.
- parse_
literal - Match a literal string at the start of input.
- parse_
multipart - Parses a raw multipart body string given a boundary.
- parse_
offset - parse_
op_ kind - Parse a JSON Patch operation kind string.
- parse_
opt - Match an optional rule (returns Empty if fails).
- parse_
request - Parse an HTTP/1.1 request from raw bytes.
- parse_
response - Parse an HTTP/1.1 response from raw bytes.
- parse_
scalar - Parse a raw scalar string to a
YamlScalar. - parse_
scalar_ line - Parse a single YAML scalar line (
key: value). - parse_
semver - Parse a semver string “major.minor.patch” into a tuple.
Returns
Noneif the string does not match the expected format. - parse_
toml - Parse a multiline TOML string into a document.
- parse_
toml_ line - Parse a bare TOML key = value line (stub: integers and strings only).
- parse_
tsv - Parse a TSV text with a header line into a
TsvTable. - parse_
tsv_ line - Parse a single TSV line into fields (splitting on tab).
- parse_
unified_ diff - Parse a unified diff string into a
UnifiedPatch. - parse_
user_ agent - Parses a User-Agent string into structured information.
- parse_
yaml - Parse a multiline YAML string.
- partition_
by - partition_
vec - paste_
from_ clipboard - Paste (clone) the current clipboard content, if any.
- path_
add_ segment - Add a segment to the path.
- path_
basename - Return the filename component of the path (after the last ‘/’).
- path_
clear - Clear all segments from the path.
- path_
dirname - Return everything before the last ‘/’ in
path. - path_
eval - Evaluate path at normalized parameter
uin [0, 1]. - path_
ext - Return the extension (after the last ‘.’) if present.
- path_
get_ segment - Get a reference to segment at index.
- path_
is_ abs - True if path starts with ‘/’.
- path_
is_ watched - Check if a path is currently watched.
- path_
join_ parts - Join two path segments with ‘/’.
- path_
length - Approximate total length of the path.
- path_
segment_ count - Number of segments in the path.
- path_
strip_ prefix - Strip prefix from a path.
- patience_
diff - Run patience diff on two line slices and return the result.
- patience_
diff_ to_ string - Return a unified-diff-like string from a PatienceDiff.
- pb_add
- pb_
applied_ count - pb_
apply - pb_
clear - pb_
count - pb_
is_ empty - pb_
max_ offset - pb_
total_ bytes - pc_
clear - pc_
contains - pc_get
- pc_
hit_ rate - pc_
insert - pc_
invalidate - pc_
is_ empty - pc_len
- pe_
add_ step - pe_
complete - pe_
done_ count - pe_fail
- pe_
failed_ count - pe_
is_ aborted - pe_
is_ complete - pe_
reset - pe_skip
- pe_
step_ count - pe_
total_ ms - peak_
bin_ index - Return the index of the peak magnitude bin (excluding DC).
- peak_
usage - Return the peak memory usage ever recorded.
- pearson_
r - Pearson correlation coefficient between two equal-length slices. Returns 0.0 if inputs are empty or have zero variance.
- peek_
next - Peek at the next command without removing it.
- peek_
redo - peek_
undo - pending_
changes - pending_
count - Number of pending tasks.
- percentage_
clamp - percentage_
from_ fraction - percentage_
to_ fraction - percentile
- Compute percentile by linear interpolation on a sorted slice.
- perlin2
- 2D Perlin noise, output in roughly [-1, 1].
- perlin3
- 3D Perlin noise, output in roughly [-1, 1].
- perlin2_
01 - Normalize perlin2 output to [0, 1].
- pf_add
- pf_
apply - pf_
clear - pf_
count - pf_
is_ empty - pf_
passed - pf_
passes - pf_
rejected - pipeline_
add_ stage - pipeline_
progress - pipeline_
stage_ count - pipeline_
to_ json - pixel_
to_ hex_ flat - Convert pixel (flat-top) to fractional hex coord and round.
- plan_
has_ breaking - plan_
migration - Find a chain of steps from
fromtotousing BFS. - plm_
clear - plm_
contains - plm_get
- plm_
is_ empty - plm_len
- plm_
remove - plm_
render - plm_set
- plm_
substituted - plugin_
count - plugin_
version_ string - pm_
clear - pm_
contains - pm_get
- pm_
insert - pm_
is_ empty - pm_len
- pm_
remove - pm_
restore - pm_
snapshot - pm_
snapshot_ count - pm_
version - point_
in_ circle - Test whether point (px, py) lies within circle centred at (cx, cy) with radius r.
- point_
in_ polygon - Check if a point is inside a convex polygon using cross products.
- point_
in_ rect - Test whether point (px, py) lies within axis-aligned rectangle.
- point_
in_ triangle_ 2d - Test whether point p lies inside triangle (a, b, c) using sign of cross products.
- pointer_
leaf - Return the last token of a pointer, or
Noneif root. - pointer_
parent - Return a new pointer that is the parent of
ptr, orNoneif root. - poly_
deriv - Evaluate the derivative of the polynomial at
x. - poly_
eval - Evaluate polynomial with coefficients
coeffs(lowest degree first) atxusing Horner’s method. - polygon_
area - Area (absolute value of signed area).
- polygon_
bbox - Compute bounding box of a polygon.
- polygon_
centroid - Compute centroid of the polygon.
- polygon_
is_ empty - Check if the polygon is empty (fewer than 3 vertices).
- polygon_
perimeter_ 2d - Perimeter of a polygon given as a list of 2D points.
- polygon_
signed_ area - Signed area of a polygon (positive = CCW, negative = CW).
- polygon_
vertex_ count - Number of vertices in the polygon.
- pool_
contains - Check whether a string is already interned.
- pool_
size - Return the number of unique strings in the pool.
- pool_
stats_ json - Return pool statistics as a JSON string.
- popcount
- Count the number of set bits (popcount) in a u64.
- pref_
count - pref_
get_ bool - pref_
get_ float - pref_
get_ int - pref_
get_ string - preferences_
from_ pairs - preferences_
to_ json - prefs_
in_ category - prim_
add_ edge - Add an undirected weighted edge.
- prim_
edge_ count - Return number of edges (undirected count).
- prim_
mst - Run Prim’s algorithm from vertex 0. Returns the MST edges, or
Noneif the graph is disconnected. - prim_
mst_ weight - Return the total weight of the MST, or
Noneif not connected. - prim_
node_ count - Return number of nodes.
- priority_
count - priority_
to_ vec - profile_
count - Return the total number of profiles.
- profiler_
last_ frame - profiler_
to_ json - property_
count - ps2d_
cols - ps2d_
query - ps2d_
rows - ps_
clear - ps_
contains - ps_
get_ bool - ps_
get_ float - ps_
get_ int - ps_
get_ text - ps_
is_ empty - ps_len
- ps_
remove - ps_
set_ bool - ps_
set_ float - ps_
set_ int - ps_
set_ text - publish
- Publishes a message to a topic, returning the sequence number.
- publish_
priority - Publish an event with an explicit priority on the given topic. Returns the assigned event id.
- purge_
expired - Removes all expired sessions from the store.
- purge_
expired_ cookies - Removes all expired cookies.
- purge_
expired_ responses - Purges all expired entries at the given timestamp.
- push_
command - push_
error - Push an entry; evicts the oldest if full.
- push_
error_ notification - push_
info_ notification - push_
notification - pvbuf_
bytes - Bytes used by the buffer (3 * 2 bytes per element).
- pvbuf_
clear - Clear the buffer.
- pvbuf_
get - Get a vector from the buffer, decoded.
- pvbuf_
is_ empty - Check if buffer is empty.
- pvbuf_
len - Number of elements in the buffer.
- pvbuf_
push - Push a float vector to the buffer.
- pybuf_
clear - pybuf_
drain - pybuf_
is_ empty - pybuf_
is_ full - pybuf_
len - pybuf_
peek - pybuf_
pop - pybuf_
push - pybuf_
total_ bytes - qm_
available - qm_
consume - qm_
quat_ conjugate - Conjugate of a quaternion.
- qm_
release - qm_set
- qm_
utilization - qt_
clear - Clear all points from the quadtree (preserves structure).
- qt_
count - Count total points stored in the quadtree.
- qt_
insert - Insert a point into the quadtree. Returns false if the point is out of bounds.
- qt_
is_ empty - Check if the quadtree is empty.
- qt_
query_ circle - Query all points within a circle (center + radius).
- qt_
query_ rect - Query all points within the given rectangle.
- quantile_
batch - quantize_
pixels - Quantize a slice of pixel data (r, g, b triples) to a palette.
- quat
- Create a quaternion.
- quat_
approx_ eq - Check if two quaternions are approximately equal within
eps. - quat_
conjugate - Conjugate of a quaternion (negate vector part).
- quat_
dot - Dot product of two quaternions.
- quat_
from_ axis_ angle - Create a rotation quaternion from axis-angle (axis must be unit).
- quat_
from_ axis_ angle_ math - Build a rotation quaternion from axis (normalized) and angle in radians.
- quat_
identity - Identity quaternion (no rotation).
- quat_
identity_ math - Identity quaternion [0, 0, 0, 1].
- quat_
inverse - Inverse of a unit quaternion (same as conjugate for unit quats).
- quat_
mul - Multiply two quaternions: result = a * b.
- quat_
mul_ math - Multiply two quaternions.
- quat_
norm - Norm (magnitude) of a quaternion.
- quat_
norm_ sq - Squared norm of a quaternion.
- quat_
normalize - Normalize a quaternion to unit length.
- quat_
normalize_ math - Normalize a quaternion to unit length.
- quat_
rotate_ vec - Rotate a 3D vector by a unit quaternion.
- quat_
rotate_ vec3_ math - Rotate a 3D vector by a quaternion (q must be normalized).
- quat_
slerp - Spherical linear interpolation between two unit quaternions.
- quat_
slerp_ math - Spherical linear interpolation between two quaternions.
- quat_
to_ euler - Convert quaternion to Euler angles [roll, pitch, yaw] in radians.
- query_
aabb - Return indices of all points within the axis-aligned bounding box [min, max].
- query_
get_ param - query_
result_ data - query_
result_ is_ success - query_
set_ param - query_
sphere - Return indices of all points within
radiusofcenter. - radix_
sort_ pairs_ u32 - Sort (key, value) pairs by u32 key ascending.
- radix_
sort_ u32 - Sort a slice of u32 values in ascending order using LSD radix sort.
- radix_
sort_ u64 - Sort a slice of u64 values in ascending order using LSD radix sort.
- rainbow_
gradient - Build a rainbow gradient (red→green→blue).
- range_
intersection - range_
jdn_ list - Iterate over JDN values in a range, collecting them.
- range_
mask - Create a bitmask with bits set in the range
[lo, hi). - range_
union - ranges_
overlap - ray_
plane_ intersect - Ray-plane intersection. Plane defined by normal and scalar d (dot(n, x) = d). Returns t or None.
- ray_
query - Return indices of points in leaf nodes intersected by the ray.
- ray_
sphere_ intersect - Ray-sphere intersection. Returns smallest positive t, or None.
- rc_
count - Strong count of a handle.
- rc_
is_ unique - Check uniqueness of a handle.
- read_
entry_ bytes - Read bytes from a named entry.
- read_
entry_ text - Read entry as UTF-8 string.
- read_
f32_ le - read_
metadata_ stub - Read metadata stub (returns synthetic entry).
- read_
signature_ file - Read a
SignedPackfrom a text file written bywrite_signature_file. - read_
str - read_u8
- read_
u16_ le - read_
u32_ le - record_
failure - Records a failed call, potentially opening the circuit.
- record_
field_ count - Return the number of fields in an Avro record value.
- record_
success - Records a successful call, potentially closing the circuit.
- redo
- redo_
count - redo_
last - Redo the last undone command and push it back onto the undo stack.
- regex_
count_ matches - regex_
first_ match - regex_
match - regex_
match_ all - register_
all - Register multiple symlinks at once.
- register_
feature - register_
flag - register_
instance - Registers a service instance, returning false if the service is at capacity.
- register_
migration - register_
plugin - register_
resource - register_
stage - Registers a middleware stage, returning false if pipeline is full.
- register_
type - registered_
event_ types - All registered event types.
- registry_
add_ property - registry_
get_ type - release_
all - Release all locks held by owner.
- release_
resource - remaining_
attempts - Returns the total remaining attempts.
- remaining_
budget - Returns the remaining request budget for the current window.
- remove_
dep_ node - remove_
flag - remove_
highest - remove_
pref - remove_
ring_ node - remove_
routes_ for - Removes all routes for a given message type.
- remove_
stage - Removes a stage by name.
- remove_
unused - Remove strings that are not in the
keepset. Returns the number of strings removed. - render_
conflict_ block - Render a conflict block back to text with standard markers.
- replace_
all - Replace all occurrences of
fromwithto. - repo_
all_ ids - repo_
count - repo_
delete - repo_
exists - repo_
find - repo_
save - requests_
in_ window - Returns the number of requests recorded in the current window.
- required_
count - Count required fields.
- reset_
graph - Reset all tasks to Pending status.
- reset_
http_ retry - Resets the retry state for a new operation.
- reset_
limiter - Resets the limiter, clearing all recorded timestamps.
- reset_
pipeline - reset_
profile_ to_ defaults - Reset a profile to empty (remove all key-value pairs).
Returns
falseif the profile does not exist. - reset_
retry - Reset the retry counter to zero.
- reset_
to_ defaults - reset_
tracker - Reset all counters and category data to zero.
- residual_
norm - Compute the residual ||Ax - b||_inf.
- resolve
- Resolve a
StringIdback to its string content. ReturnsNoneif the id is invalid. - resolve_
all - Resolve all conflicts by choosing one side.
- resolve_
batch - Resolve a batch of paths.
- resolve_
dependencies - resolve_
path - Join
baseandrelativewith ‘/’, then normalize.and..segments. - resolve_
path_ normalize - Normalize a path: resolve ‘.’ and ‘..’ segments.
- resolve_
service - Resolves healthy instances of a service by name.
- response_
cache_ get - Retrieves a cached response by key if it has not expired.
- response_
cache_ size - Returns the number of entries currently in the cache.
- retain_
resource - retry_
count - Return the current attempt number (1-based after first retry).
- retry_
delay_ ms - Return the base delay in milliseconds.
- retry_
exhausted - Return true if all retries are exhausted.
- retry_
with_ backoff - Return the delay for the current attempt using exponential backoff.
- reverse_
graphemes - Reverse the grapheme cluster order of a string.
- revoke_
session - Revokes a session token, removing it from the store.
- rgb_
to_ hsl - Convert an sRGB color to HSL.
- rgb_
to_ hsv - Convert an sRGB color to HSV.
- rgb_
to_ lab - Convert an sRGB color to CIE Lab* (approximate, D65 reference white).
- rgb_
to_ oklch_ approx - Approximate RGB to OKLCh (a perceptual color space). This is a rough approximation for stub purposes.
- rgb_
to_ u32 - Pack RGB [0..1] to a u32 as 0x00RRGGBB.
- rgba_
f32 - Encode RGBA floats (0.0-1.0) into a PackedColor.
- rgba_u8
- Encode RGBA bytes (0-255) into a PackedColor.
- rh_
new_ hash - rh_
new_ push - rh_
new_ reset - rh_
new_ window_ full - rh_
new_ window_ size - rh_
simple_ hash - Compute a simple polynomial hash of the given byte slice.
- ridged_
fbm_ perlin2 - Ridged fBm using Perlin noise (sharper ridges).
- ridged_
noise_ 2d - Ridged multifractal noise.
- ring_
distribution - ring_
new_ add_ node - ring_
new_ get_ node - ring_
new_ is_ empty - ring_
new_ node_ count - ring_
new_ remove_ node - ring_
node_ count - ring_
rebalance - ring_
to_ json - rle_
compression_ ratio_ v2 - Compression ratio: decoded_len / encoded_len. Returns 1.0 for empty.
- rle_
decode - Run-length decode back to bytes.
- rle_
decoded_ len - Return the total number of decoded bytes.
- rle_
encode - Run-length encode a byte slice.
- rle_
is_ uniform - Check if the encoded sequence is uniform (single run).
- rle_
merge - Merge adjacent runs with the same value (e.g., after concatenation).
- rle_
most_ frequent - Find the most frequent byte value in the original sequence.
- rle_
run_ count - Return the number of runs.
- rle_
verify_ roundtrip - Encode then decode to verify roundtrip (returns true if data matches).
- rolling_
hash_ push - Push a byte into the rolling hash window. If the window is already full, the oldest byte is evicted.
- rolling_
hash_ value - Return the current hash value.
- rope_
concat - Rope concatenation helper.
- rope_
from - Create a rope from a string slice.
- rotate_
left - Rotate bits left by
nwithin a 64-bit word. - rotate_
right - Rotate bits right by
nwithin a 64-bit word. - route_
message - Routes a message, returning the handler ID with the highest priority.
- rs_
clear - Clear all samples.
- rs_
count - Number of samples currently stored.
- rs_
is_ full - Check if the window is full.
- rs_max
- Rolling maximum. Returns f64::MIN if empty.
- rs_mean
- Compute the rolling mean. Returns 0.0 if empty.
- rs_
median - Compute the median (approximate: uses sorted copy).
- rs_min
- Rolling minimum. Returns f64::MAX if empty.
- rs_push
- Push a new sample, dropping the oldest if the window is full.
- rs_std
- Compute rolling standard deviation.
- rs_sum
- Rolling sum of all samples.
- rs_
variance - Compute the rolling variance (population). Returns 0.0 if fewer than 2 samples.
- rtree_
entry - Helper: create an
RTreeEntry. - run_
pipeline - Runs a stub pipeline that just passes the context through enabled stages.
- sa2_
contains - Return
trueifpatternoccurs ins. - sa2_
is_ sorted - Verify the SA is correctly sorted.
- sa2_len
- Return the number of suffixes (= length of string).
- sa2_
search - Binary-search for all positions where
patternoccurs ins. - sa_
contains - Check if
patternoccurs intextusing binary search on the suffix array. - sa_
find_ all - Find all occurrences of
patternintextusing the suffix array. - sa_
stub_ count_ occurrences - Count the number of occurrences of
patterninsusing the suffix array. - sa_
stub_ find_ all - Find all positions where
patternoccurs ins. - sa_
stub_ longest_ repeated_ substring - Find the longest repeated substring in
susing the LCP array. - sa_
stub_ search - Binary search on the suffix array to find one occurrence of
patternins. - sa_
suffix_ count - Count the number of distinct suffixes (equals len(sa)).
- sample_
indices - Sample
kindices from0..nwithout replacement. - sample_
slice - Sample
kitems from a slice using Algorithm R. - sanitize_
path - Validates a path string supplied from untrusted input and returns a safe
PathBufif all checks pass. - sb_
clear - sb_get
- sb_len
- sb_put
- sb_
remove - sb_set
- scan_
pack - Scan all files in
pack_dirrecursively and build aVec<FileRecord>. - scanner_
total_ size - Total size of all file entries.
- scc_
add_ edge - Add a directed edge from
utov. - scc_
count - Return the number of SCCs.
- schedule_
once - schedule_
repeating - scheduler_
advance - Advance scheduler time by
dt. Returns all tasks that fired during this step. - scheduler_
cancel - scheduler_
task_ count - schema_
to_ json - Serialize the schema to JSON.
- script_
to_ diff_ string - Serialize an edit script to a human-readable diff string.
- seg2_
max - Build a max segment tree.
- seg2_
min - Build a min segment tree.
- seg2_
sum - Build a sum segment tree.
- seg_get
- seg_
query - seg_
range_ query_ max - seg_
range_ query_ min - seg_
range_ size - seg_
range_ update - seg_
total - seg_
update - segment_
graphemes - Segment a UTF-8 string into grapheme clusters.
- segment_
intersect - Test whether line segment p1-p2 intersects line segment p3-p4.
- semver_
compare - semver_
gte - Return
trueif versionais greater than or equal to versionb. - semver_
parse - semver_
to_ string - sentence_
count - Count the number of sentences in text.
- serializable_
types - serialize_
log_ json - serialize_
message - Serialise a message to a flat byte vector (stub: raw word bytes).
- serialize_
patch - Serialize a patch to unified diff format string.
- serialize_
set_ cookie - Serializes a cookie to a Set-Cookie header value string.
- set_
active_ locale - set_bit
- Set a specific bit.
- set_
bit_ indices - Collect all set bit indices into a Vec.
- set_
budget - Set the memory budget in bytes. 0 means unlimited.
- set_
context_ value - set_
cookie - Adds or updates a cookie in the jar.
- set_
flag_ value - set_
handler_ enabled - Enables or disables all routes for a given handler.
- set_
min_ level - Change the minimum log level (entries below this are dropped).
- set_
plugin_ error - set_
pref - set_
profile_ value - Set a key-value pair in the named profile.
Returns
falseif the profile does not exist. - set_
service_ health - Marks all instances of a service as healthy or unhealthy.
- set_
task_ enabled - severity_
name - Returns the human-readable name for a
ConsoleSeverity. - sha256_
eq - Compare two digests in constant-time (stub).
- sha256_
hash - Compute a SHA-256 stub digest of the given bytes.
- sha256_
stub - Simple SHA-256 stub (FNV-based hash, not real SHA256).
- should_
retry - Check whether another retry should be attempted, and advance the attempt counter.
- sign_
pack_ dir - Sign all files in
dirand return aSignedPack. - signature_
from_ hex - Decode a hex signature string back into a
PackSignature. - signature_
to_ hex - Hex-encode the signature bytes.
- simple_
dep_ node_ count - simplex2
- 2D simplex noise, output in roughly [-1, 1].
- simplex2_
01 - Normalize simplex2 output to [0, 1].
- simplex2_
scaled - 2D simplex noise with frequency and amplitude.
- simulate_
file_ change - Simulate a file change event (for testing).
- skip_
find - skip_
insert - skip_
len - skip_
range - skip_
remove - skip_
simple_ contains - skip_
simple_ insert - skip_
simple_ len - skip_
simple_ range - skip_
simple_ remove - skip_
whitespace - Skip leading whitespace.
- slice_
median - Compute the median of a slice.
- sliding_
window_ avg - slot_
capacity - Total capacity including free slots.
- slot_
count - Number of occupied slots.
- sm_
add_ state - sm_
add_ transition - sm_
current - sm_fire
- sma_
batch - smootherstep
- Smootherstep (Ken Perlin’s version, f32).
- smoothstep_
f32 - Smoothstep (f32 version).
- smq_
clear - smq_
is_ empty - smq_
is_ full - smq_len
- smq_
peek - smq_pop
- smq_
push - snappy_
compress - Compress bytes using Snappy stub (4-byte LE length + raw payload).
- snappy_
decompress - Decompress bytes produced by
snappy_compress. - snappy_
max_ compressed_ length - Return the maximum output size for a given input length (stub).
- snappy_
roundtrip_ ok - Verify round-trip integrity.
- snappy_
validate_ compressed_ buffer - Return whether a byte slice could be a valid Snappy stub frame.
- snapshot_
clear - snapshot_
count - snapshot_
get - snapshot_
is_ full - snapshot_
latest - snapshot_
save - sort_
apply_ f32 - sort_
apply_ str - sort_
entries - Sort entries by path.
- sort_
is_ ascending - sort_
reverse - sort_
strategy_ name - sp_feed
- sp_
read_ u8 - sp_
read_ u32_ le - span_
by_ name - span_
duration_ ns - span_
duration_ us - span_
end - span_
set_ attr - span_
set_ error - span_
set_ ok - sparse_
clear - sparse_
count - sparse_
get - sparse_
has - sparse_
keys - sparse_
remove - sparse_
set_ val - spec_
and - spec_
name - spec_
not - spec_or
- spec_
range - spec_
satisfies_ range - sphere_
volume - Volume of a sphere.
- split_
frames - Split a byte slice into multiple gRPC frames.
- split_
sentences - Split text into sentences.
- srgb_
to_ linear_ cm - Gamma-decode sRGB component to linear light.
- ss_
contains - ss_
insert - ss_len
- ss_
remove - ss_
to_ vec - stage_
count - stage_
dependencies - stage_
is_ complete - stage_
name_ ps - stage_
names - Returns stage names in pipeline order.
- stage_
reset - stage_
result - stage_
to_ json - state_
count - Return the number of states in the builder.
- std_dev
- Population standard deviation.
- stm_
contains - stm_get
- stm_set
- storage_
contains - storage_
get - storage_
remove - str_
camel_ to_ snake - str_
capitalize - str_
count_ char - str_
pad_ left - str_
pad_ right - str_
repeat - str_
reverse - str_
snake_ to_ camel - str_
truncate - string_
hash_ seed - string_
hash_ u32 - string_
hash_ u64 - string_
hashes_ equal - string_
id_ valid - Check whether a
StringIdis valid in the current pool. - strip_
trailing - Strip all trailing whitespace from every line, joining with
\n. - struct_
field_ count - Count fields in a Thrift struct value.
- sts_add
- sts_
done - sts_
failed - sts_
overall - su_
percentile - p-th percentile (0–100) using linear interpolation. Returns 0.0 for empty data.
- subscribe
- Subscribes a named subscriber to a topic, returning the subscription ID.
- subscriber_
count - Returns the number of active subscribers to a topic.
- sum_f32
- sutherland_
hodgman - Clip
subjectpolygon against convexclippolygon using Sutherland-Hodgman. Returns the clipped polygon. - switch_
profile - Switch the active profile to
name. Returnsfalseif no such profile exists. - sym_
find - sym_
intern - sym_len
- sym_
lookup - table_
size - Return the number of symbols in the table.
- take_
while_ vec - tam_
aliases_ for - All aliases pointing to a canonical name.
- tam_
all_ aliases - All registered alias names.
- tam_
clear - Clear all aliases.
- tam_
count - Total number of registered aliases.
- tam_
is_ alias - Whether a name is a registered alias.
- tam_
register - Register an alias pointing to a canonical name.
- tam_
remove - Remove an alias.
- tam_
resolve - Resolve an alias (or return the name itself if not an alias).
- tam_
resolve_ chain - Recursively resolve (follow chains).
- tarjan_
scc - Run Tarjan’s SCC. Returns a list of SCCs, each a sorted Vec of vertex indices.
- task_
count - Total number of tasks in the graph.
- tasks_
by_ priority - Returns tasks sorted by priority (highest first, then by scheduled_time).
- tb_
append - tb_
append_ line - tb_
as_ str - tb_
avg_ duration_ us - Average duration of all events in microseconds.
- tb_
by_ tag - Filter events by tag.
- tb_
clear - tb_find
- tb_
line_ count - tb_
max_ event - Maximum duration event.
- tc_
clear - Clear all cached entries.
- tc_
contains - Check if a type is cached.
- tc_get
- Retrieve raw bytes for a type name.
- tc_
is_ empty - Whether the cache is empty.
- tc_len
- Number of cached types.
- tc_
remove - Remove a cached type.
- tc_
store - Store raw bytes for a type name.
- tc_
total_ bytes - Total bytes cached.
- tc_
version - Version number for a cached type.
- te_
clear - Clear all values.
- te_
contains - Whether a key exists.
- te_get
- Get raw bytes for a key.
- te_
insert - Insert a value as raw bytes with a type tag.
- te_
is_ empty - Whether the store is empty.
- te_keys
- All keys as a sorted Vec.
- te_
keys_ by_ type - All keys with a given type tag.
- te_len
- Number of stored values.
- te_
remove - Remove a key.
- te_
type_ tag - Get the type tag for a key.
- text_
frame - Build a simple text frame.
- text_
tokenize - tf_
exclude - tf_
matches - tf_
require - three_
way_ merge - Perform a three-way merge on line slices.
- three_
way_ merge_ resolve - Perform a 3-way merge of lines.
- thrift_
encode_ string - Encode a Thrift string (i32 length prefix + UTF-8 bytes).
- thrift_
is_ struct - Return
trueif a value is a Thrift struct. - thrift_
type_ of - Return the Thrift type identifier for a value.
- ti_
add_ child - Add a child under
parent_idand return its id. - ti_
add_ root - Add a root node and return its id.
- ti_
children - Get children of a node.
- ti_
count - Total number of nodes.
- ti_
depth - Depth of a node from root (root = 0).
- ti_
descendants - Collect all descendants (BFS).
- ti_
label - Get label for a node.
- ti_
parent - Get parent id.
- ti_
roots - List root node ids.
- tick_
all - Advance all in-progress jobs by
chunk_sizebytes. - time_
diff_ ms - Returns the difference in ms between two timestamps.
- time_
source_ reset - Resets the time source to its start value.
- timestamp_
add_ ms - Adds milliseconds to a timestamp.
- timestamp_
is_ after - Returns true if timestamp a is after timestamp b.
- timestamp_
to_ string - Converts a timestamp to a simple string representation.
- tks_
drain - Collect all remaining tokens as a Vec.
- tks_
is_ empty - Whether the stream is exhausted.
- tks_
next - Consume and return the next token.
- tks_
peek - Peek at the current token without consuming.
- tks_
push - Push a token onto the stream.
- tks_
remaining - Number of remaining tokens.
- tks_
rewind - Rewind to the beginning.
- tks_
skip_ while - Skip tokens while predicate holds.
- tks_
total - Total token count (including consumed).
- tm_
add_ edge - Add a directed edge from
fromtoto. - tm_
add_ node - Add a node and return its id.
- tm_
clear - Clear all nodes and edges.
- tm_
has_ node - Whether a node exists.
- tm_
label - Get label for a node.
- tm_
node_ count - Number of nodes.
- tm_
remove_ node - Remove a node and all edges pointing to it.
- tm_
topo_ sort - Topological sort. Returns
Noneif cycle detected. - to_
ansi_ string - Return a simple ANSI-colored representation (stub — only marks keywords).
- to_
ascii_ lower - to_
ascii_ upper - to_gray
- toggle_
bit - Toggle a specific bit in a u64 mask.
- toggle_
feature - token_
count - token_
frequency - token_
numbers - token_
words - tokenize
- Simple tokenizer splitting on whitespace.
- tokenize_
sentences - tokenize_
words - toml_
get_ integer - Return the integer value for a key, or
None. - toml_
get_ string - Return the string value for a key, or
None. - topic_
subscriber_ count - Return the number of subscribers for a given topic.
- topo_
add_ edge - topo_
add_ node - topo_
clear - topo_
edge_ count - topo_
has_ cycle - topo_
has_ cycle_ dag - topo_
layer_ count - topo_
node_ count - topo_
remove_ node - topo_
sort - topo_
sort_ dag - topo_
sources - topological_
order - Compute a topological order using Kahn’s algorithm. Returns Err if a cycle is detected.
- total_
body_ bytes - Returns the total byte size of all parts.
- total_
bytes - Return the total number of bytes stored across all interned strings.
- total_
changed_ lines - Count total changed lines in a patch.
- total_
compressed - Total compressed size of all entries.
- total_
enqueued - Return the total number of commands ever enqueued.
- total_
frame_ ns - total_
instance_ count - Returns the total number of registered instances.
- total_
memory - total_
pushed - Total entries pushed lifetime.
- tp_add
- Add a stage to the pipe.
- tp_
apply - Apply the full pipeline to a value.
- tp_
clear - Clear all stages.
- tp_get
- Get stage by index.
- tp_
is_ empty - Whether the pipeline is empty.
- tp_len
- Number of stages.
- tp_pop
- Remove the last stage.
- trace_
child - trace_
clear - Clear all events.
- trace_
from_ header - trace_
get - Retrieve event by index (0 = oldest).
- trace_
is_ empty - Whether the buffer is empty.
- trace_
is_ sampled - trace_
len - Number of events stored.
- trace_
record - Record an event. Evicts oldest if at capacity.
- trace_
tick - Total tick count (monotone counter).
- trace_
to_ header - track_
alloc - Record an allocation of
sizebytes undercategory. - track_
free - Record a free of
sizebytes undercategory. Saturates at zero if the free exceeds current usage. - tracker_
allocate - tracker_
assign - tracker_
available - tracker_
experiment_ count - tracker_
free - tracker_
get_ variant - tracker_
is_ full - tracker_
participant_ count - tracker_
peak - tracker_
reset - tracker_
utilization - trailing_
whitespace_ count - Count trailing whitespace characters on a single line.
- transform_
apply - Apply the transform to a 3D point (position only, no rotation/scale applied here).
- transform_
combine - Combine two transforms: returns a transform that first applies
athenb. - transform_
identity - transform_
inverse_ translation - Returns the translation inverse (negated position, identity rotation, identity scale).
- transform_
lerp - transform_
rotate - transform_
scale_ uniform - transform_
to_ mat4 - transform_
translate - transition_
count - Return the number of transitions in the builder.
- translate
- translate_
with_ context - transpose_
option_ result - traversal_
limit_ words - Compute the traversal limit check (stub: just returns total words).
- trend_
direction_ label - triangle_
area_ 2d - Signed area of a 2D triangle (absolute value gives unsigned area).
- triangle_
normal - Normalized normal of triangle (a, b, c).
- trim_
log - trm_
contains - Check if key exists.
- trm_get
- Get a reference to the value for
key. - trm_
insert - Insert a key-value pair. Returns old value if key existed.
- trm_
is_ empty - Whether the trie is empty.
- trm_
keys_ with_ prefix - Collect all keys with a given prefix.
- trm_len
- Number of entries in the trie.
- trm_
remove - Remove a key and return its value.
- truncate_
graphemes - Truncate
textto at mostmax_clustersgrapheme clusters. - truncate_
history - try_
exclusive - Try exclusive lock.
- try_
shared - Try shared lock.
- ts_
advance - ts_
cancel - ts_
run_ count - ts_
schedule - ts_
task_ count - tsv_
col_ count - Return the number of columns (header fields).
- tsv_
field - Get the value of column
colin rowrow(0-indexed), or None. - tsv_
row_ count - Return the number of data rows (excluding the header).
- tsv_
to_ string - Serialize a
TsvTableback to a TSV string. - turbulence_
2d - Turbulence noise (absolute value fBm), maps to [0, 1].
- turbulence_
perlin2 - Turbulence fBm (sum of absolute values).
- type_
count - type_
registry_ to_ json - types_
in_ category - u16_
from_ le - u16_
to_ le - u32_
array_ to_ json - u32_
from_ be - u32_
from_ le - u32_
to_ be - u32_
to_ le - u32_
to_ rgb - Unpack u32 0x00RRGGBB to [r, g, b] in [0..1].
- uf_
component_ count - Number of distinct components.
- uf_
component_ size - Size of the component containing element
x. - uf_
connected - Whether two elements are in the same component.
- uf_
element_ count - Total number of elements.
- uf_find
- Find root of element
xwith path compression. - uf_
reset - Reset to initial state (all singletons).
- uf_
union - Union two elements. Returns true if they were in different components.
- ug_
alloc - Allocate a new UID (uses recycled pool first).
- ug_
allocated_ count - Number of UIDs allocated so far (not counting recycled).
- ug_
local_ id - Extract the local counter from a UID.
- ug_
namespace - Extract the namespace from a UID.
- ug_
peek_ next - Peek at the next UID that would be allocated (without consuming).
- ug_
recycle - Recycle a UID for future reuse.
- ug_
recycled_ count - Number of UIDs in the recycled pool.
- ug_
reset - Reset the generator (keeps namespace).
- undo
- undo_
count - undo_
last - Undo the last command and push it onto the redo stack.
- undo_
paste - Undo the last paste by restoring the most recent history entry as current.
Returns
trueif an entry was restored. - unescape_
token - Unescape a single reference token per RFC 6901.
- unique_
common_ lines - Find lines that appear exactly once in both
oldandnew. - unique_
sorted - unique_
tokens - unload_
plugin - unload_
resource - unpack_
vec3 - Unpack a PackedVec3 into a [f32; 3] vector.
- unregister_
type - unsubscribe
- Unsubscribes by subscription ID, returning true if found.
- unwatch_
path - Returns true if the path was found and removed.
- unwrap_
or_ default_ str - upload
- Upload bytes and return the key.
- uq_
clear - Clear the queue.
- uq_
dequeue - Dequeue the highest-priority item (lowest priority number).
- uq_
drain_ all - Drain all items into a sorted Vec (ascending priority).
- uq_
enqueue - Enqueue an item.
- uq_
is_ empty - Whether the queue is empty.
- uq_len
- Number of items pending.
- uq_peek
- Peek at the next item without removing.
- uq_
total_ enqueued - Total items ever enqueued.
- url_
decode - Decode a percent-encoded string.
- url_
encode_ query - Encode only the query-string component (space →
+). - url_
encode_ str - Percent-encode a byte string (encodes all non-unreserved characters).
- url_
escape - Escape special URL characters (basic percent-encoding for spaces and common chars).
- url_
is_ safe - Return true if a string contains no characters requiring encoding.
- url_
roundtrip_ ok - Verify round-trip encode/decode.
- us_
federal_ holidays - usage_
by_ category - Return the current usage for a specific category.
- uuid_
from_ bytes - uuid_
from_ u128 - uuid_
is_ valid_ string - uuid_
nil - uuid_
to_ string - uuid_
version - validate_
field_ value - Validate a single field value string against its schema. Returns an error message or None.
- validate_
file_ size - Validates that
bytesdoes not exceedmax_mbmegabytes. - validate_
number - Validate a numeric value against a schema node.
- validate_
path - Validate that a patch path is non-empty.
- validate_
session - Validates a session token at the given timestamp.
- validate_
string - Validate a string value against a schema node.
- validate_
type_ meta - validate_
value - Validate a config value against the schema. Returns a list of error messages.
- value_
noise_ 2d - Bilinear-interpolated value noise in [0, 1].
- variance
- Population variance of a slice. Returns 0.0 for fewer than 2 elements.
- varint_
decode_ i64 - varint_
decode_ u64 - varint_
encode_ i64 - varint_
encode_ u64 - varint_
encoded_ size_ u64 - varint_
roundtrip_ ok - Encode then immediately decode, verifying the roundtrip.
- varint_
size - Return the number of bytes needed to encode a varint.
- vc_
clear - Clear all entries.
- vc_
dirty_ count - Count of dirty entries.
- vc_get
- Retrieve a cached value if not dirty.
- vc_
invalidate - Mark a key as dirty (needs recompute).
- vc_
invalidate_ all - Invalidate all entries.
- vc_
is_ valid - Whether a key is cached and clean.
- vc_len
- Number of cached entries.
- vc_
remove - Remove a key.
- vc_
store - Store a computed value.
- vec3_
add - Add two 3D vectors.
- vec3_
cross - Cross product of two 3D vectors.
- vec3_
dot - Dot product of two 3D vectors.
- vec3_
len - Euclidean length of a 3D vector.
- vec3_
lerp - Linearly interpolate between two 3D vectors.
- vec3_
norm - Normalize a 3D vector to unit length. Returns zero vector if length is zero.
- vec3_
scale - Scale a 3D vector by a scalar.
- vec3_
sub - Subtract two 3D vectors.
- verify_
checksum - Verify data against an expected checksum.
- verify_
hex - Verify a checksum hex string.
- verify_
manifest_ present - Check that
pack_dircontainsoxihuman_assets.tomland that it is a validAssetManifest. - verify_
pack - Verify all files in
pack_diragainst the expectedrecords. - verify_
pack_ signature - Verify a
SignedPackagainst the current state ofdirusingkey. - vertices_
with_ color - Return vertices assigned a specific color.
- vm_
clear - Clear all entries.
- vm_
contains - Whether a key exists.
- vm_get
- Get value by key.
- vm_
get_ bool - Get bool value.
- vm_
get_ float - Get float value.
- vm_
get_ int - Get int value.
- vm_len
- Number of entries.
- vm_
remove - Remove a key.
- vm_
set_ bool - Set a bool value.
- vm_
set_ float - Set a float value.
- vm_
set_ int - Set an int value.
- vm_
set_ text - Set a text value.
- voronoi_
assign - Compute the Voronoi cell assignment for a set of query points.
- vs_
changed_ names - Names of all changed variables.
- vs_
clear - Clear all variables.
- vs_
declare - Declare a variable with a default value.
- vs_
flush - Flush change flags.
- vs_get
- Get a variable value.
- vs_
is_ changed - Whether the variable was changed since last flush.
- vs_len
- Number of declared variables.
- vs_
remove - Remove a variable.
- vs_
reset - Reset a variable to its default.
- vs_set
- Set a variable value.
- vv_
compare - Compare two version vectors: -1 (a<b), 0 (equal), 1 (a>b), 2 (concurrent).
- vv_
concurrent - Check if two version vectors are concurrent (neither happens-before the other).
- vv_get
- Get the clock value for a node (0 if not present).
- vv_
happens_ before - Check if
ahappens-beforeb(all a’s components <= b’s, and at least one is strictly less). - vv_
increment - Increment the clock for a given node.
- vv_
merge - Merge two version vectors, taking the max of each component.
- vv_
node_ count - Number of nodes in the vector.
- vv_
nodes - Return all node names.
- vv_
reset_ node - Reset a node’s clock to zero.
- warn_
count - watch_
path - watch_
paths - Watch multiple paths at once.
- watched_
path_ count - weak_
is_ alive - Check whether a weak reference is still alive.
- white_
noise - Hash-based white noise in [0, 1] using sine trick.
- winsorize
- word_
boundary_ positions - Find all word boundary byte positions in
text. - word_
count - Count words in the text.
- word_
token_ count - word_
wrap_ graphemes - Split text into lines of at most
widthgrapheme clusters. - workspace_
summary - Human-readable summary of a workspace.
- worley2
- 2D Worley noise: returns distance to nearest feature point. Output is in [0, ~1.5] depending on density.
- worley2_
01 - Normalized Worley: maps F1 distance to [0, 1] clamped.
- worley2_
f1f2 - 2D Worley noise returning the two nearest distances (F1, F2).
- worley2_
ridged - F2 - F1 (ridge-like pattern), normalized to [0, 1].
- write_
bytes - write_
entries - Write a directory of entries (stub: just adds them all).
- write_
f32_ le - write_
signature_ file - Write a
SignedPackto a text file in simple key=value format. - write_
str - Write a length-prefixed string: u32 length (LE) followed by UTF-8 bytes.
- write_
u8 - write_
u16_ le - write_
u32_ le - xor_
checksum - XOR checksum of all bytes.
- xxhash32
- Compute an xxHash-32 stub digest.
- xxhash64
- Compute an xxHash-64 stub digest.
- xxhash64_
eq - Return whether two byte slices have the same hash.
- xxhash64_
hex - Return the hash as a hex string.
- yaml_
get_ int - Retrieve an integer value.
- ymd_
to_ jdn - z_
contains - Return
trueifpatternoccurs intext. - z_count
- Return the count of occurrences of
patternintext. - z_
function - Compute the Z-array for string
s.z[i]= length of the longest substring starting ats[i]that is also a prefix ofs.z[0]is conventionally 0. - z_max
- Return the Z-array max value (longest prefix match at any position).
- z_
score_ batch - z_
search - Return all positions in
textwherepatternstarts. - z_valid
- Return
trueif the Z-array forsis consistent (allz[i]<= n-i). - zigzag_
decode - Zigzag-decode an unsigned integer to signed.
- zigzag_
encode - Zigzag-encode a signed integer to unsigned (for compact storage). Maps: 0->0, -1->1, 1->2, -2->3, 2->4, …
- zip_
with - zip_
with_ vecs - zstd_
compress - Compress bytes using Zstd stub (stores raw with 4-byte header).
- zstd_
decompress - Decompress bytes produced by
zstd_compress. - zstd_
frame_ size_ estimate - Estimate the frame size for a given input length (stub).
- zstd_
frame_ valid - Return true if the data length is sufficient for a valid Zstd stub frame.
- zstd_
pipeline - Build a default Zstd pipeline.
- zstd_
roundtrip_ ok - Verify round-trip integrity.
Type Aliases§
- GcId
- Identifier for a GC-managed object.
- Generation
- Generation tag to invalidate stale handles after an arena reset.
- Pending
Events - Type alias for the pending events list.
- Pmap
Version - A version of the persistent map.
- Pvec
Version - A version snapshot of the persistent vector.
- State
Machine Guard Fn - A guard function: returns true if the transition is allowed.
- Subscriber
Id - Type alias for a subscriber handler id.