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
↓ 4 callers
Function
get_string_field
(package_json: &'a BorrowedValue<'a>, str: &str)
llrt_modules/src/package/resolver.rs:914
↓ 4 callers
Function
get_timer_state
( state_ref: &'a mut MutexGuard<Vec<RuntimeTimerState>>, rt: *mut qjs::JSRuntime, )
modules/llrt_timers/src/lib.rs:157
↓ 4 callers
Method
handleTestError
(workerId: number, error: any, ended: number)
llrt_core/src/modules/js/@llrt/test/index.ts:505
↓ 4 callers
Method
hmac
(&self, algorithm: HashAlgorithm, key: &[u8])
modules/llrt_crypto/src/provider/ring.rs:162
↓ 4 callers
Method
increment
(self, increment: i64)
modules/llrt_temporal/src/utils/time_round.rs:20
↓ 4 callers
Function
init
(ctx: &Ctx<'js>)
modules/llrt_buffer/src/lib.rs:67
↓ 4 callers
Function
init
(ctx: &Ctx<'_>)
modules/llrt_process/src/lib.rs:142
↓ 4 callers
Method
inner
(&self)
modules/llrt_stream/src/writable.rs:106
↓ 4 callers
Method
into_inner
(self)
modules/llrt_stream_web/src/readable/default_controller.rs:756
↓ 4 callers
Method
into_object_or_throw
(self, _: &Ctx<'js>, _: &'static str)
libs/llrt_utils/src/object.rs:45
↓ 4 callers
Function
is_cors_safelisted_request_header
https://fetch.spec.whatwg.org/#cors-safelisted-request-header
modules/llrt_fetch/src/headers.rs:747
↓ 4 callers
Function
is_forbidden_method_override
Per Fetch spec, `x-http-method`, `x-http-method-override`, `x-method-override` with a value that parses to a forbidden method (CONNECT/TRACE/TRACK, ca
modules/llrt_fetch/src/headers.rs:643
↓ 4 callers
Function
is_http_header_value
(value: &str)
modules/llrt_fetch/src/headers.rs:678
↓ 4 callers
Function
json_stringify_replacer_space
( ctx: &Ctx<'js>, value: Value<'js>, replacer: Option<Value<'js>>, indentation: Option<String>
libs/llrt_json/src/stringify.rs:44
↓ 4 callers
Function
load_as_file
LOAD_AS_FILE(X)
llrt_modules/src/package/resolver.rs:257
↓ 4 callers
Function
make_ascii
(len: usize)
libs/llrt_utils/benches/lossy_string.rs:16
↓ 4 callers
Method
make_string
(&self, ctx: &Ctx<'_>, data: &[u8])
modules/llrt_string_decoder/src/string_decoder.rs:19
↓ 4 callers
Method
message
(&self)
modules/llrt_exceptions/src/lib.rs:153
↓ 4 callers
Function
micro_seconds
llrt/src/main.c:119
↓ 4 callers
Function
mkdir
(ctx: Ctx<'js>, path: String, options: Opt<Object<'js>>)
modules/llrt_fs/src/mkdir.rs:11
↓ 4 callers
Method
name
(&self)
modules/llrt_buffer/src/file.rs:57
↓ 4 callers
Function
nbits
(x)
benchmarks/v8-v7/crypto.js:327
↓ 4 callers
Function
normalize_header_value_inplace
(ctx: &Ctx<'_>, text: &mut String)
modules/llrt_fetch/src/headers.rs:688
↓ 4 callers
Function
now_nanos
Get the current time in nanoseconds. # Safety - Good until the year 2554 - Always use a checked substraction since this can return 0
libs/llrt_utils/src/time.rs:13
↓ 4 callers
Method
once
( this: This<Object<'js>>, ctx: Ctx<'js>, event: Value<'js>, listener: Functio
modules/llrt_events/src/lib.rs:286
↓ 4 callers
Function
open
( ctx: Ctx<'_>, path: String, flags: Opt<String>, mode: Opt<u32>, )
modules/llrt_fs/src/open.rs:11
↓ 4 callers
Function
origin_nanos
Get the origin time in nanoseconds. # Safety - Good until the year 2554 - Always use a checked substraction since this can return 0
libs/llrt_utils/src/time.rs:37
↓ 4 callers
Function
parts_of_zoned_now
(timezone: Opt<String>)
modules/llrt_temporal/src/now.rs:55
↓ 4 callers
Method
readable_byte_stream_controller_clear_algorithms
(&mut self)
modules/llrt_stream_web/src/readable/byte_controller.rs:422
↓ 4 callers
Method
readable_byte_stream_controller_enqueue_chunk_to_queue
( &mut self, buffer: ArrayBuffer<'js>, byte_offset: usize, byte_length: usize,
modules/llrt_stream_web/src/readable/byte_controller.rs:802
↓ 4 callers
Method
readable_byte_stream_controller_invalidate_byob_request
(&mut self)
modules/llrt_stream_web/src/readable/byte_controller.rs:409
↓ 4 callers
Method
readable_stream_default_controller_clear_algorithms
(&mut self)
modules/llrt_stream_web/src/readable/default_controller.rs:383
↓ 4 callers
Function
readable_stream_default_controller_close_stream
Public API for closing a default controller from Rust code
modules/llrt_stream_web/src/readable/default_controller.rs:881
↓ 4 callers
Method
readable_stream_default_controller_get_desired_size
( &self, stream: &ReadableStream<'js>, )
modules/llrt_stream_web/src/readable/default_controller.rs:403
↓ 4 callers
Method
refresh_writer
( mut self, )
modules/llrt_stream_web/src/writable/objects.rs:99
↓ 4 callers
Method
reset_queue
(&mut self)
modules/llrt_stream_web/src/readable/byte_controller.rs:490
↓ 4 callers
Function
rsa_hash_digest
( ctx: &Ctx<'_>, key: &'a CryptoKey, data: &'a [u8], algorithm_name: &str, )
modules/llrt_crypto/src/subtle/mod.rs:87
↓ 4 callers
Function
run
( filename: string, args: string[] = [] )
tests/unit/executable.test.ts:28
↓ 4 callers
Method
runHook
( testSuite: TestSuite, hook: keyof TestSetup, timeout?: number )
llrt_core/src/modules/js/@llrt/test/worker.ts:195
↓ 4 callers
Method
run_file
(&self, filename: impl AsRef<str>, strict: bool, global: bool)
llrt_core/src/vm.rs:171
↓ 4 callers
Function
run_test_return_number
(ctx: &Ctx<'_>, name: &str, expected_assertion: impl Fn(Value))
modules/llrt_os/src/lib.rs:222
↓ 4 callers
Function
sc_genToWriteCircleString
(o, symb)
benchmarks/v8-v7/earley-boyer.js:2950
↓ 4 callers
Function
sc_isNumber
META ((export #t) (type bool))
benchmarks/v8-v7/earley-boyer.js:154
↓ 4 callers
Function
sc_newline
META ((export #t))
benchmarks/v8-v7/earley-boyer.js:2894
↓ 4 callers
Function
sc_toDisplayString
(o)
benchmarks/v8-v7/earley-boyer.js:2881
↓ 4 callers
Function
set_timeout_interval
( ctx: &Ctx<'js>, cb: Function<'js>, delay: u64, provider_type: ProviderType, )
modules/llrt_timers/src/lib.rs:93
↓ 4 callers
Method
shutdown
(&self, ctx: Ctx<'js>, error: Option<Value<'js>>)
modules/llrt_stream_web/src/readable/stream/pipe.rs:587
↓ 4 callers
Method
spawn_exit_simple
Same as above but fire & forget and without a forced stack trace collection
libs/llrt_context/src/lib.rs:55
↓ 4 callers
Method
stack
(&self)
modules/llrt_exceptions/src/lib.rs:168
↓ 4 callers
Function
strip_bom
(bytes: impl Into<Cow<'a, [u8]>>)
modules/llrt_fetch/src/body_helpers.rs:151
↓ 4 callers
Method
sync_query
Re-serialize the query string with proper percent-encoding. The url crate doesn't encode commas, so we rebuild the query using form_urlencoded::byte_s
modules/llrt_url/src/url_search_params.rs:293
↓ 4 callers
Function
tee_readable_stream
Tee a ReadableStream into two branches. The stream must not be locked or disturbed.
modules/llrt_stream_web/src/readable/stream/mod.rs:118
↓ 4 callers
Method
update
(&mut self, data: &[u8])
modules/llrt_crypto/src/provider/openssl.rs:35
↓ 4 callers
Function
validate_stream_usable
Validates that a ReadableStream is not disturbed or locked.
modules/llrt_fetch/src/body_helpers.rs:180
↓ 4 callers
Method
with_controller
( self, ctx: Ctx, default: impl FnOnce( Ctx, ReadableStreamDef
modules/llrt_stream_web/src/readable/objects.rs:115
↓ 4 callers
Method
writable_stream_default_controller_clear_algorithms
(&mut self)
modules/llrt_stream_web/src/writable/default_controller.rs:317
↓ 4 callers
Method
writeInt8
* Writes `value` to `buf` at the specified `offset`. `value` must be a valid * signed 8-bit integer. Behavior is undefined when `value` is anythi
types/buffer.d.ts:1002
↓ 4 callers
Function
write_sep
(result: &mut String, add_comma: bool, has_indentation: bool, newline: bool)
libs/llrt_logging/src/lib.rs:764
↓ 3 callers
Function
Stream
(this: any)
llrt_core/src/modules/js/stream.ts:134
↓ 3 callers
Function
abort
(reason: any)
llrt_core/src/modules/js/stream.ts:80
↓ 3 callers
Function
addFields
(x, s, dt)
benchmarks/v8-v7/navier-stokes.js:82
↓ 3 callers
Function
add_bytecode_header
(bytes: Vec<u8>, file_size: Option<u32>)
llrt_core/src/bytecode.rs:22
↓ 3 callers
Function
advect
(b, d, d0, u, v, dt)
benchmarks/v8-v7/navier-stokes.js:207
↓ 3 callers
Method
allocUnsafe
* Allocates a new `Buffer` of `size` bytes. * * The underlying memory for `Buffer` instances created in this way is _not_ * _initialize
types/buffer.d.ts:282
↓ 3 callers
Method
allocUnsafeSlow
* Allocates a new `Buffer` of `size` bytes. * * The underlying memory for `Buffer` instances created in this way is _not_ * _initialize
types/buffer.d.ts:314
↓ 3 callers
Function
alloc_byte_ref
(ctx: &Ctx<'js>, byte_ref: &[u8], length: usize)
modules/llrt_buffer/src/buffer.rs:138
↓ 3 callers
Function
append_value
(context: &mut StringifyContext<'_, '_>, add_comma: bool)
libs/llrt_json/src/stringify.rs:375
↓ 3 callers
Method
as_label
(&self)
libs/llrt_encoding/src/lib.rs:119
↓ 3 callers
Method
as_numeric_str
(&self)
modules/llrt_crypto/src/hash.rs:64
↓ 3 callers
Method
asymmetricMatch
(other: unknown)
llrt_core/src/modules/js/@llrt/expect/jest-asymmetric-matchers.ts:227
↓ 3 callers
Function
build_client_config
( options: BuildClientConfigOptions, )
modules/llrt_tls/src/rustls_config.rs:75
↓ 3 callers
Method
chunk_steps_typed
( &self, objects: ReadableStreamDefaultReaderObjects<'js, C>, chunk: Value<'js>, )
modules/llrt_stream_web/src/readable/default_reader.rs:404
↓ 3 callers
Function
class_to_obj
Convert a Class into an Object for use with Emitter methods.
modules/llrt_events/src/lib.rs:75
↓ 3 callers
Method
close_steps_typed
( &self, ctx: &Ctx<'js>, objects: ReadableStreamDefaultReaderObjects<'js, C>, )
modules/llrt_stream_web/src/readable/default_reader.rs:434
↓ 3 callers
Function
constructor
( protected sample: T, protected inverse = false )
llrt_core/src/modules/js/@llrt/expect/jest-asymmetric-matchers.ts:46
↓ 3 callers
Function
correct_extensions
(x: String)
llrt_modules/src/package/resolver.rs:932
↓ 3 callers
Method
createDescribe
({ only = false, skip = false, }: TestSettings = {})
llrt_core/src/modules/js/@llrt/test/worker.ts:127
↓ 3 callers
Method
createTestFunction
({ only = false, skip = false, }: TestSettings = {})
llrt_core/src/modules/js/@llrt/test/worker.ts:162
↓ 3 callers
Function
create_disturbed_stream
Creates a ReadableStream that is already closed and locked — used for the `body` getter after the body has been consumed. Holding a reader makes subse
modules/llrt_fetch/src/body_helpers.rs:70
↓ 3 callers
Method
decompress_chunk
Decompress a chunk of data, returning the decompressed output
libs/llrt_compression/src/streaming.rs:47
↓ 3 callers
Method
ecdh_derive_bits
( &self, _curve: EllipticCurve, _private_key_der: &[u8], _public_key_sec1: &[u
modules/llrt_crypto/src/provider/ring.rs:274
↓ 3 callers
Method
ecdsa_sign
( &self, _curve: EllipticCurve, _private_key_der: &[u8], _digest: &[u8], )
modules/llrt_crypto/src/provider/ring.rs:182
↓ 3 callers
Method
ecdsa_verify
( &self, _curve: EllipticCurve, _public_key_sec1: &[u8], _signature: &[u8],
modules/llrt_crypto/src/provider/ring.rs:191
↓ 3 callers
Function
end
(chunk)
example/register-hooks/src/http.js:127
↓ 3 callers
Method
enqueue_value_with_size
( &mut self, ctx: &Ctx<'js>, value: Value<'js>, size: SizeValue<'js>, )
modules/llrt_stream_web/src/utils/queue.rs:23
↓ 3 callers
Method
error_steps_typed
( &self, objects: ReadableStreamDefaultReaderObjects<'js, C>, reason: Value<'js>,
modules/llrt_stream_web/src/readable/default_reader.rs:464
↓ 3 callers
Function
f64_to_base_n
(number: f64, radix: u8)
libs/llrt_numbers/src/lib.rs:180
↓ 3 callers
Function
format_raw_inner
( result: &mut String, value: Value<'js>, options: &FormatOptions<'js>, visited: &mut HashSet<
libs/llrt_logging/src/lib.rs:309
↓ 3 callers
Function
format_timezone_name
Format timezone name based on style option
modules/llrt_intl/src/date_time_format.rs:196
↓ 3 callers
Method
formattedError
(error: Error, indent: string = "")
llrt_core/src/modules/js/@llrt/test/index.ts:751
↓ 3 callers
Method
generate_aes_key
(&self, _length_bits: u16)
modules/llrt_crypto/src/provider/ring.rs:343
↓ 3 callers
Method
generate_x25519_key
(&self)
modules/llrt_crypto/src/provider/ring.rs:363
↓ 3 callers
Function
get_address_parts
( ctx: &Ctx, addr: StdResult<SocketAddr, std::io::Error>, )
modules/llrt_net/src/lib.rs:110
↓ 3 callers
Method
get_bytes
(&self)
modules/llrt_buffer/src/blob.rs:203
↓ 3 callers
Function
get_header_value
(headers: &HeaderMap, header: &HeaderName)
llrt_core/src/runtime_client.rs:587
↓ 3 callers
Method
get_list
(&self)
llrt_modules/src/module/mod.rs:42
↓ 3 callers
Function
get_readable_default_controller
( stream_class: &TransformStreamClass<'js>, )
modules/llrt_stream_web/src/transform/controller.rs:33
↓ 3 callers
Function
get_round_mode
(ctx: &Ctx, mode: &Option<String>)
modules/llrt_temporal/src/utils/mod.rs:97
↓ 3 callers
Method
get_script_or_module_name
(&self)
libs/llrt_utils/src/ctx.rs:10
↓ 3 callers
Method
get_value_or_undefined
( &self, k: K, )
modules/llrt_stream_web/src/utils/mod.rs:20
← previous
next →
401–500 of 3,649, ranked by callers