MCPcopy Create free account

hub / github.com/awslabs/llrt / functions

Functions3,649 in github.com/awslabs/llrt

↓ 9 callersFunctionsc_makeVector
META ((export make-vector make-array))
benchmarks/v8-v7/earley-boyer.js:1432
↓ 9 callersMethodsign
* Using the method and parameters given by `algorithm` and the keying material provided by `key`, * `subtle.sign()` attempts to generate a cryp
types/crypto.d.ts:743
↓ 9 callersFunctionupon_promise_fulfilment
( ctx: Ctx<'js>, promise: Promise<'js>, then: impl FnOnce(Ctx<'js>, Input) -> Result<Output> + 'js
modules/llrt_stream_web/src/utils/promise.rs:141
↓ 9 callersMethodwritable_stream_close_queued_or_in_flight
(&self)
modules/llrt_stream_web/src/writable/stream/mod.rs:577
↓ 8 callersMethodaes_decrypt
( &self, _mode: AesMode, _key: &[u8], _iv: &[u8], _data: &[u8],
modules/llrt_crypto/src/provider/ring.rs:302
↓ 8 callersMethodaes_encrypt
( &self, _mode: AesMode, _key: &[u8], _iv: &[u8], _data: &[u8],
modules/llrt_crypto/src/provider/ring.rs:291
↓ 8 callersFunctionassertTypes
( value: unknown, name: string, types: string[] )
llrt_core/src/modules/js/@llrt/expect/jest-expect.ts:626
↓ 8 callersMethodbasename
* Return the last portion of a path. Similar to the Unix basename command. * Often used to extract the file name from a fully qualified path.
types/path.d.ts:109
↓ 8 callersMethodbuild
(self)
llrt_modules/src/module_builder.rs:222
↓ 8 callersMethodbytes
(&self, ctx: Ctx<'js>)
modules/llrt_buffer/src/blob.rs:117
↓ 8 callersMethodcwd
* The `process.cwd()` method returns the current working directory of the llrt * process. * * ```js * import { cwd } from 'process
types/process.d.ts:55
↓ 8 callersMethodelapsed
({ started, ended, }: { started: number; ended: number; })
llrt_core/src/modules/js/@llrt/test/index.ts:766
↓ 8 callersMethodhost
(&self)
modules/llrt_url/src/url_class.rs:82
↓ 8 callersMethodinto_js
(self, ctx: &Ctx<'js>)
llrt_core/src/runtime_client.rs:136
↓ 8 callersMethodisEncoding
* Returns `true` if `encoding` is the name of a supported character encoding, * or `false` otherwise. * * ```js * import { Buffer
types/buffer.d.ts:213
↓ 8 callersFunctionis_sep
(c: u8)
modules/llrt_path/src/lib.rs:143
↓ 8 callersMethodmime_type
(&self)
modules/llrt_buffer/src/blob.rs:103
↓ 8 callersFunctionnbv
(i)
benchmarks/v8-v7/crypto.js:204
↓ 8 callersMethodnormalize
* Normalize a string path, reducing '..' and '.' parts. * When multiple slashes are found, they're replaced by a single one; when the path cont
types/path.d.ts:66
↓ 8 callersFunctionparse
(ctx: Ctx, path_str: String)
modules/llrt_path/src/lib.rs:290
↓ 8 callersFunctionpromise_rejected_with
( primordials: &PromisePrimordials<'js>, value: Value<'js>, )
modules/llrt_stream_web/src/utils/promise.rs:13
↓ 8 callersFunctionsleep
(millis: number)
tests/unit/events.test.ts:8
↓ 8 callersMethodsort
(&mut self)
modules/llrt_url/src/url_search_params.rs:226
↓ 8 callersFunctionto_abs_path
(path: Cow<'_, str>)
llrt_modules/src/package/resolver.rs:246
↓ 8 callersMethodto_string
(&self)
modules/llrt_url/src/url_search_params.rs:248
↓ 8 callersFunctionwrite
(chunk: any)
llrt_core/src/modules/js/stream.ts:66
↓ 7 callersFunctionbuild_formatted_string
( result: &mut String, ctx: &Ctx<'js>, args: Rest<Value<'js>>, options: &mut FormatOptions<'js
libs/llrt_logging/src/lib.rs:201
↓ 7 callersFunctioncalculateRelativeDepth
(from: string, to: string)
tests/unit/path.test.ts:30
↓ 7 callersMethodcheck_validity
(&self, usage: &str)
modules/llrt_crypto/src/subtle/crypto_key.rs:117
↓ 7 callersMethodclear_reader
(self)
modules/llrt_stream_web/src/readable/objects.rs:267
↓ 7 callersFunctionclone
()
libs/llrt_utils/src/clone.rs:423
↓ 7 callersMethoddestroy
* Called after the resource corresponding to asyncId is destroyed * @param asyncId a unique ID for the async resource
types/async_hooks.d.ts:153
↓ 7 callersFunctiondigest
(hash_algorithm: &HashAlgorithm, data: &[u8])
modules/llrt_crypto/src/subtle/digest.rs:54
↓ 7 callersMethodexit
* The `process.exit()` method instructs llrt to terminate the process * synchronously with an exit status of `code`. If `code` is omitted, exit u
types/process.d.ts:185
↓ 7 callersMethodfile
(&self, ctx: &Ctx<'_>)
modules/llrt_fs/src/file_handle.rs:43
↓ 7 callersMethodfirst
()
shims/mnemonist/lru-cache.js:30
↓ 7 callersFunctionformat_number
Format a number with optional zero-padding
modules/llrt_intl/src/pattern_formatter.rs:225
↓ 7 callersFunctionget_message_digest
(alg: HashAlgorithm)
modules/llrt_crypto/src/provider/openssl.rs:74
↓ 7 callersMethodinto_inner
(self)
modules/llrt_stream_web/src/writable/objects.rs:35
↓ 7 callersFunctionis_http_header_name
(name: &str)
modules/llrt_fetch/src/headers.rs:659
↓ 7 callersFunctionjoin
(parts: Rest<String>)
modules/llrt_path/src/lib.rs:323
↓ 7 callersMethodkill
* The `process.kill()` method sends the `signal` to the process identified by `pid`. * * Signal names are strings such as 'SIGINT' or 'SIGHU
types/process.d.ts:223
↓ 7 callersFunctionlogInfo
Log Info
llrt/src/main.c:71
↓ 7 callersFunctionpush_indentation
(result: &mut String, depth: usize)
libs/llrt_logging/src/lib.rs:781
↓ 7 callersFunctionread
()
tests/e2e/s3.e2e.test.ts:26
↓ 7 callersMethodreadable_stream_default_controller_can_close_or_enqueue
( &self, stream: &ReadableStream<'js>, )
modules/llrt_stream_web/src/readable/default_controller.rs:390
↓ 7 callersMethodredirect
(&self)
modules/llrt_fetch/src/request.rs:360
↓ 7 callersFunctionrmdir
(ctx: Ctx<'js>, path: String, options: Opt<Object<'js>>)
modules/llrt_fs/src/rm.rs:8
↓ 7 callersMethodrun
(&self, source: S, strict: bool, global: bool)
llrt_core/src/vm.rs:159
↓ 7 callersFunctionsc_reverseAppendBang
(l1, l2)
benchmarks/v8-v7/earley-boyer.js:935
↓ 7 callersMethodset_reader
( self, reader: RNext::Class, )
modules/llrt_stream_web/src/readable/objects.rs:73
↓ 7 callersFunctionspawnCapture
( cmd: string, args: string[] = [], options?: { env?: Record<string, string> } )
tests/unit/test-utils.ts:3
↓ 7 callersFunctionstart
(controller)
tests/unit/fetch.test.ts:298
↓ 7 callersMethodtake_body_sync
Synchronously takes the body (marking bodyUsed) and returns either ready bytes or a ReadableStream to be consumed asynchronously.
modules/llrt_fetch/src/request.rs:561
↓ 7 callersMethodtoJSON
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
types/perf_hooks.d.ts:20
↓ 7 callersMethodtotal
(&self, ctx: Ctx<'_>, options: Value<'_>)
modules/llrt_temporal/src/duration.rs:92
↓ 7 callersFunctiontransfer_array_buffer
(buffer: ArrayBuffer<'_>)
modules/llrt_stream_web/src/readable/byte_controller.rs:2072
↓ 7 callersMethodupdate
(data: any)
tests/unit/crypto.test.ts:245
↓ 7 callersFunctionupon_promise
https://webidl.spec.whatwg.org/#dfn-perform-steps-once-promise-is-settled
modules/llrt_stream_web/src/utils/promise.rs:105
↓ 7 callersMethodwith_module
(mut self, name: N, module: M)
llrt_modules/src/module/loader.rs:39
↓ 7 callersFunctionwrite_log
(mut output: T, ctx: &Ctx<'js>, args: Rest<Value<'js>>)
modules/llrt_console/src/lib.rs:102
↓ 7 callersFunctionwrite_log
( mut output: T, ctx: &Ctx<'js>, args: Rest<Value<'js>>, level: LogLevel, )
llrt_core/src/modules/console.rs:129
↓ 7 callersMethodyear
(&self)
modules/llrt_temporal/src/plain_date.rs:172
↓ 6 callersMethodabort
(reason?: any)
types/stream/web.d.ts:287
↓ 6 callersMethodblob
(&self, ctx: Ctx<'js>)
modules/llrt_fetch/src/request.rs:453
↓ 6 callersMethodbody
(&self, ctx: Ctx<'js>)
modules/llrt_fetch/src/response.rs:301
↓ 6 callersMethodbuild
(ctx: Ctx<'js>, url: Url)
modules/llrt_url/src/url_class.rs:294
↓ 6 callersFunctionbuild_format_parts
Build format parts from a Zoned datetime in pure Rust
modules/llrt_intl/src/date_time_format.rs:92
↓ 6 callersMethodbyteLength
* Returns the byte length of a string when encoded using `encoding`. * This is not the same as [`String.prototype.length`](https://developer.mozi
types/buffer.d.ts:103
↓ 6 callersMethodcall
( &self, ctx: Ctx<'js>, controller: WritableStreamDefaultControllerClass<'js>, )
modules/llrt_stream_web/src/writable/default_controller.rs:720
↓ 6 callersFunctionclass_from_owned_borrow_mut
( borrow: OwnedBorrowMut<'js, T>, )
modules/llrt_stream_web/src/utils/mod.rs:51
↓ 6 callersMethodconnect
( this: This<Class<'js, Self>>, ctx: Ctx<'js>, args: Rest<Value<'js>>, )
modules/llrt_net/src/socket.rs:190
↓ 6 callersFunctionconvert_trailing_space
Encode trailing space as `%20` in opaque paths before a setter runs. Used by [`URLSearchParams`] which mutates the shared [`Url`] directly.
modules/llrt_url/src/lib.rs:125
↓ 6 callersMethodday
(&self)
modules/llrt_temporal/src/plain_date.rs:142
↓ 6 callersMethodderiveKey
* Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`, * `subtle.deriveKey()` attempts to g
types/crypto.d.ts:587
↓ 6 callersFunctiondnsLookupAsync
( hostname: string, options?: number | dns.LookupOptions )
tests/unit/dns.test.ts:13
↓ 6 callersMethodencode_to_string
(&self, bytes: &[u8], lossy: bool)
libs/llrt_encoding/src/lib.rs:74
↓ 6 callersFunctionends_with_sep
(path: &str)
modules/llrt_path/src/lib.rs:593
↓ 6 callersMethodequals
(&self, other: Self)
modules/llrt_temporal/src/instant.rs:76
↓ 6 callersFunctionformat_date_in_timezone
Format a date in the specified timezone using locale options. This is used to implement Date.prototype.toLocaleString with timezone support.
modules/llrt_intl/src/date_time_format.rs:421
↓ 6 callersMethodget_event_list
(&self)
modules/llrt_events/src/lib.rs:116
↓ 6 callersFunctioninit
(ctx: &Ctx<'_>)
modules/llrt_url/src/lib.rs:295
↓ 6 callersMethodinto_js
(self, ctx: &Ctx<'js>)
modules/llrt_stream_web/src/readable/reader.rs:369
↓ 6 callersMethodisBuffer
* Returns `true` if `obj` is a `Buffer`, `false` otherwise. * * ```js * import { Buffer } from 'buffer'; * * Buffer.isBuffer(
types/buffer.d.ts:191
↓ 6 callersFunctionis_absolute
(path: &str)
modules/llrt_path/src/lib.rs:603
↓ 6 callersMethodis_writable_stream_locked
(&self)
modules/llrt_stream_web/src/writable/stream/mod.rs:252
↓ 6 callersMethoditer
(&self)
modules/llrt_fetch/src/form_data.rs:187
↓ 6 callersMethodlen
(&self)
libs/llrt_utils/src/bytearray_buffer.rs:38
↓ 6 callersFunctionloadShim
(filter, filename)
build.mjs:628
↓ 6 callersFunctionmark_consumed
Validate reason-phrase per RFC 9110: HTAB / SP / VCHAR / obs-text (no CR/LF). Mark a Response's body as consumed (unless it has a null body, in which
modules/llrt_fetch/src/response.rs:83
↓ 6 callersMethodmethod
(&self)
modules/llrt_fetch/src/request.rs:261
↓ 6 callersMethodminute
(&self)
modules/llrt_temporal/src/plain_time.rs:140
↓ 6 callersMethodmonth
(&self)
modules/llrt_temporal/src/plain_date.rs:167
↓ 6 callersMethodport
(&self)
modules/llrt_url/src/url_class.rs:169
↓ 6 callersMethodpush_byte
(&mut self, byte: u8)
libs/llrt_logging/src/lib.rs:105
↓ 6 callersFunctionrandom_byte_array
(length: usize)
modules/llrt_crypto/src/lib.rs:82
↓ 6 callersMethodreadUInt8
* Reads an unsigned 8-bit integer from `buf` at the specified `offset`. * * This function is also available under the `readUint8` alias.
types/buffer.d.ts:628
↓ 6 callersMethodreadable_byte_stream_controller_shift_pending_pull_into
( &mut self, )
modules/llrt_stream_web/src/readable/byte_controller.rs:789
↓ 6 callersFunctionresolve_body_taken
( ctx: &Ctx<'js>, body: Option<BodyTaken<'js>>, )
modules/llrt_fetch/src/request.rs:631
↓ 6 callersFunctionresolve_path
(parts: I)
modules/llrt_path/src/lib.rs:353
← previousnext →201–300 of 3,649, ranked by callers