Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ray-D-Song/lexe
/ functions
Functions
2,399 in github.com/Ray-D-Song/lexe
⨍
Functions
2,399
◇
Types & classes
549
↓ 8 callers
Function
decoder
(r: R)
libs/llrt_compression/src/lib.rs:14
↓ 8 callers
Function
encoder
(r: R, level: i32)
libs/llrt_compression/src/lib.rs:10
↓ 8 callers
Method
exit
* 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
↓ 8 callers
Function
extractViewInfo
(view)
tests/unit/web-platform-tests/streams/readable-byte-streams/read-min.any.js:15
↓ 8 callers
Method
get_array_buffer
(&self)
modules/llrt_stream_web/src/readable/byob_reader.rs:467
↓ 8 callers
Method
into_js
(self, ctx: &Ctx<'js>)
llrt_core/src/runtime_client.rs:135
↓ 8 callers
Method
listen
TODO add backlog support
modules/llrt_net/src/server.rs:130
↓ 8 callers
Method
sign
* 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
↓ 8 callers
Method
subscribe
(&self)
libs/llrt_utils/src/mc_oneshot.rs:52
↓ 8 callers
Function
to_abs_path
(path: Cow<'_, str>)
llrt_core/src/modules/require/resolver.rs:246
↓ 8 callers
Function
write
()
tests/unit/web-platform-tests/streams/piping/abort.any.js:135
↓ 7 callers
Method
address
(&self)
modules/llrt_net/src/server.rs:117
↓ 7 callers
Function
algorithm_not_supported_error
(ctx: &Ctx<'_>)
modules/llrt_crypto/src/subtle/mod.rs:359
↓ 7 callers
Method
build
(self)
llrt_core/src/module_builder.rs:146
↓ 7 callers
Function
bytes_to_typed_array
(ctx: Ctx<'js>, bytes: &[u8])
libs/llrt_utils/src/bytes.rs:379
↓ 7 callers
Method
check_validity
(&self, usage: &str)
modules/llrt_crypto/src/subtle/crypto_key.rs:87
↓ 7 callers
Method
clear_reader
(self)
modules/llrt_stream_web/src/readable/objects.rs:267
↓ 7 callers
Function
decode_test
(label, url_encoded_input, expected_code_units,
tests/unit/web-platform-tests/encoding/resources/decoding-helpers.js:21
↓ 7 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
↓ 7 callers
Method
executeAsyncOrCallbackFn
( fn: Function, timeout: number = TestAgent.DEFAULT_TIMEOUT_MS )
llrt_core/src/modules/js/@llrt/test/worker.ts:196
↓ 7 callers
Method
file
(&self, ctx: &Ctx<'_>)
modules/llrt_fs/src/file_handle.rs:41
↓ 7 callers
Method
first
()
shims/mnemonist/lru-cache.js:30
↓ 7 callers
Method
flush
(&mut self, ctx: &Ctx<'_>)
modules/llrt_string_decoder/src/string_decoder.rs:194
↓ 7 callers
Method
host
(&self)
modules/llrt_url/src/url_class.rs:102
↓ 7 callers
Method
into_inner
(self)
modules/llrt_stream_web/src/writable/objects.rs:35
↓ 7 callers
Method
into_js
(self, ctx: &Ctx<'js>)
modules/llrt_stream_web/src/readable/reader.rs:362
↓ 7 callers
Function
logInfo
Log Info
llrt/src/main.c:71
↓ 7 callers
Function
promise_rejected_with
( primordials: &PromisePrimordials<'js>, value: Value<'js>, )
modules/llrt_stream_web/src/utils/promise.rs:13
↓ 7 callers
Function
same_value
(x, y)
tests/unit/web-platform-tests/resources/testharness.js:1511
↓ 7 callers
Method
set_reader
( self, reader: RNext::Class, )
modules/llrt_stream_web/src/readable/objects.rs:73
↓ 7 callers
Function
sleep
(millis: number)
tests/unit/events.test.ts:3
↓ 7 callers
Method
toJSON
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
types/perf_hooks.d.ts:20
↓ 7 callers
Function
transfer_array_buffer
(buffer: ArrayBuffer<'_>)
modules/llrt_stream_web/src/readable/byte_controller.rs:2000
↓ 7 callers
Function
upon_promise
https://webidl.spec.whatwg.org/#dfn-perform-steps-once-promise-is-settled
modules/llrt_stream_web/src/utils/promise.rs:89
↓ 7 callers
Function
write_log
(mut output: T, ctx: &Ctx<'js>, args: Rest<Value<'js>>)
modules/llrt_console/src/lib.rs:97
↓ 7 callers
Function
write_log
( mut output: T, ctx: &Ctx<'js>, args: Rest<Value<'js>>, level: LogLevel, )
llrt_core/src/modules/console.rs:125
↓ 6 callers
Method
byteLength
* 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:145
↓ 6 callers
Method
call
( &self, ctx: Ctx<'js>, controller: WritableStreamDefaultControllerClass<'js>, )
modules/llrt_stream_web/src/writable/default_controller.rs:718
↓ 6 callers
Function
class_from_owned_borrow_mut
( borrow: OwnedBorrowMut<'js, T>, )
modules/llrt_stream_web/src/utils/mod.rs:51
↓ 6 callers
Method
connect
( this: This<Class<'js, Self>>, ctx: Ctx<'js>, args: Rest<Value<'js>>, )
modules/llrt_net/src/socket.rs:190
↓ 6 callers
Method
deriveKey
* 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 callers
Function
dnsLookupAsync
( hostname: string, options?: number | dns.LookupOptions )
tests/unit/dns.test.ts:4
↓ 6 callers
Method
encode_to_string
(&self, bytes: &[u8], lossy: bool)
libs/llrt_encoding/src/lib.rs:73
↓ 6 callers
Function
ends_with_sep
(path: &str)
modules/llrt_path/src/lib.rs:500
↓ 6 callers
Function
exposure_set
(object, default_set)
tests/unit/web-platform-tests/resources/idlharness.js:629
↓ 6 callers
Method
get_array_buffer
( ctx: Ctx<'js>, body: Option<&Class<'js, Self>>, )
modules/llrt_http/src/body.rs:96
↓ 6 callers
Function
init
(ctx: &Ctx<'js>)
modules/llrt_buffer/src/buffer.rs:707
↓ 6 callers
Function
init
(ctx: &Ctx)
modules/llrt_stream_web/src/lib.rs:100
↓ 6 callers
Function
isReadableStream
(rs)
tests/unit/web-platform-tests/streams/readable-streams/patched-global.any.js:14
↓ 6 callers
Function
is_absolute
(path: &str)
modules/llrt_path/src/lib.rs:510
↓ 6 callers
Method
is_readable_stream_locked
(&self)
modules/llrt_stream_web/src/readable/stream/mod.rs:562
↓ 6 callers
Method
is_writable_stream_locked
(&self)
modules/llrt_stream_web/src/writable/stream/mod.rs:190
↓ 6 callers
Method
len
(&self)
libs/llrt_utils/src/bytearray_buffer.rs:38
↓ 6 callers
Method
normalize
* 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
↓ 6 callers
Function
on_event
* @deprecated * * Register a function as a DOM event listener to the * given object for the event bubbling phase. * * @param
tests/unit/web-platform-tests/resources/testharness.js:1202
↓ 6 callers
Method
push_byte
(&mut self, byte: u8)
libs/llrt_logging/src/lib.rs:103
↓ 6 callers
Method
readable_byte_stream_controller_shift_pending_pull_into
( &mut self, )
modules/llrt_stream_web/src/readable/byte_controller.rs:733
↓ 6 callers
Function
shorten_array
(arr, offset = 0)
tests/unit/web-platform-tests/resources/testharness.js:1647
↓ 6 callers
Function
shouldRunSubTest
* Check if `currentSubTest` is in the subset specified in the URL. * @param {number} currentSubTest * @returns {boolean}
tests/unit/web-platform-tests/common/subset-tests.js:42
↓ 6 callers
Method
take_bytes
(&mut self, ctx: &Ctx<'js>)
modules/llrt_http/src/body.rs:154
↓ 6 callers
Method
timeout
(ctx: Ctx<'js>, milliseconds: u64)
modules/llrt_abort/src/abort_signal.rs:185
↓ 6 callers
Function
truncate
(s, len)
tests/unit/web-platform-tests/resources/testharness.js:1258
↓ 5 callers
Function
bURL
(url, base)
tests/unit/web-platform-tests/url/url-searchparams.any.js:8
↓ 5 callers
Method
blob
(&mut self, ctx: Ctx<'js>)
modules/llrt_http/src/body.rs:63
↓ 5 callers
Function
build_formatted_string
( result: &mut String, ctx: &Ctx<'js>, args: Rest<Value<'js>>, options: &mut FormatOptions<'js
libs/llrt_logging/src/lib.rs:198
↓ 5 callers
Method
bytes
(&self, ctx: Ctx<'js>)
modules/llrt_http/src/blob.rs:100
↓ 5 callers
Function
calculateRelativeDepth
(from: string, to: string)
tests/unit/path.unix.test.ts:6
↓ 5 callers
Method
capacity
(&self)
libs/llrt_utils/src/reuse_list.rs:98
↓ 5 callers
Method
copy
* Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. * * [`TypedArray.protot
types/buffer.d.ts:274
↓ 5 callers
Method
debug
* The `console.debug()` function is an alias for {@link log}.
types/console.d.ts:86
↓ 5 callers
Method
digest_algorithm
(&self)
modules/llrt_crypto/src/sha_hash.rs:135
↓ 5 callers
Method
elapsed
({ started, ended, }: { started: number; ended: number; })
llrt_core/src/modules/js/@llrt/test/index.ts:696
↓ 5 callers
Method
emit_error
(self, id: &'static str, ctx: &Ctx<'js>, this: Class<'js, C>)
modules/llrt_events/src/lib.rs:109
↓ 5 callers
Method
end
(&mut self, ctx: Ctx<'_>, buffer: Opt<ArrayBufferView<'_>>)
modules/llrt_string_decoder/src/string_decoder.rs:239
↓ 5 callers
Function
extract_sha_hash
(ctx: &Ctx<'js>, obj: &Object<'js>)
modules/llrt_crypto/src/subtle/key_algorithm.rs:1082
↓ 5 callers
Method
file_mut
(&mut self, ctx: &Ctx<'_>)
modules/llrt_fs/src/file_handle.rs:45
↓ 5 callers
Method
finalize
(&self, ctx: Ctx<'js>, error: Option<Value<'js>>)
modules/llrt_stream_web/src/readable/stream/pipe.rs:634
↓ 5 callers
Function
find_next_separator
(s: &str)
modules/llrt_path/src/lib.rs:54
↓ 5 callers
Function
float_to_string
(buffer: &mut ryu::Buffer, float: f64)
libs/llrt_numbers/src/lib.rs:199
↓ 5 callers
Function
format_values
( ctx: &Ctx<'js>, args: Rest<Value<'js>>, tty: bool, newline: bool, )
libs/llrt_logging/src/lib.rs:186
↓ 5 callers
Function
func
()
tests/unit/console.test.ts:90
↓ 5 callers
Function
generate_json
(child_json: &str, size: usize)
libs/llrt_json/benches/json.rs:13
↓ 5 callers
Method
getContent
()
llrt_core/src/modules/js/@llrt/test/CircularBuffer.ts:73
↓ 5 callers
Method
handleError
(code: number, error: Error, details?: any)
llrt_core/src/modules/js/@llrt/test/index.ts:272
↓ 5 callers
Method
hmac_algorithm
(&self)
modules/llrt_crypto/src/sha_hash.rs:126
↓ 5 callers
Method
importKey
* The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format` * to create a `<CryptoKey>` instance using
types/crypto.d.ts:706
↓ 5 callers
Function
init
(ctx: &Ctx<'_>)
llrt_core/src/vm.rs:203
↓ 5 callers
Function
minOverloadLength
(overloads)
tests/unit/web-platform-tests/resources/idlharness.js:60
↓ 5 callers
Function
name_extname
(path: &str)
modules/llrt_path/src/lib.rs:109
↓ 5 callers
Method
open
(cb)
tests/unit/web-platform-tests/streams/resources/rs-utils.js:112
↓ 5 callers
Method
or_throw_type
(self, ctx: &Ctx, msg: &str)
libs/llrt_utils/src/result.rs:47
↓ 5 callers
Function
process
(bytes: &[u8], result: &mut String, v_below_space: u8x16, v_b: u8x16, v_c: u8x16)
libs/llrt_json/src/escape.rs:159
↓ 5 callers
Function
push_indentation
(result: &mut String, depth: usize)
libs/llrt_logging/src/lib.rs:743
↓ 5 callers
Method
readable_stream_default_controller_can_close_or_enqueue
( &self, stream: &ReadableStream<'js>, )
modules/llrt_stream_web/src/readable/default_controller.rs:342
↓ 5 callers
Function
render
(template, substitutions, output_document)
tests/unit/web-platform-tests/resources/testharness.js:4511
↓ 5 callers
Function
resolve_path
(parts: I)
modules/llrt_path/src/lib.rs:260
↓ 5 callers
Method
shutdown_with_action
( &self, ctx: Ctx<'js>, action: impl FnOnce(Ctx<'js>) -> Result<Promise<'js>> + 'js,
modules/llrt_stream_web/src/readable/stream/pipe.rs:548
↓ 5 callers
Function
start
(ctx: &Ctx<'_>)
llrt_core/src/runtime_client.rs:231
↓ 5 callers
Method
take_bytes
(&mut self, ctx: &Ctx<'js>)
modules/llrt_http/src/request.rs:15
↓ 5 callers
Method
take_bytes
clippy complains about lock being read only but we mutate the value
modules/llrt_http/src/response.rs:194
← previous
next →
201–300 of 2,399, ranked by callers