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
↓ 26 callers
Method
with_module
(mut self, path: P)
llrt_core/src/module_builder.rs:42
↓ 25 callers
Function
export_default
(ctx: &Ctx<'js>, exports: &Exports<'js>, f: F)
libs/llrt_utils/src/module.rs:13
↓ 25 callers
Method
len
(&self)
modules/llrt_crypto/src/subtle/derive.rs:27
↓ 24 callers
Method
call
( &self, ctx: Ctx<'js>, controller: ReadableStreamControllerClass<'js>, )
modules/llrt_stream_web/src/readable/stream/algorithms.rs:24
↓ 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
is_empty
is empty
libs/llrt_utils/src/reuse_list.rs:27
↓ 23 callers
Method
append
(&mut self, item: T)
libs/llrt_utils/src/reuse_list.rs:42
↓ 23 callers
Method
apply
(target: unknown, thisArg: any, args: string[])
llrt_core/src/modules/js/@llrt/test/Color.ts:98
↓ 23 callers
Method
assert
* `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
↓ 23 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
↓ 23 callers
Method
dirname
* Return the directory name of a path. Similar to the Unix dirname command. * * @param path the path to evaluate.
types/path.d.ts:101
↓ 23 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
↓ 23 callers
Method
load
( &mut self, ctx: &rquickjs::Ctx<'js>, name: &str, )
llrt_core/src/compiler_common.rs:8
↓ 23 callers
Function
now
()
modules/llrt_perf_hooks/src/lib.rs:20
↓ 23 callers
Function
resolve
(path: Rest<String>)
modules/llrt_path/src/lib.rs:474
↓ 23 callers
Method
respondWithNewView
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)
types/stream/web.d.ts:253
↓ 22 callers
Method
into_bytes
(self, ctx: &Ctx<'_>)
libs/llrt_utils/src/bytes.rs:156
↓ 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
testEnd
( encoding: BufferEncoding, incomplete: Uint8Array, next: Uint8Array, expected: string
tests/unit/string_decoder.test.ts:205
↓ 22 callers
Method
values
(options?: { preventCancel?: boolean; })
types/stream/web.d.ts:195
↓ 21 callers
Function
bytes
(byteArray)
tests/unit/web-platform-tests/encoding/textdecoder-streaming.any.js:45
↓ 21 callers
Method
end
()
types/stream.d.ts:362
↓ 21 callers
Function
format_value
* Convert a value to a nice, human-readable string * * When many JavaScript Object values are coerced to a String, the * resulting valu
tests/unit/web-platform-tests/resources/testharness.js:1361
↓ 20 callers
Method
extname
* Return the extension of the path, from the last '.' to end of string in the last portion of the path. * If there is no '.' in the last portio
types/path.d.ts:116
↓ 20 callers
Method
into_inner
(self)
modules/llrt_stream_web/src/readable/objects.rs:241
↓ 20 callers
Method
pipeThrough
( transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions )
types/stream/web.d.ts:186
↓ 20 callers
Function
readableStreamToArray
(readable, reader)
tests/unit/web-platform-tests/streams/resources/rs-utils.js:76
↓ 20 callers
Function
spawn
( ctx: Ctx<'js>, cmd: String, args_and_opts: Rest<Value<'js>>, )
modules/llrt_child_process/src/lib.rs:414
↓ 19 callers
Method
entries
()
llrt_core/src/modules/js/llrt.d.ts:12
↓ 19 callers
Method
mask
(self)
modules/llrt_crypto/src/subtle/key_algorithm.rs:130
↓ 19 callers
Method
to_string
(&self)
modules/llrt_url/src/url_class.rs:249
↓ 19 callers
Method
truncate
(&mut self, ctx: Ctx<'_>, len: Opt<u64>)
modules/llrt_fs/src/file_handle.rs:249
↓ 19 callers
Function
version
()
modules/llrt_os/src/windows.rs:63
↓ 18 callers
Function
forEach
(array, callback, thisObj)
tests/unit/web-platform-tests/resources/testharness.js:4635
↓ 18 callers
Method
generateKey
* Using the method and parameters provided in `algorithm`, * `subtle.generateKey()` attempts to generate new keying material. * Dependin
types/crypto.d.ts:682
↓ 18 callers
Function
testDecode
( encoding: BufferEncoding, input: Buffer, expected: string, singleSequence?: Array<Ar
tests/unit/string_decoder.test.ts:11
↓ 18 callers
Function
throwIfError
(e: unknown)
tests/e2e/dynamodb.e2e.test.ts:43
↓ 17 callers
Method
any
(ctx: Ctx<'js>, signals: Array<'js>)
modules/llrt_abort/src/abort_signal.rs:93
↓ 17 callers
Function
async_test
* Create an asynchronous test * * @param {TestFunction|string} funcOrName - Initial step function * to call immediately with the test n
tests/unit/web-platform-tests/resources/testharness.js:669
↓ 17 callers
Function
bytes_to_b64_url_safe_string
(bytes: &[u8])
libs/llrt_encoding/src/lib.rs:164
↓ 16 callers
Method
keys
(&self)
modules/llrt_http/src/headers.rs:124
↓ 16 callers
Function
read
()
tests/e2e/s3.e2e.test.ts:26
↓ 16 callers
Method
resolve_undefined
(&self)
modules/llrt_stream_web/src/utils/promise.rs:188
↓ 16 callers
Function
write_buf
( this: &This<Object<'js>>, ctx: &Ctx<'js>, value: &Value<'js>, offset: &Opt<usize>, endia
modules/llrt_buffer/src/buffer.rs:485
↓ 15 callers
Method
clone
(&self)
modules/llrt_http/src/incoming.rs:124
↓ 15 callers
Method
emit
( this: This<Class<'js, Self>>, ctx: Ctx<'js>, event: Value<'js>, args: Rest<V
modules/llrt_events/src/lib.rs:405
↓ 15 callers
Method
remove
(&mut self, index: usize)
libs/llrt_utils/src/reuse_list.rs:63
↓ 15 callers
Method
text
(&mut self)
modules/llrt_http/src/blob.rs:91
↓ 14 callers
Method
complete
()
llrt_core/src/modules/js/@llrt/test/worker.ts:247
↓ 14 callers
Function
given_file
(content: &str, options: &mut OpenOptions)
modules/llrt_fs/src/file_handle.rs:493
↓ 14 callers
Method
into_value
(self, ctx: &Ctx<'js>)
llrt_core/src/modules/llrt/xml.rs:70
↓ 14 callers
Method
json
(&mut self, ctx: Ctx<'js>)
modules/llrt_http/src/body.rs:47
↓ 14 callers
Function
json_parse
(ctx: &Ctx<'js>, json: T)
libs/llrt_json/src/parse.rs:13
↓ 14 callers
Function
json_stringify
(ctx: &Ctx<'js>, value: Value<'js>)
libs/llrt_json/src/stringify.rs:30
↓ 14 callers
Function
promise_resolved_with
( ctx: &Ctx<'js>, primordials: &PromisePrimordials<'js>, value: Result<Value<'js>>, )
modules/llrt_stream_web/src/utils/promise.rs:38
↓ 14 callers
Method
sendMessage
( type: T, ...message: MessagePayload<T> extends Record<string, never> ? [] : [MessagePayl
llrt_core/src/modules/js/@llrt/test/worker.ts:252
↓ 14 callers
Method
with_global
(mut self, init_global: fn(&Ctx<'_>) -> Result<()>)
llrt_core/src/module_builder.rs:141
↓ 13 callers
Method
clone
(&mut self, ctx: Ctx<'js>)
modules/llrt_http/src/request.rs:179
↓ 13 callers
Method
encode
(&self, bytes: &[u8])
libs/llrt_encoding/src/lib.rs:84
↓ 13 callers
Function
exit
(code: i32)
modules/llrt_process/src/lib.rs:53
↓ 13 callers
Method
is_dir
@deprecated Use `is_directory` instead
modules/llrt_fs/src/stats.rs:254
↓ 13 callers
Function
promise_rejects_dom
* Assert that a Promise is rejected with the right DOMException. * * For the remaining arguments, there are two ways of calling * promi
tests/unit/web-platform-tests/resources/testharness.js:851
↓ 12 callers
Function
callback
()
tests/unit/events.test.ts:11
↓ 12 callers
Method
colorizer
( color: number, options: Options = {}, option?: keyof Options )
llrt_core/src/modules/js/@llrt/test/Color.ts:73
↓ 12 callers
Function
extractViewInfo
(view)
tests/unit/web-platform-tests/streams/readable-byte-streams/general.any.js:313
↓ 12 callers
Method
get
(&mut self, ctx: Ctx<'js>, key: String)
modules/llrt_url/src/url_search_params.rs:130
↓ 12 callers
Method
into_js
(self, ctx: &Ctx<'js>)
libs/llrt_utils/src/bytes.rs:56
↓ 12 callers
Method
iter_mut
(&mut self)
libs/llrt_utils/src/reuse_list.rs:110
↓ 12 callers
Function
run_test_return_string
( ctx: &Ctx<'_>, name: &str, is_function: bool, expected_assertion: impl Fn(St
modules/llrt_os/src/lib.rs:178
↓ 12 callers
Method
sort
(&mut self)
modules/llrt_url/src/url_search_params.rs:205
↓ 12 callers
Method
to_string
(&self, ctx: &Ctx<'js>, encoding: &str)
modules/llrt_buffer/src/buffer.rs:55
↓ 12 callers
Method
unwrap_or_undefined
(self, ctx: &Ctx<'js>)
modules/llrt_stream_web/src/utils/mod.rs:46
↓ 12 callers
Method
waitThenAdvance
(n)
tests/unit/web-platform-tests/streams/piping/flow-control.any.js:181
↓ 11 callers
Function
equals
( a: unknown, b: unknown, customTesters?: Array<any>, strictCheck?: boolean )
llrt_core/src/modules/js/@llrt/expect/jest-utils.ts:33
↓ 11 callers
Method
exportKey
* 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 callers
Function
i64_to_base_n
(number: i64, radix: u8)
libs/llrt_numbers/src/lib.rs:46
↓ 11 callers
Method
into_js
(self, ctx: &Ctx<'js>)
modules/llrt_buffer/src/buffer.rs:44
↓ 11 callers
Function
isA
(typeName: string, value: unknown)
llrt_core/src/modules/js/@llrt/expect/jest-utils.ts:212
↓ 11 callers
Method
is_file
(&self)
modules/llrt_fs/src/stats.rs:249
↓ 10 callers
Method
as_number
(&self)
modules/llrt_stream_web/src/queuing_strategy/mod.rs:112
↓ 10 callers
Method
isAbsolute
* Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
types/path.d.ts:95
↓ 10 callers
Function
loadShim
(filter, filename)
build.mjs:526
↓ 10 callers
Method
set_is_handled
(&self)
modules/llrt_stream_web/src/utils/promise.rs:214
↓ 10 callers
Method
status
(&self)
modules/llrt_http/src/response.rs:296
↓ 10 callers
Function
urlString
({ scheme = "https", username = "username", password = "password",
tests/unit/web-platform-tests/url/url-setters-stripping.any.js:6
↓ 10 callers
Method
verify
* 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
↓ 10 callers
Method
with_reader
( mut self, default: impl FnOnce( ReadableStreamDefaultReaderObjects<'js, C>,
modules/llrt_stream_web/src/readable/objects.rs:189
↓ 9 callers
Function
createBuffer
(size: string)
tests/e2e/s3.e2e.test.ts:272
↓ 9 callers
Method
cwd
* The `process.cwd()` method returns the current working directory of the llrt * process. * * ```js * import { cwd } from 'process
types/process.d.ts:55
↓ 9 callers
Method
get_event_list
(&self)
modules/llrt_events/src/lib.rs:80
↓ 9 callers
Function
globalOf
(func)
tests/unit/web-platform-tests/resources/idlharness.js:81
↓ 9 callers
Function
merge
(a,b)
tests/unit/web-platform-tests/resources/testharness.js:4697
↓ 9 callers
Method
next
(&mut self)
libs/llrt_dns_cache/src/lib.rs:31
↓ 9 callers
Method
spawn_exit
(&self, future: F)
libs/llrt_context/src/lib.rs:29
↓ 9 callers
Function
streamAndDefaultReader
(stream)
tests/unit/web-platform-tests/streams/readable-streams/templated.any.js:147
↓ 9 callers
Method
to_string
(&self)
modules/llrt_url/src/url_search_params.rs:221
↓ 9 callers
Function
upon_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:121
↓ 9 callers
Function
urlRecord
(scheme)
tests/unit/web-platform-tests/url/url-setters-stripping.any.js:17
↓ 9 callers
Method
writable_stream_close_queued_or_in_flight
(&self)
modules/llrt_stream_web/src/writable/stream/mod.rs:515
↓ 8 callers
Function
assertTypes
( value: unknown, name: string, types: string[] )
llrt_core/src/modules/js/@llrt/expect/jest-expect.ts:626
← previous
next →
101–200 of 2,399, ranked by callers