MCPcopy Create free account

hub / github.com/denoland/celld / functions

Functions2,867 in github.com/denoland/celld

↓ 3 callersFunctioninspect
(v)
crates/celld/js/node_stream.js:107
↓ 3 callersMethodinvalidate_remote
(&self, cell: String, node: String, epoch: u64)
crates/celld/main.rs:690
↓ 3 callersMethodisEncoding
(enc)
crates/celld/js/node_buffer.js:242
↓ 3 callersFunctionisObj
(v)
crates/celld/js/node_assert.js:8
↓ 3 callersFunctionisReadableFinished
(stream, strict)
crates/celld/js/node_stream.js:729
↓ 3 callersMethodis_snapshot
True if this header begins a complete database snapshot (MinTXID == 1).
crates/ltx/src/ltx.rs:143
↓ 3 callersFunctionkeep_newest
The keep-newest invariant shared by every retention path: if the last file marked for deletion is the newest file overall, un-mark it so at least one
crates/ltx/src/store.rs:30
↓ 3 callersMethodkeys
()
crates/celld/js/harness.js:3882
↓ 3 callersMethodlastIndexOf
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:473
↓ 3 callersFunctionlazyWebStreams
()
crates/celld/js/node_stream.js:3405
↓ 3 callersMethodlazy_node_lease_spec
(&self)
crates/logic/lib.rs:2504
↓ 3 callersFunctionlitestream_replicate
Drives the REAL binary's write path over `workload()`: seeds WAL mode, then for each statement-group writes via plain `sqlite3` and runs `litestream r
crates/ltx/tests/differential_xtool.rs:212
↓ 3 callersFunctionlitestream_restore
Runs the real `litestream restore -o <out> <file-url>` for a replica tree.
crates/ltx/tests/differential_xtool.rs:247
↓ 3 callersMethodlock_key
Builds the lock-object key: `lock.json` when `path` is empty, else `<path>/lock.json`. Ported byte-for-byte from `lockKey` (s3/leaser.go:83-88).
crates/ltx/src/leaser.rs:341
↓ 3 callersMethodltx_key
Build the S3 key for an LTX file: `{path}/{level:04x}/{min}-{max}.ltx`. Ported from s3/replica_client.go:629, 677, 1040-1042.
crates/ltx/src/client/object_store.rs:521
↓ 3 callersFunctionmake_client
(path: String)
crates/ltx/tests/integration_minio.rs:90
↓ 3 callersFunctionmap_os_error
Map an `object_store::Error` to `crate::Error`, preserving NotFound as `io::ErrorKind::NotFound` so callers keep working with the std error kind. Mirr
crates/ltx/src/client/object_store.rs:542
↓ 3 callersMethodmatches
(&self, host: Option<&str>, path: &str)
crates/celld/assets.rs:603
↓ 3 callersFunctionmaybeReadMore
(stream, state)
crates/celld/js/node_stream.js:2812
↓ 3 callersFunctionminio_reachable
`true` if a TCP connection to the MinIO endpoint succeeds within a short timeout. Used to decide skip-vs-run without blocking.
crates/ltx/tests/integration_minio.rs:65
↓ 3 callersFunctionnext_do_request_id
()
crates/celld/js.rs:262
↓ 3 callersFunctionop_handle
()
crates/celld/asyncrt.rs:81
↓ 3 callersMethodopen
`app` labels this client's traffic in the User-Agent (the aws AppName format, `app/<name>`), keeping e.g. the lease safety lane observable in black-bo
crates/celld/bucket.rs:62
↓ 3 callersMethodopen_ltx_file
( &self, l: i32, mn: TXID, mx: TXID, o: i64,
crates/ltx/src/replica.rs:1199
↓ 3 callersFunctionopen_writer
Opens an application writer connection in WAL mode (the host's own handle).
crates/ltx/tests/integration_resilience.rs:68
↓ 3 callersMethodpage_map
Reads all committed frames to end-of-file and returns a map of page number → byte offset of the latest committed version of that page, the max offset
crates/ltx/src/wal.rs:496
↓ 3 callersFunctionparse_filename
Parses a `<min>-<max>.ltx` filename (ltx.go:450-459).
crates/ltx/src/ltx.rs:332
↓ 3 callersFunctionparse_host
Parse an S3 host into `(bucket, region, endpoint, force_path_style)`. Direct port of `ParseHost` (s3/replica_client.go:1608-1652): MinIO-style `bucke
crates/ltx/src/client/object_store.rs:327
↓ 3 callersFunctionpath_clean
Lexically cleans a slash-separated path. A faithful port of `Clean` in the Go standard library `path` package (`go/src/path/path.go`, `func Clean`).
crates/ltx/src/lib.rs:382
↓ 3 callersFunctionpath_join
Joins any number of path elements into a single slash-separated path, cleaning the result. A faithful port of `Join` in the Go standard library `path
crates/ltx/src/lib.rs:481
↓ 3 callersMethodport
()
crates/celld/js/url.js:153
↓ 3 callersFunctionqueue_serialized_puts
(scope: &mut v8::PinScope, cell: String, entries: Vec<(String, Vec<u8>)>)
crates/celld/js.rs:5453
↓ 3 callersFunctionrandomFillSync
(buffer, offset, size)
crates/celld/js/node_crypto.js:881
↓ 3 callersMethodread
()
crates/celld/js/streams.js:122
↓ 3 callersMethodread_at
Reads `n` bytes at absolute `offset`, returning `None` (the `io.EOF` case) when fewer than `n` bytes are available — exactly the behavior of Go's `io.
crates/ltx/src/wal.rs:353
↓ 3 callersMethodread_header
Reads and validates the WAL header into `self`. Ported from `readHeader` in litestream@v0.5.11 wal_reader.go:90-129.
crates/ltx/src/wal.rs:368
↓ 3 callersFunctionreduceToSingleString
(ctx, output, base, braces, extrasType, recurseTimes, value)
crates/celld/js/node_util.js:2889
↓ 3 callersFunctionregular_ws_counts
()
crates/celld/js.rs:700
↓ 3 callersMethodrelease_or_fence_node_lease
(&mut self, held: HeldNodeLease, effects: &mut Vec<Effect>)
crates/logic/lib.rs:1882
↓ 3 callersMethodrelease_read_lock
Rolls back the long-running read transaction. Ported from `releaseReadLock` (db.go:979-992). Uses the `rollback` helper semantics: a "no transaction
crates/ltx/src/db.rs:366
↓ 3 callersFunctionrequest_payload
( request: Request<Incoming>, )
crates/celld/main.rs:2551
↓ 3 callersFunctionresetBuffer
(state)
crates/celld/js/node_stream.js:3520
↓ 3 callersMethodrestore
Restores the database from this replica's client into `output_path`. Convenience wrapper over [`restore`] using this replica's client and the most-re
crates/ltx/src/replica.rs:316
↓ 3 callersMethodrpc
( &self, cell: String, name: Option<String>, method: String, args: js:
crates/celld/runtime.rs:854
↓ 3 callersFunctionrun_litestream
Runs `litestream <args...>`, asserting success and surfacing stderr on failure.
crates/ltx/tests/differential_xtool.rs:232
↓ 3 callersFunctionrun_loop_then
Drive a promise and apply `on_fulfilled` as soon as it settles. The callback may return a composite waitUntil promise after publishing its response. T
crates/celld/js.rs:961
↓ 3 callersFunctionruntime_response
(worker_response: celld::js::HttpResponse)
crates/celld/main.rs:1980
↓ 3 callersMethodschedule_alarm_timer
( &self, cell: &str, generation: u64, at_ms: i64, now_ms: u64,
crates/logic/lib.rs:2245
↓ 3 callersMethodseed_pos
Seed the replicated position from the caller's known-durable state and mark it known, so the next sync skips the `calc_pos` listing. A fresh cell seed
crates/ltx/src/replica.rs:172
↓ 3 callersMethodshed_candidate
The cell to shed right now: resident, idle, not holding an alarm the node still owes, and the least recently used of those. Demand shedding and pressu
crates/logic/lib.rs:3500
↓ 3 callersMethodsource
(&self)
crates/ltx/src/error.rs:106
↓ 3 callersFunctionstored_value
(value: rusqlite::types::ValueRef<'_>)
crates/celld/storage.rs:497
↓ 3 callersFunctiontoInput
(v)
crates/celld/js/url_pattern.js:19
↓ 3 callersMethodttl
Returns the remaining time until expiry, or `None` once expired. Ported from `Lease.TTL` (leaser.go:42-44): `time.Until(ExpiresAt)`. Go returns a *ne
crates/ltx/src/leaser.rs:252
↓ 3 callersFunctionu64_be
(b: &[u8])
crates/ltx/src/ltx.rs:712
↓ 3 callersFunctionunique_path
A unique path prefix per test run so concurrent / repeated runs don't collide and the suite always starts from a clean slate (it `delete_all`s first).
crates/ltx/tests/integration_minio.rs:82
↓ 3 callersFunctionunix_now_ms
()
crates/celld/js.rs:1512
↓ 3 callersFunctionunpipe
()
crates/celld/js/node_stream.js:2944
↓ 3 callersFunctionurl_err
(msg: impl Into<String>)
crates/ltx/src/replica_url.rs:13
↓ 3 callersMethodvalidate
The head_bucket replacement: prove the bucket is reachable and the credential is accepted with one list page.
crates/celld/bucket.rs:284
↓ 3 callersFunctionvalidateFunction
(value, name)
crates/celld/js/node_events.js:50
↓ 3 callersFunctionvalidateOneOf
(value, name, oneOf)
crates/celld/js/node_crypto.js:204
↓ 3 callersFunctionvalidateSignal
(signal, name)
crates/celld/js/node_events.js:54
↓ 3 callersFunctionvalidateString
(value, name)
crates/celld/js/node_util.js:472
↓ 3 callersFunctionvalidate_bucket
(bucket: &Bucket)
crates/celld/fleet.rs:58
↓ 3 callersFunctionvalidate_identity
(value: &str)
crates/celld/peer_auth.rs:325
↓ 3 callersMethodwal_file_size
Size of the WAL file in bytes, 0 if absent. Ported from `walFileSize` (db.go:1183-1191).
crates/ltx/src/db.rs:397
↓ 3 callersMethodwebsocket_opened
( &self, cell: String, websocket: u64, kind: WebSocketKind, )
crates/celld/main.rs:651
↓ 3 callersFunctionwith_batch_savepoint
( connection: &Connection, callback: impl FnOnce(&Connection) -> anyhow::Result<T>, )
crates/celld/storage.rs:417
↓ 3 callersFunctionwrap_stored
( scope: &mut v8::PinScope<'s, '_>, sentinel: v8::Local<v8::Value>, value: v8::Local<v8::Value>, )
crates/celld/js.rs:5986
↓ 3 callersFunctionwrite_position
The cell's committed-write position: SQLite's total completed row changes on this connection, monotonic for the life of the activation. The output gat
crates/celld/storage.rs:484
↓ 3 callersFunctionws_pull
()
crates/celld/js.rs:595
↓ 2 callersFunctionArrayPrototypeIncludes
(self2, el)
crates/celld/js/node_stream.js:246
↓ 2 callersFunctionArrayPrototypeJoin
(self2, sep)
crates/celld/js/node_stream.js:252
↓ 2 callersFunctionArrayPrototypeSlice
(self2, start, end)
crates/celld/js/node_stream.js:264
↓ 2 callersFunctionFunctionPrototypeSymbolHasInstance
(self2, instance)
crates/celld/js/node_stream.js:271
↓ 2 callersFunctionObjectDefineProperty
(self2, name, prop)
crates/celld/js/node_stream.js:284
↓ 2 callersFunctionPromisePrototypeThen
(self2, thenFn, catchFn)
crates/celld/js/node_stream.js:300
↓ 2 callersFunctionTypedArrayPrototypeSet
(self2, buf, len)
crates/celld/js/node_stream.js:328
↓ 2 callersFunction__abortSignal
(signal, reason)
crates/celld/js/harness.js:1133
↓ 2 callersFunction__actorBreak
(scope, reason)
crates/celld/js/harness.js:1668
↓ 2 callersFunction__adoptBody
(target, bytes)
crates/celld/js/harness.js:1953
↓ 2 callersFunction__attachResponseRequestCancellation
( response, requestController, wrapBody, )
crates/celld/js/harness.js:2814
↓ 2 callersFunction__awaitCancellableDoCall
(operation, signal)
crates/celld/js/harness.js:1191
↓ 2 callersFunction__bufSearch
(buf, value, byteOffset, encoding, last)
crates/celld/js/node_buffer.js:506
↓ 2 callersFunction__checkNum
(name, value, min, max)
crates/celld/js/node_buffer.js:46
↓ 2 callersFunction__chunkBytes
(chunk)
crates/celld/js/harness.js:14
↓ 2 callersFunction__ctxAbort
(id, reason)
crates/celld/js/harness.js:1613
↓ 2 callersFunction__ctxEnd
(id)
crates/celld/js/harness.js:1607
↓ 2 callersFunction__ctxExports
()
crates/celld/js/harness.js:2542
↓ 2 callersFunction__ctxRegister
(meta)
crates/celld/js/harness.js:1593
↓ 2 callersFunction__drainBody
(target)
crates/celld/js/harness.js:71
↓ 2 callersFunction__entrypointInstance
(name)
crates/celld/js/harness.js:2998
↓ 2 callersFunction__entrypointOp
(name, path, argsSc, local, makeInst)
crates/celld/js/harness.js:3092
↓ 2 callersFunction__entrypointSession
(name, local, script, makeInst)
crates/celld/js/harness.js:2291
↓ 2 callersFunction__entrypointStub
(name, props)
crates/celld/js/harness.js:2387
↓ 2 callersFunction__formDataValue
(value, filename)
crates/celld/js/harness.js:3819
↓ 2 callersFunction__iterableBody
(body)
crates/celld/js/harness.js:29
↓ 2 callersFunction__liftStream
(v)
crates/celld/js/harness.js:1775
↓ 2 callersFunction__makeStub
(entry, callable)
crates/celld/js/harness.js:2358
← previousnext →401–500 of 2,867, ranked by callers