Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/celld
/ functions
Functions
2,867 in github.com/denoland/celld
⨍
Functions
2,867
◇
Types & classes
485
↓ 2 callers
Method
ltx_files
( &self, level: i32, seek: TXID, _use_metadata: bool, )
crates/ltx/src/client/file.rs:40
↓ 2 callers
Method
mac
(&self, request: &CanonicalRequest<'_>)
crates/celld/peer_auth.rs:238
↓ 2 callers
Function
machine_hostname
()
crates/celld/control_plane.rs:2748
↓ 2 callers
Function
make
(format, decompress)
crates/celld/js/compression_streams.js:24
↓ 2 callers
Function
makeStub
(idPromise, evictable)
crates/celld/js/harness.js:1339
↓ 2 callers
Function
make_incoming_request
Like `make_request`, but marks the request as incoming. Its signal is registered only if the handler actually suspends, preserving the synchronous req
crates/celld/js.rs:7637
↓ 2 callers
Function
make_request
( tc: &mut v8::PinScope<'s, '_>, url: &str, method: &str, body: &[u8], headers: &[(String,
crates/celld/js.rs:7698
↓ 2 callers
Method
marshal
Encodes the header to 100 bytes (ltx.go:283-299).
crates/ltx/src/ltx.rs:178
↓ 2 callers
Function
matchValues
(input, baseURL)
crates/celld/js/url_pattern.js:30
↓ 2 callers
Method
max_ltx_file_info
Metadata about the last LTX file for a given level (highest `max_txid`), or a zero `FileInfo` if none exist. Ported from `Replica.MaxLTXFileInfo` (rep
crates/ltx/src/replica.rs:299
↓ 2 callers
Function
mutate
Mutates `seed_bytes` in place with one randomly-chosen strategy and returns the result. Strategies are weighted toward "structurally almost valid" mut
crates/ltx/tests/fuzz_parsers.rs:239
↓ 2 callers
Function
needFinish
(state)
crates/celld/js/node_stream.js:3916
↓ 2 callers
Function
next
()
crates/celld/js/node_stream.js:2374
↓ 2 callers
Method
next
()
crates/celld/js/harness.js:610
↓ 2 callers
Method
next_byte
(&mut self)
crates/ltx/tests/fuzz_parsers.rs:82
↓ 2 callers
Method
next_u64
(&mut self)
crates/ltx/tests/fuzz_parsers.rs:74
↓ 2 callers
Method
no_checksum
True if checksum tracking is disabled for this file.
crates/ltx/src/ltx.rs:148
↓ 2 callers
Method
node
(&self)
crates/celld/runtime.rs:222
↓ 2 callers
Function
node_config
Node-level object-store config (no per-cell prefix). `build_store` on this yields the one shared client; per-cell clients set only `path`.
crates/celld/ltx_repl.rs:490
↓ 2 callers
Method
node_lease_read
( &mut self, op: OpId, now_ms: u64, result: Result<Option<NodeLeaseRecord>, Fa
crates/logic/lib.rs:2893
↓ 2 callers
Function
node_record_is_dead
A listed node record is GC-eligible only when its identity still matches its object key and its wall-clock lease is no longer live.
crates/logic/dead_node_reconciliation.rs:38
↓ 2 callers
Function
normalizeEncoding
(enc)
crates/celld/js/node_stream.js:78
↓ 2 callers
Function
normalizeString
(path, allowAboveRoot, separator, isPathSeparator2)
crates/celld/js/node_path.js:50
↓ 2 callers
Function
normalized_control_url
(value: &str)
crates/celld/control_plane.rs:2709
↓ 2 callers
Function
now_ms
()
crates/celld/peer_auth.rs:335
↓ 2 callers
Function
now_unix_millis
Current time as Unix milliseconds (the LTX header timestamp).
crates/ltx/src/db.rs:1362
↓ 2 callers
Method
offset
Returns the file offset of the last frame read, or `0` if no frame has been read yet. Ported from `Offset` in litestream@v0.5.11 wal_reader.go:82-87.
crates/ltx/src/wal.rs:341
↓ 2 callers
Function
once
(callback)
crates/celld/js/node_stream.js:92
↓ 2 callers
Function
op_do_call_impl
( scope: &mut v8::PinScope, args: v8::FunctionCallbackArguments, rv: &mut v8::ReturnValue<v8::Valu
crates/celld/js.rs:3514
↓ 2 callers
Function
op_svc_call_impl
( scope: &mut v8::PinScope, args: v8::FunctionCallbackArguments, rv: &mut v8::ReturnValue<v8::Valu
crates/celld/js.rs:3046
↓ 2 callers
Function
open
( bucket: &str, endpoint: Option<&str>, region: &str, managed: Option<&crate::control_plane::M
crates/celld/fleet.rs:43
↓ 2 callers
Function
open_enrollment_lock
(config: &Path)
crates/celld/control_plane.rs:2654
↓ 2 callers
Method
open_ltx_file
( &self, level: i32, min_txid: TXID, max_txid: TXID, offset: i64,
crates/ltx/src/client/file.rs:83
↓ 2 callers
Function
open_writer
Opens an application writer connection in WAL mode (the analog of the host's own SQLite handle writing alongside the managed `Db`).
crates/ltx/tests/integration_file.rs:100
↓ 2 callers
Function
open_writer
Opens an application writer connection in WAL mode — the host's own SQLite handle writing alongside the managed `Db`, exactly as a library embedder do
crates/ltx/tests/differential_xtool.rs:145
↓ 2 callers
Function
options_from_env
()
crates/celld/control_plane.rs:2446
↓ 2 callers
Method
owner_cas_completed
( &mut self, op: OpId, result: Result<CasOutcome, Failure>, effects: &mut Vec<
crates/logic/lib.rs:3091
↓ 2 callers
Method
owner_read
( &mut self, op: OpId, now_ms: u64, result: Result<Option<OwnerRecord>, Failur
crates/logic/lib.rs:2762
↓ 2 callers
Function
parse_advertise
Parse `--advertise`, accepting `IP:PORT` or `HOST:PORT`.
crates/celld/startup.rs:235
↓ 2 callers
Function
parse_page_index
Parses the varint page index (decoder.go:309-346): tuples of `(pgno, offset, size)` terminated by a `pgno == 0` marker.
crates/ltx/src/ltx.rs:604
↓ 2 callers
Function
parse_request_id
(value: &str)
crates/celld/js.rs:276
↓ 2 callers
Function
parse_scheme
Extracts and lowercases the URL scheme (matching Go `net/url`, which lowercases schemes). Returns `("", s)` when there is no valid leading `scheme:` (
crates/ltx/src/replica_url.rs:108
↓ 2 callers
Function
parse_txid
Parses a TXID from its canonical 16-character lowercase hex representation. Returns an error if the string is not exactly 16 hex characters or contai
crates/ltx/src/lib.rs:167
↓ 2 callers
Function
pause
()
crates/celld/js/node_stream.js:2893
↓ 2 callers
Function
pbkdf2Check
(password, salt, iterations, keylen, digest)
crates/celld/js/node_crypto.js:781
↓ 2 callers
Function
pending_aborts
()
crates/celld/js.rs:915
↓ 2 callers
Function
pending_arm_gates
()
crates/celld/js.rs:173
↓ 2 callers
Function
phase_holds_activation
(phase: &Phase)
crates/logic/lib.rs:4072
↓ 2 callers
Method
ping
(&self)
crates/ltx/src/leaser.rs:705
↓ 2 callers
Function
poll_and_apply
( client: &reqwest::Client, config: &CloudConfig, bucket: &Bucket, )
crates/celld/control_plane.rs:1636
↓ 2 callers
Method
pos
The current replicated position. Ported from `Replica.Pos` (replica.go:237-241).
crates/ltx/src/replica.rs:156
↓ 2 callers
Function
prepareAsymmetricKey
(key, ctx)
crates/celld/js/node_crypto.js:621
↓ 2 callers
Function
prependListener
(emitter, event, fn)
crates/celld/js/node_stream.js:1965
↓ 2 callers
Function
probe_payload
(node: &str, advertise: &str, challenge: &str)
crates/celld/peer_probe.rs:192
↓ 2 callers
Function
processGeneratePrimeOptions
(options)
crates/celld/js/node_crypto.js:1130
↓ 2 callers
Function
project_relative_path
(value: &str, key: &str)
crates/celld/deploy.rs:834
↓ 2 callers
Function
prune_remote_aborts
(aborts: &mut HashMap<js::RequestId, Instant>)
crates/celld/runtime.rs:26
↓ 2 callers
Method
published
(&mut self, op: OpId, result: Result<(), Failure>, effects: &mut Vec<Effect>)
crates/logic/lib.rs:3259
↓ 2 callers
Method
published_epoch
(&self, cell: &str)
crates/celld/runtime.rs:781
↓ 2 callers
Function
pump
()
crates/celld/js/node_stream.js:1260
↓ 2 callers
Function
put_many_serialized
(scope: &str, entries: &[(String, Vec<u8>)])
crates/celld/storage.rs:1463
↓ 2 callers
Function
put_serialized
(scope: &str, key: &str, value: &[u8])
crates/celld/storage.rs:1412
↓ 2 callers
Method
put_with_meta
Plain write carrying `x-amz-meta-*` user metadata.
crates/celld/bucket.rs:180
↓ 2 callers
Function
randomPrime
(size, safe, addBuf, remBuf)
crates/celld/js/node_crypto.js:1074
↓ 2 callers
Function
random_peer_key
()
crates/celld/main.rs:5124
↓ 2 callers
Method
read_frame_inner
Frame-read core shared by [`Self::read_frame`] and the offset constructor. When `verify_checksum` is `false`, the running checksum is *set* from the
crates/ltx/src/wal.rs:427
↓ 2 callers
Method
read_lease
Reads the current lock object. Returns `Ok(None)` when the object is absent (the Go `os.ErrNotExist` path, s3/leaser.go:210-212); otherwise the decode
crates/ltx/src/leaser.rs:355
↓ 2 callers
Function
read_node
(bucket: &Bucket, key: &str)
crates/celld/dead_node_gc.rs:324
↓ 2 callers
Method
read_node_lease_with
( &self, bucket: &Bucket, owner: &str, )
crates/celld/ownership_store.rs:190
↓ 2 callers
Function
read_response
( scope: &mut v8::PinScope, ret: v8::Local<v8::Value>, cell_rx: Option<&std::sync::mpsc::Receiver<
crates/celld/js.rs:7717
↓ 2 callers
Function
read_wal_page
Reads one page's worth of bytes from an in-memory WAL buffer at the frame `offset` (the offset is the start of the *frame header*; the page data follo
crates/ltx/src/db.rs:1298
↓ 2 callers
Method
ready_to_serve
Whether the process can accept new traffic. An idle lazy node is ready even though it intentionally holds no authority: a DO request first acquires th
crates/logic/lib.rs:1123
↓ 2 callers
Method
rebalances
Does an eviction made for room hand the cell away?
crates/logic/lib.rs:3420
↓ 2 callers
Method
record_acquisition
(&mut self, spec: &RestoreSpec)
crates/logic/lib.rs:1531
↓ 2 callers
Function
recycle_sql_statement
(scope: &str, query: &str, statement: *mut rusqlite::ffi::sqlite3_stmt)
crates/celld/storage.rs:802
↓ 2 callers
Function
register_actor_name
( scope: &mut v8::PinScope, actor_scope: &str, name: Option<&str>, )
crates/celld/js.rs:4135
↓ 2 callers
Function
register_incoming_request
( tc: &mut v8::PinScope, request_id: RequestId, request: v8::Local<v8::Value>, )
crates/celld/js.rs:7664
↓ 2 callers
Method
releaseLock
()
crates/celld/js/streams.js:156
↓ 2 callers
Method
reload_after_process_exit
(&mut self)
crates/celld/js.rs:2317
↓ 2 callers
Method
request_authorized
(&mut self, request: RequestId, id: CellId, effects: &mut Vec<Effect>)
crates/logic/lib.rs:2567
↓ 2 callers
Method
request_with_mode
( &self, cell: String, capacity_handoff: bool, )
crates/celld/main.rs:530
↓ 2 callers
Method
residents
(&self)
crates/logic/lib.rs:1198
↓ 2 callers
Function
resolved_promise
( tc: &mut v8::PinScope<'s, '_>, value: v8::Local<'s, v8::Value>, )
crates/celld/js.rs:1237
↓ 2 callers
Method
response
( &self, encoded_path: &str, query: Option<&str>, host: Option<&str>,
crates/celld/assets.rs:180
↓ 2 callers
Function
restart_process
(trigger: &'static str)
crates/celld/control_plane.rs:41
↓ 2 callers
Method
restore
( &self, cell: &str, spec: &celld_logic::RestoreSpec, )
crates/celld/runtime.rs:126
↓ 2 callers
Function
restore_candidate_better
True if `next` is a strictly better restore candidate than `curr`: longer reach first (`MaxTXID`), then a smaller `MinTXID` (more coverage), then a hi
crates/ltx/src/replica.rs:665
↓ 2 callers
Method
restore_completed
( &mut self, op: OpId, result: Result<RestoreOutcome, Failure>, effects: &mut
crates/logic/lib.rs:3162
↓ 2 callers
Function
resume
(stream, state)
crates/celld/js/node_stream.js:3071
↓ 2 callers
Method
resume_node_lease_after_failure
( &mut self, prior: HeldNodeLease, now_mono_ms: u64, effects: &mut Vec<Effect>
crates/logic/lib.rs:1866
↓ 2 callers
Function
retry_credential_handoff_ack
(path: PathBuf, config: CloudConfig)
crates/celld/control_plane.rs:2495
↓ 2 callers
Function
rollback
Rolls back the connection's current transaction, swallowing the "already rolled back" / "no transaction is active" errors (issue #934). Ported from `r
crates/ltx/src/db.rs:1248
↓ 2 callers
Function
rpc_data_ret
The inverse: `__dispatchRpc` answers in the flavor it was asked in.
crates/celld/js.rs:1640
↓ 2 callers
Function
rpc_data_value
An `RpcData` payload as the JS argument `__dispatchRpc` expects: a string for the JSON flavor, a `Uint8Array` for structured clone.
crates/celld/js.rs:1632
↓ 2 callers
Function
run_bootstrap_script
(scope: &mut v8::PinScope, name: &'static str, src: &str)
crates/celld/js.rs:6575
↓ 2 callers
Function
run_client_suite
Generic conformance suite every `ReplicaClient` backend must pass: empty state, write, listing order, seek filtering, full + partial reads, not-found,
crates/ltx/src/client/mod.rs:100
↓ 2 callers
Method
runtime_started
( &mut self, op: OpId, result: Result<(), Failure>, effects: &mut Vec<Effect>,
crates/logic/lib.rs:3224
↓ 2 callers
Function
rustyriver_replicate
Drives rustyriver's write path over `workload()`: opens a managed `Db`, an app writer, applies each statement-group, then captures (`db.sync`) and upl
crates/ltx/tests/differential_xtool.rs:179
↓ 2 callers
Function
s3_client_with_credentials
( bucket: &str, endpoint: Option<&str>, region: &str, managed: Option<&crate::control_plane::M
crates/celld/fleet.rs:34
↓ 2 callers
Method
salt
(&self)
crates/ltx/src/wal.rs:333
← previous
next →
701–800 of 2,867, ranked by callers