MCPcopy Create free account

hub / github.com/awslabs/llrt / functions

Functions3,649 in github.com/awslabs/llrt

↓ 21 callersMethodassert
* `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only
types/console.d.ts:72
↓ 21 callersMethoderror
* Prints to `stderr` with newline. Multiple arguments can be passed, with the * first used as the primary message and all additional used
types/console.d.ts:106
↓ 21 callersMethodreject
(&self, value: impl IntoArg<'js>)
modules/llrt_stream_web/src/utils/promise.rs:215
↓ 21 callersMethodwith_global
(mut self, init: fn(&Ctx<'_>) -> Result<()>)
llrt_modules/src/module_builder.rs:217
↓ 20 callersMethodinto_inner
(self)
modules/llrt_temporal/src/duration.rs:207
↓ 20 callersMethodinto_js
(self, ctx: &Ctx<'js>)
modules/llrt_fetch/src/form_data.rs:24
↓ 20 callersFunctionmake_dt
(year: i16, month: i8, day: i8, hour: i8, min: i8, sec: i8)
modules/llrt_intl/src/pattern_formatter.rs:274
↓ 20 callersFunctionpromise_resolved_with
( ctx: &Ctx<'js>, primordials: &PromisePrimordials<'js>, value: Result<Value<'js>>, )
modules/llrt_stream_web/src/utils/promise.rs:38
↓ 19 callersMethodenqueue
(chunk: ArrayBufferView)
types/stream/web.d.ts:263
↓ 19 callersMethodgenerateKey
* Using the method and parameters provided in `algorithm`, * `subtle.generateKey()` attempts to generate new keying material. * Dependin
types/crypto.d.ts:682
↓ 19 callersMethodmask
(self)
modules/llrt_crypto/src/subtle/key_algorithm.rs:136
↓ 19 callersMethodsubarray
* Returns a new `Buffer` that references the same memory as the original, but * offset and cropped by the `start` and `end` indices. *
types/buffer.d.ts:504
↓ 18 callersMethodabs
(&self)
modules/llrt_temporal/src/duration.rs:50
↓ 18 callersMethodcreate
( ctx: &Ctx<'js>, headers: Class<'js, Headers>, kind: HeadersIterKind, )
modules/llrt_fetch/src/headers.rs:568
↓ 18 callersFunctioninit
(ctx: &Ctx)
modules/llrt_stream_web/src/lib.rs:134
↓ 18 callersFunctionsc_cons
META ((export #t) (peephole (hole 2 "new sc_Pair(" car ", " cdr ")")))
benchmarks/v8-v7/earley-boyer.js:583
↓ 18 callersFunctionsc_list
META ((export #t))
benchmarks/v8-v7/earley-boyer.js:833
↓ 18 callersFunctiontestDecode
( encoding: BufferEncoding, input: Buffer, expected: string, singleSequence?: Array<Array<numb
tests/unit/string_decoder.test.ts:17
↓ 18 callersFunctionthrowIfError
(e: unknown)
tests/e2e/dynamodb.e2e.test.ts:43
↓ 17 callersFunctionbytes_to_b64_url_safe_string
(bytes: &[u8])
libs/llrt_encoding/src/lib.rs:173
↓ 17 callersMethodfinish
Finish decompression and return any remaining data
libs/llrt_compression/src/streaming.rs:78
↓ 17 callersMethodget
(&mut self, ctx: Ctx<'js>, key: String)
modules/llrt_url/src/url_search_params.rs:148
↓ 17 callersMethodgetReader
(options: { mode: "byob" })
types/stream/web.d.ts:181
↓ 17 callersMethodhas
(&self, ctx: Ctx<'js>, key: String)
modules/llrt_fetch/src/headers.rs:181
↓ 17 callersMethodinto_js
(self, ctx: &Ctx<'js>)
modules/llrt_buffer/src/buffer.rs:41
↓ 17 callersFunctionok
(ctx: Ctx, value: Value, message: Opt<Value>)
modules/llrt_assert/src/lib.rs:10
↓ 17 callersMethodsince
(&self, other: Self)
modules/llrt_temporal/src/instant.rs:87
↓ 17 callersFunctionwaitAndExpectSequentialNumbers
(tracked, delayMs)
tests/unit/asynchronous-processing-discipline.test.ts:3
↓ 16 callersMethodany
(ctx: Ctx<'js>, signals: Array<'js>)
modules/llrt_abort/src/abort_signal.rs:94
↓ 16 callersMethodapply
(target: unknown, thisArg: any, args: string[])
llrt_core/src/modules/js/@llrt/test/Color.ts:98
↓ 16 callersFunctionexit
(ctx: Ctx<'_>, code: Value<'_>)
modules/llrt_process/src/lib.rs:85
↓ 16 callersFunctionformat_with_pattern
Format a Zoned datetime using a CLDR pattern string
modules/llrt_intl/src/pattern_formatter.rs:14
↓ 16 callersMethodto_string
(&self)
modules/llrt_url/src/url_class.rs:266
↓ 15 callersMethodas_number
(&self)
modules/llrt_stream_web/src/queuing_strategy/mod.rs:115
↓ 15 callersFunctiondirname
(path: P)
modules/llrt_path/src/lib.rs:73
↓ 15 callersMethodemit
( this: This<Object<'js>>, ctx: Ctx<'js>, event: Value<'js>, args: Rest<Value<
modules/llrt_events/src/lib.rs:452
↓ 15 callersMethodget_array_buffer
(&self)
modules/llrt_stream_web/src/readable/byob_reader.rs:467
↓ 15 callersMethodinto_inner
(self)
modules/llrt_stream_web/src/readable/objects.rs:241
↓ 15 callersMethodinto_js
(self, ctx: &Ctx<'js>)
libs/llrt_utils/src/bytes.rs:262
↓ 15 callersMethoditer_mut
(&mut self)
libs/llrt_utils/src/reuse_list.rs:110
↓ 15 callersFunctionjson_stringify
(ctx: &Ctx<'js>, value: Value<'js>)
libs/llrt_json/src/stringify.rs:31
↓ 15 callersMethodkeys
( this: This<Class<'js, Headers>>, ctx: Ctx<'js>, )
modules/llrt_fetch/src/headers.rs:273
↓ 15 callersFunctionread
()
llrt_core/src/modules/js/stream.ts:57
↓ 15 callersMethodto_string
(&self, ctx: &Ctx<'js>, encoding: &str)
modules/llrt_buffer/src/buffer.rs:52
↓ 14 callersFunctionaddRoute
(lambda: aws_lambda.Function, routePath: string)
example/infrastructure/src/index.ts:92
↓ 14 callersFunctionbytes_from_b64_url_safe
(bytes: &[u8])
libs/llrt_encoding/src/lib.rs:177
↓ 14 callersMethodfinalize
(self)
modules/llrt_crypto/src/provider/ring.rs:38
↓ 14 callersFunctiongiven_file
(content: &str, options: &mut OpenOptions)
modules/llrt_fs/src/file_handle.rs:495
↓ 14 callersMethodinto_value
(self, ctx: &Ctx<'js>)
llrt_core/src/modules/llrt/xml.rs:72
↓ 14 callersMethodspawn_exit
(&self, future: F)
libs/llrt_context/src/lib.rs:29
↓ 13 callersFunctionget_lossy_string
Convert a JS string to a `String`, replacing lone UTF-16 surrogates with U+FFFD per WHATWG USVString. Use when ill-formed strings must not fail. SAFE
libs/llrt_utils/src/bytes.rs:19
↓ 13 callersMethodis_dir
@deprecated Use `is_directory` instead
modules/llrt_fs/src/stats.rs:254
↓ 13 callersFunctionjson_parse
(ctx: &Ctx<'js>, json: T)
libs/llrt_json/src/parse.rs:13
↓ 13 callersMethodsendMessage
( type: T, ...message: MessagePayload<T> extends Record<string, never> ? [] : [MessagePayl
llrt_core/src/modules/js/@llrt/test/worker.ts:266
↓ 13 callersMethodverify
* Using the method and parameters given in `algorithm` and the keying material provided by `key`, * `subtle.verify()` attempts to verify that `
types/crypto.d.ts:814
↓ 12 callersMethodaddress
(&self)
libs/llrt_test_tls/src/lib.rs:57
↓ 12 callersFunctionbasename
(path: String, suffix: Opt<String>)
modules/llrt_path/src/lib.rs:227
↓ 12 callersMethodcolorizer
( color: number, options: Options = {}, option?: keyof Options )
llrt_core/src/modules/js/@llrt/test/Color.ts:73
↓ 12 callersFunctionconsume_same
Consume consecutive identical characters, returning count of additional chars
modules/llrt_intl/src/pattern_formatter.rs:155
↓ 12 callersFunctioni64_to_base_n
(number: i64, radix: u8)
libs/llrt_numbers/src/lib.rs:56
↓ 12 callersFunctioninit
(ctx: &Ctx)
modules/llrt_fetch/src/lib.rs:35
↓ 12 callersMethodis_readable_stream_locked
(&self)
modules/llrt_stream_web/src/readable/stream/mod.rs:667
↓ 12 callersFunctionrun_test_return_string
( ctx: &Ctx<'_>, name: &str, is_function: bool, expected_assertion: impl Fn(St
modules/llrt_os/src/lib.rs:190
↓ 12 callersFunctionsc_string2jsstring
META ((export #t) (peephole (id)))
benchmarks/v8-v7/earley-boyer.js:3186
↓ 12 callersMethodto_string
(&self)
modules/llrt_temporal/src/instant.rs:106
↓ 12 callersMethodupdate
(&mut self, data: &[u8])
modules/llrt_crypto/src/provider/ring.rs:28
↓ 12 callersMethodwith_reader
( mut self, default: impl FnOnce( ReadableStreamDefaultReaderObjects<'js, C>,
modules/llrt_stream_web/src/readable/objects.rs:189
↓ 11 callersFunctionalgorithm_not_supported_error
(ctx: &Ctx<'_>)
modules/llrt_crypto/src/subtle/mod.rs:170
↓ 11 callersFunctioncall_load_hooks
( ctx: &Ctx<'js>, hooks: &Rc<Vec<Hook<'js>>>, url: &str, )
llrt_modules/src/module/loader.rs:105
↓ 11 callersMethoddelete
(&mut self, ctx: Ctx<'js>, key: String)
modules/llrt_fetch/src/headers.rs:250
↓ 11 callersFunctionequals
( a: unknown, b: unknown, customTesters?: Array<any>, strictCheck?: boolean )
llrt_core/src/modules/js/@llrt/expect/jest-utils.ts:33
↓ 11 callersFunctioneval_async
(ctx: &rquickjs::Ctx<'js>, js: &str)
modules/llrt_stream_web/src/transform/tests.rs:4
↓ 11 callersMethodexportKey
* Exports the given key into the specified format, if supported. * * If the `<CryptoKey>` is not extractable, the returned promise will
types/crypto.d.ts:655
↓ 11 callersFunctionfrom_rsa
( ctx: &Ctx<'js>, mode: KeyAlgorithmMode<'_, 'js>, obj: std::result::Result<Object<'js>, &str>,
modules/llrt_crypto/src/subtle/key_algorithm.rs:538
↓ 11 callersFunctioninvoke_async_hook
( ctx: &Ctx<'_>, type_: PromiseHookType, async_type: &str, object: usize, parent: Option<u
modules/llrt_async_hooks/src/lib.rs:230
↓ 11 callersFunctionisA
(typeName: string, value: unknown)
llrt_core/src/modules/js/@llrt/expect/jest-utils.ts:212
↓ 11 callersMethodlisten
TODO add backlog support
modules/llrt_net/src/server.rs:132
↓ 11 callersMethodnext
(&mut self)
libs/llrt_dns_cache/src/lib.rs:27
↓ 11 callersFunctionparseBigInt
(str, r)
benchmarks/v8-v7/crypto.js:1744
↓ 11 callersFunctionrelative
(from: F, to: T)
modules/llrt_path/src/lib.rs:382
↓ 11 callersFunctionset_bnd
(b, x)
benchmarks/v8-v7/navier-stokes.js:86
↓ 11 callersMethodstatus
(&self)
modules/llrt_fetch/src/response.rs:281
↓ 11 callersMethodunwrap_or_undefined
(self, ctx: &Ctx<'js>)
modules/llrt_stream_web/src/utils/mod.rs:46
↓ 10 callersFunctionaccess
(ctx: Ctx<'_>, path: String, mode: Opt<u32>)
modules/llrt_fs/src/access.rs:12
↓ 10 callersMethodbefore_mutation
(&mut self)
modules/llrt_url/src/url_class.rs:303
↓ 10 callersFunctionencoder
(r: R, level: i32)
libs/llrt_compression/src/lib.rs:13
↓ 10 callersFunctionextname
(path: String)
modules/llrt_path/src/lib.rs:252
↓ 10 callersMethodflush
(&mut self, ctx: &Ctx<'_>)
modules/llrt_string_decoder/src/string_decoder.rs:194
↓ 10 callersMethodhour
(&self)
modules/llrt_temporal/src/plain_time.rs:125
↓ 10 callersMethodis_file
(&self)
modules/llrt_fs/src/stats.rs:249
↓ 10 callersFunctionmkdtemp
(ctx: Ctx<'_>, prefix: String)
modules/llrt_fs/src/mkdir.rs:67
↓ 10 callersFunctionreset
()
benchmarks/v8-v7/navier-stokes.js:371
↓ 10 callersFunctionsc_isEqual
META ((export #t) (type bool))
benchmarks/v8-v7/earley-boyer.js:3231
↓ 10 callersMethodset_is_handled
(&self)
modules/llrt_stream_web/src/utils/promise.rs:234
↓ 10 callersMethodsize
(&self)
modules/llrt_fs/src/stats.rs:130
↓ 10 callersMethodsubscribe
(&self)
libs/llrt_utils/src/mc_oneshot.rs:52
↓ 9 callersMethodemit_error
(self, id: &'static str, ctx: &Ctx<'js>, this: Class<'js, C>)
modules/llrt_events/src/lib.rs:145
↓ 9 callersFunctionimport
( ctx: &Ctx<'js>, mode: KeyAlgorithmMode<'_, 'js>, algorithm_name: &str, )
modules/llrt_crypto/src/subtle/key_algorithm.rs:317
↓ 9 callersFunctionload
(url, context, nextLoad)
example/register-hooks/hooks/v8.js:13
↓ 9 callersFunctionmakeRunner
(config)
tests/wpt/_harness-util.js:113
← previousnext →101–200 of 3,649, ranked by callers