Skip to main content

Crate oxihuman_core

Crate oxihuman_core 

Source
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 Vec with 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.
AabbEntry
An entry in the AABB tree.
AabbTree2D
A 2D AABB tree.
AbTestConfig
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.
AccessMap
Tracks per-key access counts (reads and writes).
ActionEntry
ActionMap
A mapping from string action names to callbacks represented as closures.
AdjGraph
An adjacency-list directed graph.
AesGcmCipher
AES-GCM cipher stub.
AesGcmConfig
AES-GCM configuration.
AggLogEntry
An aggregated log entry.
AggregateRoot
AhoCorasick
The Aho-Corasick automaton.
AllocationRecord
A record of a single allocation or free event.
AnimCurve
Animation curve: sorted list of keyframes.
AnomalyScorer
ArchiveEntry
A file entry inside an archive.
ArchiveReader
Archive reader stub.
ArchiveWriter
Archive writer stub — accumulates entries in memory.
ArenaHandle
Handle to an arena-allocated object.
ArenaStr
An arena-based string allocator that stores strings in contiguous memory.
ArrayStack
A stack with a fixed maximum capacity.
ArticGraph
An undirected graph.
AssetCache
AssetEntry
AssetHash
A 32-byte content hash.
AssetHasher
FNV-inspired 256-bit rolling hasher (eight 32-bit lanes).
AssetManifest
AssetPackBuilder
Builder for creating .oxp asset packs with typed entries.
AssetPackIndex
Summary index built by scanning a loaded OXP pack.
AssetPackMeta
Metadata attached to the top-level pack manifest.
AssetRecord
A single record in the content-addressed registry.
AssetRegistry
Content-addressed asset registry.
AsyncQueue
A simple async-style task queue that stores pending and completed tasks.
AsyncTask
AtomicCounter
AuditEntry
A single audit event entry.
AuditEventEntry
A single audit event.
AuditEventLog
Append-only audit event log.
AuditLog
Append-only audit log with a chain hash.
AvlMap
Ordered map backed by an AVL tree.
AvlTree
An AVL tree.
AvroField
A record field in an Avro schema.
B64sConfig
Full configuration for encode / decode operations.
B64sDecoder
A streaming Base64 decoder that wraps an io::Read source.
B64sEncoder
A streaming Base64 encoder that wraps an io::Write sink.
BTree
A B-tree.
BTreeMapV2
Simple B-tree map (order 4).
BTreeSimple
Base64Config
BatchCommand
Execute multiple commands atomically (undo reverses all in reverse order).
BatchProcessor
Processes items in configurable batch sizes with progress tracking.
BatchQueue
A queue that yields items in batches of a configured size.
BezierPath
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
BinomialHeap
Binomial min-heap.
BipartiteGraph
A bipartite graph with left_n left nodes and right_n right 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>.
BitmapIndex
A bitmap index storing up to capacity bits.
BitmaskFlags
BitsetFixed
Blake3Digest
32-byte BLAKE3 digest.
Blake3Hasher
BLAKE3 hasher stub.
BloomCounter
A counting bloom filter for approximate frequency tracking.
BloomFilter
A simple Bloom filter using multiple FNV-style hash functions.
BloomFilterProb
BloomFilterV3
Bloom filter backed by a Vec<u64> bit-array.
BloomSet
A probabilistic set membership test using a bloom-filter style bit array.
BrotliCompressor
Brotli compressor stub.
BrotliConfig
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.
BucketEntry
Single bucket entry.
BucketHistogram
BuddyAllocator
Order of the allocator: manages 2^order minimum-sized units.
BufferPool
A pool of byte buffers that can be checked out and returned.
BufferSlice
A view into a contiguous byte buffer with offset and length.
BuiltFsm
A built FSM: set of states and transitions.
BvhAabb
Axis-aligned bounding box for BVH.
BvhPrimitive
A leaf primitive stored in the BVH.
BytePool
A pool of reusable byte buffers to reduce allocation overhead.
CacheEntry
CacheEntryItem
A single cache entry with key, value, TTL and access tracking.
CacheLine
Represents a single cache line with key, value, and metadata.
CachePolicy
Cache eviction policy tracker.
CacheStore
A cache store backed by a Vec of entries.
CachedResponse
A cached HTTP-style response entry.
CalDate
CapabilityFlags
CapacityPlanner
Registry of capacity specs.
CapacitySpec
A capacity planning resource specification.
CapnMessage
A Cap’n Proto message containing one or more segments.
CapnSegment
A Cap’n Proto message segment.
CatmullRomSpline2D
A Catmull-Rom spline through a set of 2D control points.
Centroid
A centroid in the t-digest.
ChaChaCipher
ChaCha20-Poly1305 cipher stub.
ChaChaConfig
ChaCha20-Poly1305 configuration.
ChainBuffer
A chain of fixed-size byte buffers.
ChainMap
A chain of maps where lookup falls through parent layers.
ChangeEntry
A single structured change log entry.
ChangeLog
Append-only change log.
ChannelPair
A bidirectional channel pair for message passing between two endpoints.
ChannelRouter
Routes messages to named channels.
Checkpoint
Stores named checkpoints of serialised state for save/restore workflows.
CheckpointStore
Checksum
A checksum value.
CircuitBreaker
The circuit breaker instance.
CircuitBreakerConfig
Configuration for the circuit breaker.
CircularBuffer
A circular buffer with a fixed capacity.
ClassifierConfig
Clipboard
Clipboard manager with history support.
ClipboardEntry
A single clipboard entry with metadata.
ClockSource
A deterministic clock source for simulation and testing.
ClockVersionVector
A distributed version vector (vector clock).
CmdEntry
A single entry in the command list.
ColorEntry
A single named color entry (RGBA in [0, 1]).
ColorGradient
Multi-stop color gradient.
ColorGraph
An undirected graph represented as adjacency lists.
ColorHsl
A color in HSL (hue, saturation, lightness) space. Hue is in degrees [0, 360), saturation and lightness in [0, 1].
ColorHsv
A color in HSV (hue, saturation, value) space. Hue is in degrees [0, 360), saturation and value in [0, 1].
ColorLab
A color in CIE Lab* space (approximate).
ColorPalette
A named collection of color entries.
ColorQuantizer
Median-cut color quantizer.
ColorRgb
An RGB color in sRGB space, components in [0, 1].
ColorStop
An RGBA color stop at position t in [0, 1].
CommandBus
The command bus with undo/redo stacks.
CommandList
Ordered, prioritised list of named commands.
CommandLog
CommandQueue
A priority-aware command queue.
CommandResult
Result returned by command execution or undo.
CommandState
Shared mutable state that commands operate on.
CompactHash
A compact hash map using open addressing with linear probing. Stores u64 keys and u64 values in parallel arrays.
CompactSet
A compact, sorted set of u32 values.
CompactVec
A compact vector that stores small arrays inline before spilling to heap.
CompressPipelineStage
A single pipeline stage.
CompressResult
Result of pipeline compression.
CompressionPipeline
Multi-stage compression pipeline.
ConfigLayer
A single configuration layer mapping string keys to string values.
ConfigManager
Top-level configuration manager holding multiple named profiles.
ConfigProfile
A named configuration profile containing a map of key→value entries.
ConfigReader
Reads key=value configuration from text.
ConfigSchema
ConfigStore
A configuration store mapping string keys to typed values.
ConfigValue
ConflictBlock
A parsed conflict block.
ConsoleEntry
A single log entry in the debug console.
ContextMap
String-keyed map of typed context values.
ConvexHull3D
A 3D convex hull represented by vertex indices and triangle faces.
Cookie
A single HTTP cookie.
CookieJar
The cookie jar that stores all cookies.
CopyBuffer
A fixed-capacity byte buffer supporting copy-in and copy-out operations.
CountMinSketch
Count-Min Sketch using pairwise-independent hash families.
CountMinSketchV2
Count-Min Sketch with configurable depth and width.
CounterMap
A map that counts occurrences of string keys.
CountingBloomFilter
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.
CronExpr
CsvRecord
A single parsed CSV record (row).
CsvTable
A parsed CSV table with named headers.
CubicBezier
A cubic Bezier curve defined by 4 control points in 2D.
CuckooFilter
Cuckoo filter with configurable number of buckets.
CursorWriter
A byte-buffer writer with a movable cursor position.
DAryHeap
d-ary min-heap backed by a Vec.
DataPipeline
DataTable
A simple column-oriented data table with string column names and f64 values.
DateRange
DddCommand
DeadlineEntry
A single deadline entry.
DeadlineTracker
Tracks multiple deadlines and their SLA compliance.
DebugConsole
The debug console — stores log entries with severity.
DebugConsoleConfig
Configuration for the debug console.
DecayCounter
A counter that decays exponentially over time.
DecisionTree
A binary decision tree backed by a flat Vec of nodes.
DecodedJwt
A decoded JWT.
DelaunayResult
Result of Delaunay triangulation.
DelaunayTri
A triangle (vertex indices).
DepGraph
Simple directed graph for dependency resolution via Kahn’s topological sort.
Dependency
DependencyGraph
DependencyNode
DiffEntry
Tracks changes (diffs) to named properties over time.
DiffHunk
A hunk in a unified diff.
DiffTracker
DigestHash
A simple non-cryptographic hash digest for data fingerprinting.
DirEntry
A directory entry.
DirectoryScanner
Directory scanner stub — holds a virtual file tree.
DisjointSet
A disjoint set forest with path compression and union by rank.
DispatchRecord
A record of a dispatched event.
DispatchTable
A table that maps string keys to handler IDs for dispatch.
DomainEvent
DoubleList
DoubleMap
A bidirectional map between two string key spaces.
DualQuat
A dual quaternion: real part (rotation) + dual part (translation encoded).
EcPoint
A 2D point.
EditScript
A complete edit script (list of EditOp).
EmaCalc
Exponential Moving Average.
EntityId
ErasedSlot
A type-erased slot holding raw bytes plus a type tag.
ErrorAggregator
ErrorEntry
A single error entry.
ErrorLog
Bounded error log.
Event
A single event with a JSON payload and wall-clock timestamp.
EventBus
Synchronous event bus: stores handlers keyed by EventKind and a history of all published events.
EventBusTopic
Publish-subscribe event bus with topic-based routing and priority support.
EventDispatcher
Event dispatcher.
EventLog
EventRecord
A record of a single published event stored in the bus queue.
EventSink
EventStore
ExperimentAssignment
A recorded experiment assignment.
ExperimentTracker
Tracks which experiment variant each user is assigned to.
ExponentialMovingAverage
Exponential Moving Average (EMA).
FbmConfig
fBm configuration.
FeatureFlag
FeatureFlagEntry
A single feature flag entry.
FeatureFlagRegistry
FeatureGate
FenwickTree
A Fenwick tree (BIT) over i64 values.
FenwickTreeV2
A Fenwick (binary indexed) tree for i64 values.
FibonacciHeap
Fibonacci min-heap.
FileChange
FileLockManager
File lock manager stub.
FileMetadata
File metadata record.
FileRecord
A checksum record for a single file inside a pack.
FileWatcherStub
File watcher with debouncing, glob filtering, event batching, recursive directory watching, and dynamic watch management.
FingerTree
A finger tree sequence.
FiscalPeriod
FiscalYearConfig
Fiscal year configuration: defines the start month and day of each FY.
FixedArray
Fixed-capacity array with runtime length up to CAP.
FlagRegister
A register of named boolean flags stored as a bitmask.
FlatBuilder
A FlatBuffers builder that accumulates bytes.
FlowGraph
A flow network.
FrameCounter
A frame counter that tracks frame timing statistics.
FreeSlot
Free-list allocator.
FrequencyAnalyzer
Frequency analyzer that computes the DFT of a signal.
FrequencyBin
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 char elements.
GaugeEntry
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.
GeneratedPatch
A unified diff patch.
GraphEdge
An edge in the graph.
Grapheme
A single grapheme cluster with its byte span.
GridIndex
A 2D grid spatial index.
GrpcFrameHeader
A gRPC frame header (5 bytes: 1 compression flag + 4-byte length).
HandlerEntry
HandlerId
Opaque handler identifier.
HashBucket
Hash-bucket map with configurable bucket count.
HashGrid
Spatial hash grid storing point IDs.
HashRing
HashRingNew
HealthAggregator
A health check aggregator that collects component results.
HealthCheckConfig
Configuration for the health check aggregator.
HealthCheckResult
A single component’s health check result.
HealthMonitor
HealthReport
Aggregated health report across all components.
HermiteSpline2D
A piecewise Hermite spline curve in 2D.
HexCoord
Axial hex coordinate.
HgPoint3
A 3D point.
HighlightToken
A token with an associated highlight kind.
HighlighterConfig
Configuration for the syntax highlighter.
HistBin
A single histogram bin.
HistogramBuilder
Histogram builder.
HistogramDiff
Result of histogram diff.
HistogramDiffConfig
Configuration for histogram diff.
HistogramHunk
A change hunk produced by histogram diff.
Holiday
HolidayCalendar
HolidayDate
HotReloadConfig
HotReloadWatcher
HttpHeader
An HTTP header (name + value pair).
HttpRequest
A parsed HTTP/1.1 request.
HttpResponse
A parsed HTTP/1.1 response.
HttpRetryPolicyConfig
Configuration for a retry policy.
HttpSession
Represents a session with a token and expiry.
HttpSessionStore
A simple in-memory session store.
HuffNode
A node in the Huffman tree.
HuffmanCodeTable
Lookup table: for each symbol 0..=255, (code_bits, code_length). Symbols that do not appear have code_length == 0.
HuffmanSymbol
A symbol with frequency and assigned code length (legacy public API).
HuffmanTable
A frequency table mapping bytes to HuffmanSymbol entries (legacy API).
HuffmanTree
The full Huffman tree stored as a flat node array.
HullFace
A face of the convex hull (triangle by vertex indices).
HyperLogLog
HyperLogLog with configurable precision (b bits for register count).
HyperLogLogV2
HyperLogLog cardinality estimator with 2^b registers.
Id
An opaque ID.
IdPool
ID pool.
IndentResult
Result of an indentation detection run.
IndexList
Ordered index list with O(1) contains check.
InstalledPack
An installed pack record.
Interval
IntervalQueryTree
Interval overlap query tree.
IntervalSimple
IntervalTree
IntervalTreeSimple
IqrFilter
IsoDuration
JsonBuilder
JsonPatch
A JSON Patch document (sequence of operations).
JsonPointer
A parsed JSON Pointer (RFC 6901).
JsonSchemaValidationError
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.
KdPoint3Simple
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.
KeyCacheEntry
A single cache entry with value and expiry frame.
Keyframe
A single keyframe: (time, value).
KruskalEdge
A weighted edge.
LayeredConfig
Stack of config layers resolved top-down (last layer wins).
LazyMap
Lazy map that stores computed results.
LazyValue
Lcg
Linear Congruential Generator state.
LeftistHeap
Leftist min-heap.
LexToken
A basic token produced by a lexer.
LexerStream
A position-tracking stream over a Vec<LexToken>.
LineIndexer
Maps line numbers to byte offsets in a source text.
LinkedMap
Insertion-ordered map.
LocaleFormatter
LocaleString
LocaleTable
LocalizationSystem
LockRecord
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.
ManualRefCounted
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
MaterialDef
A PBR material definition stored inside an asset pack.
MediaType
A parsed MIME type with optional quality factor.
MedianFilter
Sliding window median filter state for streaming data.
MemoEntry
Single memoized entry.
MemoTable
Memo table.
MemoryPoolTyped
A typed memory pool storing T in a flat Vec, recycling freed indices.
MemoryTracker
Tracks memory allocations, frees, budgets and peak usage.
MergeConfig
Configuration for merge resolution.
MergeResult
The result of a three-way merge.
MerkleTree
Message
A single log message.
MessageLog
Message log.
MessageRouter
The message router that maps types to handlers.
MessageRouterConfig
Routing configuration.
MetadataStore
Metadata store stub.
Metric
MetricCounter
Metric counter registry.
MetricSample
MetricStats
Per-metric statistics.
MetricsCounter
An atomic-style metrics counter (single-threaded stub).
MetricsGauge
Registry of named gauges.
MetricsHistogramSdk
A fixed-bucket histogram for recording distributions.
MetricsRegistry
MiddlewareStage
A single middleware stage descriptor.
MigrationPlan
MigrationRegistry
MigrationStep
Money
MorphPreset
A named collection of morph parameter values forming a body preset.
MstEdge
A weighted undirected edge in the MST.
MultipartBody
Result of parsing a multipart body.
MultipartPart
A single multipart form part.
MyersDiff
Myers diff state.
NameTable
Bidirectional name↔ID table.
NegotiationResult
Result of content negotiation.
NodeHandle
Opaque node handle.
NodePool
Node pool.
NormalizedPath
A normalized path wrapper.
NormalizerConfig
Configuration for whitespace normalization.
Notification
NotificationQueue
Priority-ordered notification queue.
NotificationSystem
OAuth2Client
An OAuth2 stub client that manages the PKCE flow.
OAuth2Config
Configuration for an OAuth2 client.
OAuth2Token
An OAuth2 access token with optional refresh token.
ObjectArena
Arena allocator that bump-allocates objects of type T.
ObjectMeta
Object metadata.
ObjectRegistry
ObjectStorage
In-memory object storage stub.
ObserverEventBus
ObserverList
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.
OctreeNode
A node in the octree (either internal or leaf).
OpenHashMap
An open-addressing hash map with linear probing (i64 → i64).
OptionCache
Cache that stores optional values (present or absent).
OutputBuffer
A growable output buffer for accumulating byte data.
P2Quantile
P² algorithm marker positions and heights.
PackBuilder
Builder for creating .oxp distribution packages.
PackDependency
A dependency on another pack.
PackIntegrity
Integrity metadata for the package.
PackManifest
Distribution package metadata.
PackRegistry
Registry for tracking installed packages.
PackSignature
Signature metadata for a signed pack.
PackTargetEntry
An individual asset file entry within the package.
PackVerifier
Verifier for validating .oxp distribution packages.
PackVerifyReport
The result of verifying a pack directory against a set of FileRecords.
PackedArray
PackedColor
A packed RGBA color stored as a single u32: 0xRRGGBBAA.
PackedVec3
A packed 3D vector with u16 components for compact storage. Values are encoded in the range [min, max] mapped to [0, u16::MAX].
PackedVec3Buffer
A storage buffer for packed vec3 values.
PackedVec3Config
Configuration for encoding/decoding packed vectors.
PageAllocator
Fixed-size page allocator backed by a Vec of pages.
PairingHeap
Pairing min-heap.
Paragraph
A detected paragraph with its text and byte span.
ParagraphConfig
Configuration for paragraph detection.
ParamSet
A named parameter set for storing typed key-value parameters.
ParsedArgs
Parsed argument result.
ParsedConflicts
Result of parsing a conflicted text.
Patch
A buffer that accumulates byte-level patches (offset, data) for later application.
PatchBuffer
PathCache
Cache for resolved filesystem-style paths.
PatienceDiff
Result of running patience diff.
PatienceHunk
A hunk in a patience diff result.
PatternMatcher
PayloadBuffer
PayloadEntry
Named payload slots with typed tags.
Percentage
PersistentHashMap
Persistent hash map that keeps all historical versions.
PersistentMap
A persistent-style map that supports snapshotting.
PersistentVector
Persistent vector that retains all historical versions.
Piece
A piece describing a run of characters from a source buffer.
PieceTable
Piece table text buffer.
PipeFilter
PipelineConfig
Configuration for the request pipeline.
PipelineContext
Context object passed through a pipeline of processing stages.
PipelineContextStruct
PipelineReport
Complete pipeline audit report.
PipelineStage
PipelineStruct
PkceChallenge
PKCE code verifier and challenge pair.
PlaceholderMap
Template placeholder substitution map.
PlanExecutor
PlanStep
Plugin
PluginApiRegistry
PluginDescriptor
PluginMetadata
PluginRegistry
Point2
A 2D point.
Policy
PolicyEntry
An entry tracked by the cache policy.
Polygon2D
A 2D polygon represented as a list of vertices.
Polynomial
A polynomial with its coefficients.
PoolAllocator
Fixed-capacity pool allocator.
PoolHandle
Handle into the pool.
PoolSlot
A slot in the pool.
PqEntry
An entry in the priority queue.
Preference
PrefixSum2d
PrimGraph
An undirected weighted graph.
PriorityMap
A map that maintains entries ordered by priority.
PriorityQueueExt
Extended priority queue supporting decrease-key.
ProcContext
A context carrying state through a processing pipeline.
ProfileFrame
ProfileSpan
Profiler
PsStage
PubSubBus
An in-memory pub/sub topic bus.
PubSubConfig
Configuration for the pub/sub bus.
QtPoint
A point stored in the quadtree with an associated integer id.
QuadTree
Quadtree node.
Quat
A quaternion [x, y, z, w] where w is the scalar part.
QuatMath
A quaternion [x, y, z, w].
Query
QueryCache
Cache mapping query keys to results.
QueryEntry
A cached query result.
QueryInterval
A closed interval [lo, hi] with an associated value.
QueryResult
QueueNotification
A notification item.
QueuedCommand
A single command waiting in the queue.
QuotaEntry
A quota for a named resource.
QuotaManager
Manager for multiple resource quotas.
RTree2D
An R-tree for 2D rectangles.
RTreeEntry
An entry stored in the R-tree.
RangeEntry
A half-open interval [lo, hi).
RangeMap
Ordered map of non-overlapping ranges.
Rect2
A 2D axis-aligned bounding rectangle.
RedBlackMap
Ordered map backed by a left-leaning red-black tree.
RedBlackTree
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.
RegionAllocator
Manages multiple named regions within a total address space.
RegistryItem
A registered item with metadata.
RegistryMap
Registry mapping string keys to typed items with categories.
ReportBuilder
A builder for constructing a report incrementally during pipeline execution.
ReportEvent
A single report event.
RequestContext
A request context passed through the pipeline.
RequestPipeline
An ordered request pipeline.
ReservoirSampler
A reservoir sampler that maintains a uniform random sample of size k.
ResolveResult
Resource
ResourceManager
ResourcePool
Pool of resources with acquire/release semantics.
ResourceSlot
A single resource slot.
ResourceTracker
ResponseCache
An LRU-style response cache (simplified: evicts oldest entry).
ResponseCacheConfig
Cache configuration.
ResultEntry
ResultStack
Stack accumulating operation results.
RetryPolicy
Retry policy configuration.
RetryState
Tracks retry state for a single operation.
RgbColor
An RGB color (0-255 per channel).
RingLog
Fixed-size ring-buffer log.
RingLogEntry
A single log entry.
RoleMap
Assigns roles to entity IDs and checks permissions.
RollingHash
Rolling hash state for a sliding window over bytes.
RollingHashNew
RollingStats
Rolling statistics accumulator.
Rope
A rope data structure.
RopeString
A rope for efficient large-string editing.
RoutableMessage
A message to be routed.
RouteEntry
A routing rule entry.
RouteMatch
Result of a route match.
RouteTable
Route table mapping URL-like paths to handlers.
RouteTableEntry
A route entry mapping a pattern to a handler name.
RoutedMessage
A message with a topic and payload.
Rule
A rule with conditions and actions.
RuleAction
Action produced when a rule fires.
RuleEngine
Rule engine evaluating rules against a fact map.
Run
A single run: (value, count).
RunningStatistics
Online running statistics (Welford’s method).
ScanConfig
Scanner configuration.
SccGraph
A directed graph for SCC computation.
ScheduleQueue
Queue of tasks ordered by due time.
ScheduleTask
A scheduled task entry.
ScheduledTask
Scheduler
SchedulerTask
A single scheduled task.
SchemaField
SchemaNode
A minimal JSON Schema node.
SearchDoc
A document stored in the index.
SearchIndex
Simple inverted index that maps lowercase tokens to document ids.
SegTreeV2
A segment tree supporting point updates and range queries.
SegmentTree
A segment tree that supports point-update and range-sum queries.
SegmentTreeRange
SelectorMap
A map with a notion of an “active” or selected entry.
SemVer
Semaphore
A single counting semaphore.
SemaphorePool
Pool of named semaphores.
Sentence
A detected sentence with its byte span.
SentenceSplitterConfig
Configuration for sentence splitting.
SeqEntry
Entry in the sequence map.
SequenceMap
Map that preserves insertion order and provides sequence-numbered access.
ServiceDescriptor
Descriptor of a registered service.
ServiceInstance
Metadata describing a service instance.
ServiceLocator
Service locator holding named service descriptors and opaque payloads as JSON strings.
ServiceRegistry
An in-memory service registry.
ServiceRegistryConfig
Configuration for the service registry.
Session
A single session containing key-value pairs.
SessionConfig
Configuration for session management.
SessionStore
The session store.
SetFlagCommand
Set a boolean flag, recording the previous value for undo.
SetParamCommand
Set a numeric parameter, recording the previous value for undo.
SetTrie
Set-Trie: inserts sets of strings and answers subset/superset queries.
Sha256Digest
32-byte SHA-256 digest.
Sha256Hasher
SHA-256 hasher stub (accumulates input, finalizes on demand).
SignalHandler
Registry of named signal handlers.
SignalHandlerEntry
A registered handler entry.
SignedPack
A manifest hash paired with its signature.
SimpleBvh
Simple BVH structure.
SimpleGraph
Simple directed graph.
SimpleMaCalc
Simple Moving Average over a sliding window.
SimpleMessageQueue
SimpleMovingAverage
Simple Moving Average (SMA) over a sliding window.
SimpleOctree3
Better simple octree with point storage for sphere queries.
SinkEventRecord
An event sink that collects events for later processing.
SizeCache
Cache with a byte-size budget that evicts LRU entries.
SizeCacheEntry
An entry in the size cache.
SkipEntry
SkipList
SkipList2
A skip list for ordered (i64 → i64) storage.
SkipListSimple
SkipListV3
Ordered map backed by a skip list (index-arena, no unsafe).
SlabAllocator
A slab allocator with generational keys.
SlabKey
Handle returned by the slab allocator.
SlidingRateLimiter
A sliding window rate limiter.
SlidingRateLimiterConfig
Configuration for the sliding window rate limiter.
SlidingWindow
A fixed-capacity sliding window of f32 samples.
SnappyCompressor
Snappy compressor stub.
SnappyConfig
Configuration for the Snappy compressor.
SnapshotManager
SortCriterion
A single sort criterion.
SortKey
Composite sort key builder.
SortStrategy
SourceMap
Source map holding a list of mappings sorted by generated offset.
SourceMapping
A single source mapping entry.
SpanRecord
A completed span record.
SpanTracker
Tracker that records start/end of named spans and accumulates stats.
SparseArray
SpatialHash2D
A 2D spatial hash grid.
Spec
SplayMap
Splay tree map.
SplayTree
A splay tree (self-adjusting BST).
StateBag
A named collection of typed state values.
StateMachineTransition
A transition definition.
StateMachineV2
A finite state machine with named states and transitions.
StaticVec
A vector-like container with a fixed compile-time capacity N.
StorageBackend
An in-memory storage backend with multiple named buckets.
StoredObject
An object stored in the stub.
StreamParser
A streaming cursor over a byte buffer.
StringHash
Computes a deterministic hash for a string.
StringId
Opaque handle to an interned string.
StringPool
Pool that deduplicates and interns strings.
StringRepo
StringSearcher
String search wrapper using KMP.
StringSet
An ordered set of owned strings.
StrongOwner
A strong owner that keeps the liveness token set.
StructMap
A map of named fields with typed values.
SubTask
A single sub-task entry.
SubTaskSet
A collection of sub-tasks belonging to a parent task.
Subscription
A subscription entry.
SymbolId
An opaque symbol identifier.
SymbolTable
A bidirectional symbol table.
Symlink
A symbolic link record.
SymlinkResolver
Symlink resolver — holds a virtual symlink table.
SyncBarrier
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.
TargetDelta
Raw morph target delta stored as binary data.
TargetEntry
A single entry in the target search index.
TargetIndex
Searchable in-memory index of morph targets.
TargetScanner
Streaming target scanner — walks a directory incrementally and yields entries.
Task
TaskGraph
TaskScheduler
Cron-style task scheduler.
TelemetrySpan
A single trace span.
TempFile
A temp file handle (stub — no actual OS file).
TempFileManager
Temporary file manager.
TextBuffer
A mutable text buffer backed by a String.
TextToken
TextureAsset
A texture asset stored inside an asset pack.
ThreadLocalPool
A reusable-object pool for a single logical context.
ThriftField
A Thrift struct field.
TimeSeriesBuffer
TimeSeriesSample
TimeSource
A deterministic time source (no real clock dependency).
Timestamp
A timestamp in milliseconds.
TimezoneOffset
Token
A single token produced by the lexer.
TokenBucketLimiter
TokenStream
Token stream backed by a Vec.
TomlDocument
A parsed TOML document (flat key-value map stub).
TomlParseError
Parse error for TOML.
TopicMessage
A message on a topic.
TopoMap
A topological map (DAG).
TopoNode
A directed graph node.
TopoResult
TopoSortGraph
TraceBuffer
Trace buffer holding up to capacity events.
TraceContext
W3C-style trace context.
TraceEvent
A single trace event.
TransferJob
A file transfer job.
TransferManager
Transfer manager stub.
Transform3d
TransformPipe
A pipeline of transform stages.
TransformStage
A named transform stage (maps f32 -> f32).
TreapMap
Ordered map backed by a treap.
TreeIndex
Tree index structure.
TreeNode
A node in the tree.
TrendResult
TriGrid
A uniform triangular grid covering a rectangle.
Triangle2D
A triangle defined by three 2D vertices.
TrieMap
A trie map from String keys to values V.
TrieV2
A compressed trie (radix tree).
TsvRecord
A single parsed TSV record (row).
TsvTable
A parsed TSV table with named headers.
TypeAliasMap
A registry of type aliases.
TypeCache
Type cache keyed by type name string.
TypeCacheEntry
A single entry in the type cache.
TypeErased
Type-erased value store.
TypeMetadata
TypeRegistry
UidGen
A UID generator with monotone counter.
UndoCommand
UndoStack
UnifiedHunk
A single hunk parsed from a unified diff.
UnifiedPatch
A parsed unified diff patch.
UnionFind
Union-Find (disjoint set) structure.
UnionFindV2
Union-Find structure.
UpdateItem
An item pending in the update queue.
UpdateQueue
An update queue sorted by priority (lowest = first).
UserAgent
Parsed result of a User-Agent string.
UserPreferences
Uuid
ValueCache
The value cache.
ValueEntry
A cached value entry.
ValueMap
Polymorphic value map.
VarEntry
A variable entry.
VarStore
Variable store.
VersionVector
A vector clock mapping node ID to logical timestamp.
Voronoi2D
A 2D Voronoi diagram.
VoronoiCell2D
A Voronoi cell: seed point + index of nearest seed for queries.
WeakRef
A weak reference that cannot prevent the owner from dropping.
WeightedMovingAverage
Weighted Moving Average (WMA).
WhitespaceStats
Statistics about whitespace issues found in text.
WordBoundaryConfig
Configuration for word boundary detection.
WordSpan
A word span in the source string.
WorkCalendar
Workspace
WorkspaceConfig
WriteEntry
A pending write entry.
WsFrame
A decoded WebSocket frame.
XmlError
XML tokenizer error.
XmlTokenizer
A SAX-style XML tokenizer.
XxHasher
xxHash hasher stub.
YamlDocument
A flat YAML document (key → scalar).
YamlError
A YAML parse error.
ZipperList
A zipper list with a focus on the current element.
ZstdCompressor
Zstd compressor stub.
ZstdConfig
Configuration for the Zstd compressor.

