Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/llrt
/ functions
Functions
3,649 in github.com/awslabs/llrt
⨍
Functions
3,649
◇
Types & classes
668
↓ 838 callers
Method
clone
(&self, ctx: Ctx<'js>)
modules/llrt_fetch/src/response.rs:533
↓ 603 callers
Method
set
(&mut self, ctx: Ctx<'js>, key: String, value: Value<'js>)
modules/llrt_fetch/src/headers.rs:190
↓ 404 callers
Method
push
(self, value: &mut String)
libs/llrt_logging/src/lib.rs:66
↓ 376 callers
Method
clone
(&self)
modules/llrt_stream_web/src/readable/stream/algorithms.rs:173
↓ 358 callers
Method
from
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
types/buffer.d.ts:152
↓ 323 callers
Method
to_string
(&self)
modules/llrt_net/src/lib.rs:44
↓ 319 callers
Function
from
( ctx: Ctx<'js>, value: Value<'js>, offset_or_encoding: Opt<Value<'js>>, length: Opt<usize>, )
modules/llrt_buffer/src/buffer.rs:248
↓ 281 callers
Method
toString
* Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `bu
types/buffer.d.ts:387
↓ 261 callers
Method
clone
(&self)
modules/llrt_stream_web/src/readable/objects.rs:50
↓ 221 callers
Method
or_throw
(self, ctx: &Ctx)
libs/llrt_utils/src/result.rs:61
↓ 204 callers
Method
get
(&self, ctx: Ctx<'js>, key: String)
modules/llrt_fetch/src/headers.rs:143
↓ 187 callers
Method
len
(&self)
modules/llrt_buffer/src/array_buffer_view.rs:133
↓ 157 callers
Method
as_bytes
Borrow the underlying bytes directly. Returns `&[]` if the ArrayBuffer has been detached (shouldn't happen in normal blob flow).
modules/llrt_buffer/src/blob.rs:217
↓ 152 callers
Method
trace
* Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-arg
types/console.d.ts:148
↓ 134 callers
Method
concat
* Returns a new `Buffer` which is the result of concatenating all the `Buffer` instances in the `list` together. * * If the list has no item
types/buffer.d.ts:148
↓ 124 callers
Method
join
* Join all arguments together and normalize the resulting path. * * @param paths paths to join. * @throws {TypeError} if any of t
types/path.d.ts:73
↓ 116 callers
Method
len
(&self)
libs/llrt_utils/src/reuse_list.rs:102
↓ 114 callers
Method
write
* Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `b
types/buffer.d.ts:345
↓ 113 callers
Method
clone
(&self)
modules/llrt_stream_web/src/writable/objects.rs:25
↓ 105 callers
Method
as_object
(&self, ctx: &Ctx<'js>, name: T)
modules/llrt_crypto/src/subtle/key_algorithm.rs:866
↓ 105 callers
Method
is_empty
(&self)
modules/llrt_buffer/src/array_buffer_view.rs:138
↓ 104 callers
Function
computeInputVariants
(str, n)
benchmarks/v8-v7/regexp.js:61
↓ 102 callers
Method
get
(target: unknown, prop: any, receiver: any)
llrt_core/src/modules/js/@llrt/test/Color.ts:95
↓ 92 callers
Method
alloc
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the `Buffer` will be zero-filled. * * ```js * import { Buffer } f
types/buffer.d.ts:253
↓ 89 callers
Method
call
(&self, ctx: Ctx<'js>, chunk: Value<'js>)
modules/llrt_stream_web/src/queuing_strategy/mod.rs:90
↓ 84 callers
Method
as_str
(&self)
modules/llrt_crypto/src/hash.rs:54
↓ 84 callers
Function
test_async_with
(func: F)
libs/llrt_test/src/lib.rs:53
↓ 79 callers
Method
into_value
(self, ctx: &Ctx<'js>)
libs/llrt_utils/src/error.rs:10
↓ 74 callers
Method
ok
(&self)
modules/llrt_fetch/src/response.rs:291
↓ 71 callers
Method
read
(size?: number)
types/stream.d.ts:349
↓ 68 callers
Method
or_throw_msg
(self, ctx: &Ctx, msg: &str)
libs/llrt_utils/src/result.rs:27
↓ 67 callers
Method
on
( this: This<Object<'js>>, ctx: Ctx<'js>, event: Value<'js>, listener: Functio
modules/llrt_events/src/lib.rs:295
↓ 66 callers
Method
iter
(&self)
libs/llrt_utils/src/reuse_list.rs:106
↓ 64 callers
Method
or_throw_range
(self, ctx: &Ctx, msg: &str)
libs/llrt_utils/src/result.rs:37
↓ 62 callers
Function
get
(key)
fixtures/test1492/lib/shared/store.js:9
↓ 61 callers
Method
next
(&mut self, ctx: Ctx<'js>)
modules/llrt_url/src/url_search_params.rs:434
↓ 58 callers
Method
format
* Returns a path string from an object - the opposite of parse(). * * @param pathObject path to evaluate.
types/path.d.ts:137
↓ 55 callers
Method
now
* Returns the current high resolution millisecond timestamp, where 0 represents the start of the current `node` process. * @since v8.5.0
types/perf_hooks.d.ts:12
↓ 54 callers
Method
iter
(&self)
modules/llrt_fetch/src/headers.rs:317
↓ 53 callers
Method
parse
* Returns an object from a path string - the opposite of format(). * * @param path path to evaluate. * @throws {TypeError} if `pa
types/path.d.ts:131
↓ 50 callers
Method
as_str
(&self)
modules/llrt_fetch/src/request.rs:46
↓ 50 callers
Method
of
( ctx: Ctx<'js>, name: String, child_text: Opt<String>, with_name: Opt<String>
llrt_core/src/modules/llrt/xml.rs:437
↓ 49 callers
Method
add
(&self, ctx: Ctx<'_>, duration: Value<'_>)
modules/llrt_temporal/src/instant.rs:69
↓ 49 callers
Method
text
(&self)
modules/llrt_buffer/src/blob.rs:107
↓ 44 callers
Method
clone
(&self)
modules/llrt_stream_web/src/readable/default_controller.rs:26
↓ 43 callers
Method
close
()
types/stream/web.d.ts:288
↓ 43 callers
Method
slice
( &self, ctx: Ctx<'js>, start: Opt<isize>, end: Opt<isize>, content_ty
modules/llrt_buffer/src/blob.rs:123
↓ 42 callers
Method
log
* Prints to `stdout` with newline. Multiple arguments can be passed, with the * first used as the primary message and all additional used
types/console.d.ts:127
↓ 41 callers
Method
as_bytes
(&self, ctx: &Ctx<'js>)
libs/llrt_utils/src/bytes.rs:340
↓ 41 callers
Method
decrypt
* Using the method and parameters specified in `algorithm` and the keying material provided by `key`, * `subtle.decrypt()` attempts to decipher
types/crypto.d.ts:535
↓ 41 callers
Method
encrypt
* Using the method and parameters specified by `algorithm` and the keying material provided by `key`, * `subtle.encrypt()` attempts to encipher
types/crypto.d.ts:632
↓ 41 callers
Method
get
(&self, index: usize)
libs/llrt_utils/src/reuse_list.rs:82
↓ 41 callers
Method
to_string
(&self)
libs/llrt_logging/src/lib.rs:113
↓ 40 callers
Method
send
( this: This<Class<'js, Self>>, ctx: Ctx<'js>, msg: Value<'js>, port: u16,
modules/llrt_dgram/src/socket.rs:365
↓ 39 callers
Method
to_string
(&self)
llrt_core/src/modules/llrt/xml.rs:401
↓ 38 callers
Function
normalizeSeparator
(string: string)
tests/unit/path.test.ts:25
↓ 36 callers
Method
append
(&mut self, ctx: Ctx<'js>, key: String, value: Value<'js>)
modules/llrt_fetch/src/headers.rs:73
↓ 36 callers
Method
with
(&self, ctx: Ctx<'_>, info: Value<'_>)
modules/llrt_temporal/src/duration.rs:105
↓ 35 callers
Method
refresh_reader
( mut self, )
modules/llrt_stream_web/src/readable/objects.rs:303
↓ 34 callers
Method
get_required
( &self, k: K, object_name: &'static str, )
libs/llrt_utils/src/object.rs:31
↓ 34 callers
Method
into_bytes
(self, ctx: &Ctx<'_>)
libs/llrt_utils/src/bytes.rs:372
↓ 34 callers
Function
nbi
()
benchmarks/v8-v7/crypto.js:65
↓ 33 callers
Method
clear
* When `stdout` is a TTY, calling `console.clear()` will attempt to clear the * TTY. When `stdout` is not a TTY, this method does nothing
types/console.d.ts:82
↓ 33 callers
Method
resolve
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}. * * Starting from leftmost {from} par
types/path.d.ts:87
↓ 33 callers
Method
set
(&mut self, key: Coerced<String>, value: Coerced<String>)
modules/llrt_url/src/url_search_params.rs:188
↓ 32 callers
Method
call
(&mut self, name: Name)
libs/llrt_dns_cache/src/lib.rs:68
↓ 32 callers
Method
decode
(&self, bytes: T)
libs/llrt_encoding/src/lib.rs:93
↓ 32 callers
Method
get_optional
( &self, k: K, )
libs/llrt_utils/src/object.rs:24
↓ 32 callers
Method
load
( &mut self, ctx: &rquickjs::Ctx<'js>, name: &str, _attributes: Option<rquickj
llrt_core/src/compiler_common.rs:8
↓ 32 callers
Function
test_sync_with
(func: F)
libs/llrt_test/src/lib.rs:91
↓ 31 callers
Function
get_locale_data
Get locale data for a given locale string. Falls back to en-US for unknown locales.
modules/llrt_intl/src/cldr_data.rs:57
↓ 31 callers
Method
is_empty
is empty
libs/llrt_utils/src/reuse_list.rs:27
↓ 31 callers
Function
require
(ctx: Ctx<'_>, specifier: String)
llrt_modules/src/module/require.rs:18
↓ 30 callers
Method
get
(ctx: &'a Ctx<'js>)
libs/llrt_utils/src/primordials.rs:50
↓ 29 callers
Method
clone
(&self, ctx: Ctx<'js>)
modules/llrt_fetch/src/request.rs:493
↓ 29 callers
Method
end
()
types/stream.d.ts:362
↓ 28 callers
Function
algorithm_mismatch_error
(ctx: &Ctx<'_>, expected_algorithm: &str)
modules/llrt_crypto/src/subtle/mod.rs:163
↓ 28 callers
Function
export_default
(ctx: &Ctx<'js>, exports: &Exports<'js>, f: F)
libs/llrt_utils/src/module.rs:13
↓ 28 callers
Method
json
(&self, ctx: Ctx<'js>)
modules/llrt_fetch/src/request.rs:408
↓ 28 callers
Function
spawn
( ctx: Ctx<'js>, cmd: String, args_and_opts: Rest<Value<'js>>, )
modules/llrt_child_process/src/lib.rs:367
↓ 26 callers
Method
into_js
(self, ctx: &Ctx<'js>)
modules/llrt_dns/src/lookup.rs:114
↓ 25 callers
Method
call
( &self, ctx: Ctx<'js>, controller: ReadableStreamControllerClass<'js>, )
modules/llrt_stream_web/src/readable/stream/algorithms.rs:30
↓ 25 callers
Method
remove
(&mut self, index: usize)
libs/llrt_utils/src/reuse_list.rs:63
↓ 25 callers
Function
resolve
(path: Rest<String>)
modules/llrt_path/src/lib.rs:567
↓ 25 callers
Method
round
(&self, ctx: Ctx<'_>, options: Value<'_>)
modules/llrt_temporal/src/instant.rs:80
↓ 25 callers
Method
with_module
(mut self, module: I)
llrt_modules/src/module_builder.rs:206
↓ 24 callers
Function
def
( name: string | string[], fn: (this: Chai.AssertionStatic & Assertion, ...args: any[]) => any )
llrt_core/src/modules/js/@llrt/expect/jest-expect.ts:53
↓ 24 callers
Method
encode
(&self, bytes: &[u8])
libs/llrt_encoding/src/lib.rs:85
↓ 24 callers
Method
or_throw_type
(self, ctx: &Ctx, msg: &str)
libs/llrt_utils/src/result.rs:49
↓ 23 callers
Method
append
(&mut self, item: T)
libs/llrt_utils/src/reuse_list.rs:42
↓ 23 callers
Method
compare
(instant1: Self, instant2: Self)
modules/llrt_temporal/src/instant.rs:33
↓ 23 callers
Method
entries
( this: This<Class<'js, Headers>>, ctx: Ctx<'js>, )
modules/llrt_fetch/src/headers.rs:287
↓ 23 callers
Function
provider
()
modules/llrt_crypto/src/provider/mod.rs:841
↓ 23 callers
Method
resolve_undefined
(&self)
modules/llrt_stream_web/src/utils/promise.rs:208
↓ 23 callers
Method
truncate
(&mut self, ctx: Ctx<'_>, len: Opt<u64>)
modules/llrt_fs/src/file_handle.rs:251
↓ 22 callers
Method
digest
* Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`. * If successful, the returned promise
types/crypto.d.ts:616
↓ 22 callers
Function
promise_rejected_with_constructor
( constructor: &Constructor<'js>, promise_primordials: &PromisePrimordials<'js>, msg: &str, )
modules/llrt_stream_web/src/utils/promise.rs:29
↓ 22 callers
Function
runSuite
(metaUrl, harness, skipFiles = [])
tests/wpt/_harness-util.js:129
↓ 22 callers
Method
subtract
(&self, ctx: Ctx<'_>, duration: Value<'_>)
modules/llrt_temporal/src/instant.rs:91
↓ 22 callers
Function
testEnd
( encoding: BufferEncoding, incomplete: Uint8Array, next: Uint8Array, expected: string )
tests/unit/string_decoder.test.ts:209
next →
1–100 of 3,649, ranked by callers