Enums§

AesKeyLen
Key length variants for AES.
AggLogLevel
Log level severity ordering.
AssetPackEntry
A single entry that can be stored in an asset pack.
AvroError
Avro codec error.
AvroType
An Avro primitive type.
AvroValue
An Avro value.
B64sDecodeError
Specific reason a base64 decode failed.
B64sPadding
Controls whether = padding is emitted / required.
B64sVariant
Selects the 64-character alphabet to use.
BackoffStrategy
Strategy for retry backoff.
BagValue
Value type stored in a StateBag.
BarrierState
State of the barrier.
BrowserFamily
Browser family detected from a User-Agent string.
BspNode
A node in the BSP tree.
CborError
CBOR codec error.
CborMajor
Major type codes used in CBOR.
CborValue
A CBOR value.
CfgValue
A typed configuration value.
ChangeKind
CharClass
ChecksumAlgo
Checksum algorithm.
CircuitState
State of the circuit breaker.
ClipboardContent
Types of content that can be stored in the clipboard.
CmdPriority
Priority level for a command.
CommandPriority
Priority levels for queued commands.
CompressAlgo
Compression algorithm selector.
Condition
Condition type for a rule.
ConflictMergeResult
Result of a 3-way merge for one region.
ConsoleSeverity
Severity level for a console entry.
CronField
CtxValue
Supported value types in the context map.
CurveInterpMode
Interpolation mode between keyframes.
DeadlineStatus
Status of a tracked deadline.
DecisionNode
A node in the decision tree.
EditOp
A single edit operation in a diff script.
ErrorSeverity
Severity level of an error entry.
EventKind
Kind of event dispatched on the bus.
EventPriority
Priority level for an event.
FieldVal
A typed field value in a StructMap.
FilterOp
A composable filter pipeline operating on string records.
FlagState
State of a single feature flag.
FlagValue
FlatError
FlatBuffers error.
FsEvent
A file system event type.
GcState
State of a GC object.
GrpcError
gRPC framing error.
HealthStatus
Overall health status.
HighlightKind
A syntax highlighting category.
HighlightLanguage
Supported language modes for highlighting.
HttpError
HTTP parse error.
HttpMethod
An HTTP method.
HuffmanError
Errors that may occur during Huffman operations.
HunkLine
A line in a unified hunk.
IndentStyle
The detected indentation style.
JsonPatchError
Error type for patch operations.
JsonPointerError
Error type for JSON Pointer operations.
JsonSchemaType
Supported JSON schema types.
JwtAlgorithm
Supported JWT algorithms (stub).
LexTokenKind
Categories of lexer tokens.
LineEnding
The desired line-ending style.
LocaleId
LockMode
Lock mode.
LogLevel
LoggerLogLevel
Log severity levels.
MapVal
Supported value types.
MemoryCategory
Categories of memory allocations.
MergeRegion
Outcome of merging a single region.
MetricKind
MiddlewareResult
Result returned by a middleware stage.
MsgError
MessagePack codec error.
MsgPriority
Message priority.
MsgValue
A MessagePack value.
MultipartError
Errors from multipart parsing.
MyersEditOp
One edit operation in a diff.
NotifPriority
Priority level for notifications.
NotificationSeverity
OsFamily
Operating system detected from a User-Agent string.
ParagraphKind
The inferred type of a paragraph.
ParamValue
ParseNode
Minimal PEG-style parser combinator.
ParseResult
The parser result.
PatchError
Error kinds for patch application.
PatchOp
A single JSON Patch operation.
PieceSource
Source of a piece.
PluginKind
PluginState
PolicyKind
Eviction policy kind.
PolicyProfile
PoolResourceState
State of a pooled resource.
PrefValue
ProcCtxVal
Value held in the processing context.
PsStageResult
RecurrenceRule
Recurrence rule for scheduled tasks.
ResolveError
ResourceState
ResultKind
A single result entry.
RetryResult
Result of a retry check.
RingLogLevel
Log level for ring log entries.
SchemaType
SecurityError
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.
SpanStatus
Status of a trace span.
StageStatus
StepState
Simple sequential plan executor with named steps.
SubTaskStatus
Status of a sub-task.
TargetCategory
Categories for morph targets (mirrors MakeHuman directory structure).
TaskPriority
TaskState
TaskStatus
TextureFormat
Supported texture encoding formats.
ThriftError
Thrift codec error.
ThriftType
Thrift type identifiers.
ThriftValue
A Thrift value.
TokenKind
Token category.
TomlValue
A TOML value.
TransferState
Transfer state.
TransformKind
Built-in transform kinds.
TypedConfigVal
A typed configuration value that can hold different data types.
VarintError
Error type for varint operations.
WsError
WebSocket frame error.
WsOpcode
WebSocket opcode.
XmlToken
A single XML token.
YamlScalar
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_build before searching).
ac_build
Build failure links (BFS over the trie).
ac_contains
Return true if any pattern appears in text.
ac_pattern_count
Return the number of patterns.
ac_search
Search text for 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 data using 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. Returns BfResult.
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 n evenly-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 t in [0, 1].
bezier_length
Approximate the arc length of a cubic Bezier using n linear 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 t using de Casteljau’s algorithm. Returns (left, right) sub-curves.
bf_add_edge
Add a directed weighted edge.
bf_distance
Return the shortest distance from src to dst, or None if unreachable.
bf_edge_count
Return number of edges in the graph.
bf_has_negative_cycle
Return true if the graph has a negative cycle reachable from src.
bfs_add_edge
Add a directed edge u -> v.
bfs_add_undirected
Add an undirected edge between u and v.
bfs_distance
Return the hop count from src to dst, or None if unreachable.
bfs_distances
Return the shortest-path distance from src to every reachable node. Unreachable nodes have distance usize::MAX.
bfs_reachable
Return true if dst is reachable from src.
bfs_shortest_path
Return the shortest path from src to dst as a vector of node indices, or None if unreachable.
bilinear_interp
Bilinear interpolation (f32 version).
bip_add_edge
Add an edge from left node u to right node v.
bip_edge_count
Return the number of edges in the bipartite graph.
bipartite_matching
Run augmenting-path bipartite matching. Returns the matching as a Vec of (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 t in [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 true if 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 old lines into new lines.
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. sa is the suffix array (0-indexed positions into s). Returns lcp where lcp[i] = LCP of suffixes at sa[i-1] and sa[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 of sa[i] and sa[i-1]. lcp[0] = 0.
build_line_indexer
Build a LineIndexer from 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 s using a simple O(n log^2 n) algorithm. Returns a vector of starting indices into s, 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 Voronoi2D from 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_segment points each. points must 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 true if 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 u and v.
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 * stride with 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 max consecutive.
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 new but not in old.
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 with true/false become Bool, digits become Int, digits with . become Float, otherwise Str. Returns the number of pairs imported, or None if the profile was not found.
config_is_identical
Returns true if both maps are identical.
config_removed_keys
Keys present in old but not in new.
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 None if 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 false if 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 col in row row (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 a dominates (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 i32 from 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 None if 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 false if 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 None if 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 None if 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 text relative to cfg.
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 root using the given boolean context. Returns the leaf action label, or None if 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 CborValue to 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 i32 in 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 None if not present.
encode_varint
Encode a u64 as a protobuf varint into a byte buffer.
encode_zigzag
Encode a i64 using 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 pending to dispatched. 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 true if 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 executor for 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 true if sink is reachable from src in 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_words words.
filter_large
Filter files larger than min_bytes.
filter_outliers
filter_short_sentences
Filter sentences shorter than min_words words.
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 needle in haystack using 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 u32 from 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->v to the matrix before running Floyd-Warshall.
fw_distance
Return the shortest distance i->j, or None if unreachable.
fw_has_negative_cycle
Return true if any diagonal dist[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 None if 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 vertex v. 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 true if a perfect matching exists (all left nodes matched).
has_prefix
Check if text has prefix.
has_priority
Return true if there is at least one command of the given priority.
has_state
Check if a state exists in the builder.
has_subscribers
Return true if at least one subscriber exists for the given topic.
has_suffix
Check if text has suffix.
has_test_ops
Return true if the patch contains any Test operations.
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 radius from 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 r from origin.
hex_roundtrip_ok
Verify round-trip encode/decode.
hex_strip_prefix
Strip optional 0x prefix 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 HighlightToken per 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 true if the token list represents a well-formed document (stub check).
is_biconnected
Return true if 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 true if the buffer contains a complete gRPC frame.
is_compressible
Returns true if RLE compression achieves a ratio below threshold.
is_control_frame
Return true if 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 true if 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 true if the value is Nil.
is_numeric_token
is_occupied
Whether a slot index is occupied.
is_punctuation
is_queue_empty
Return true if the queue has no commands.
is_request_allowed
Returns true if the circuit allows a request at the given timestamp.
is_required
Return true if 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 true if 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 true if 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 KdTree2D from raw (x, y) pairs.
kd2_nn_dist_sq
Nearest-neighbor distance (squared) for a query.
kd3_build
Build a KdTree3D from raw xyz triples.
kd3_nearest_id
Nearest-neighbor ID for a query (None if empty).
kind_summary
Return paragraph kinds summary.
kmp_contains
Return true if pattern occurs at least once in text.
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 text where pattern occurs.
known_offsets
kruskal_edges_from
Build a list of KruskalEdge from tuples.
kruskal_is_spanning
Return true if the MST spans all n nodes.
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 None if 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 n f32 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 i and j in sa.
lcp_valid
Return true if 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 LexerStream from 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 None on 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 n entries (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_len bytes (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 Error event.
make_export_event
Build an ExportStarted event.
make_param_changed_event
Build a ParamChanged event 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 None if 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 None if 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_size to data. 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 src profile into dst profile. Existing keys in dst are overwritten. Returns false if either profile does not exist.
merkle_combine_hashes
merkle_leaf_count
merkle_root
merkle_verify_leaf
message_is_empty
Return true if 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 MsgValue into 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 n vertices.
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 n nodes.
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 n vertices.
new_bfs_graph
Create a new BFS graph with n nodes.
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_order minimum 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 n vertices.
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 DebugConsole from 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 alpha in (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 n elements.
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 n vertices.
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_buckets buckets.
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 n elements.
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 MemoryTracker with 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 n nodes.
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 n vertices (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 TypeErased store.
new_type_registry
new_uid_gen
Create a new UidGen with the given namespace (0–65535).
new_undo_stack
new_union_find
Create a new UnionFindV2 with n elements (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 text according to cfg.
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 None if 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 true if 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 in dir.
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), n colours 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: n colours of varying lightness around hue.
palette_rainbow
Generate a rainbow palette with n colours 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 n shades 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 None if 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 u in [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 from to to using 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 None if root.
pointer_parent
Return a new pointer that is the parent of ptr, or None if root.
poly_deriv
Evaluate the derivative of the polynomial at x.
poly_eval
Evaluate polynomial with coefficients coeffs (lowest degree first) at x using 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 None if the graph is disconnected.
prim_mst_weight
Return the total weight of the MST, or None if 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 radius of center.
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 SignedPack from a text file written by write_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 keep set. 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 from with to.
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 false if 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 StringId back to its string content. Returns None if 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 base and relative with ‘/’, 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 n within a 64-bit word.
rotate_right
Rotate bits right by n within 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 true if pattern occurs in s.
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 pattern occurs in s.
sa_contains
Check if pattern occurs in text using binary search on the suffix array.
sa_find_all
Find all occurrences of pattern in text using the suffix array.
sa_stub_count_occurrences
Count the number of occurrences of pattern in s using the suffix array.
sa_stub_find_all
Find all positions where pattern occurs in s.
sa_stub_longest_repeated_substring
Find the longest repeated substring in s using the LCP array.
sa_stub_search
Binary search on the suffix array to find one occurrence of pattern in s.
sa_suffix_count
Count the number of distinct suffixes (equals len(sa)).
sample_indices
Sample k indices from 0..n without replacement.
sample_slice
Sample k items from a slice using Algorithm R.
sanitize_path
Validates a path string supplied from untrusted input and returns a safe PathBuf if all checks pass.
sb_clear
sb_get
sb_len
sb_put
sb_remove
sb_set
scan_pack
Scan all files in pack_dir recursively and build a Vec<FileRecord>.
scanner_total_size
Total size of all file entries.
scc_add_edge
Add a directed edge from u to v.
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 true if version a is greater than or equal to version b.
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 false if 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 dir and return a SignedPack.
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 StringId is 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 subject polygon against convex clip polygon using Sutherland-Hodgman. Returns the clipped polygon.
switch_profile
Switch the active profile to name. Returns false if 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 true if 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_id and 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_size bytes.
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 from to to.
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 None if 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 size bytes under category.
track_free
Record a free of size bytes under category. 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 a then b.
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 text to at most max_clusters grapheme 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 col in row row (0-indexed), or None.
tsv_row_count
Return the number of data rows (excluding the header).
tsv_to_string
Serialize a TsvTable back 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 x with 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 true if 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 old and new.
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 bytes does not exceed max_mb megabytes.
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_dir contains oxihuman_assets.toml and that it is a valid AssetManifest.
verify_pack
Verify all files in pack_dir against the expected records.
verify_pack_signature
Verify a SignedPack against the current state of dir using key.
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 a happens-before b (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 width grapheme 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 SignedPack to 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 true if pattern occurs in text.
z_count
Return the count of occurrences of pattern in text.
z_function
Compute the Z-array for string s. z[i] = length of the longest substring starting at s[i] that is also a prefix of s. 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 text where pattern starts.
z_valid
Return true if the Z-array for s is consistent (all z[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.
PendingEvents
Type alias for the pending events list.
PmapVersion
A version of the persistent map.
PvecVersion
A version snapshot of the persistent vector.
StateMachineGuardFn
A guard function: returns true if the transition is allowed.
SubscriberId
Type alias for a subscriber handler id.