MCPcopy Create free account

hub / github.com/Ray-D-Song/lexe / functions

Functions2,399 in github.com/Ray-D-Song/lexe

↓ 1,322 callersFunctionassert_equals
* Assert that ``actual`` is the same value as ``expected``. * * For objects this compares by object identity; for primitives * this dis
tests/unit/web-platform-tests/resources/testharness.js:1534
↓ 629 callersFunctionpromise_test
* Create a promise test. * * Promise tests are tests which are represented by a promise * object. If the promise is fulfilled the test
tests/unit/web-platform-tests/resources/testharness.js:725
↓ 613 callersMethodclone
(&self)
modules/llrt_stream_web/src/readable/objects.rs:50
↓ 486 callersMethodset
(&mut self, key: String, value: String)
modules/llrt_http/src/headers.rs:104
↓ 429 callersMethodclone
(&self, ctx: Ctx<'js>)
modules/llrt_http/src/response.rs:393
↓ 420 callersMethodpush
(self, value: &mut String)
libs/llrt_logging/src/lib.rs:64
↓ 418 callersMethodread
(size?: number)
types/stream.d.ts:349
↓ 402 callersMethodgetReader
(options: { mode: "byob" })
types/stream/web.d.ts:181
↓ 391 callersFunctionassert_array_equals
* Assert that ``actual`` and ``expected`` are both arrays, and that the array properties of * ``actual`` and ``expected`` are all the same value
tests/unit/web-platform-tests/resources/testharness.js:1644
↓ 332 callersFunctionpromise_rejects_exactly
* Assert that a Promise is rejected with the provided value. * * @param {Test} test - the `Test` to use for the assertion. * @param {An
tests/unit/web-platform-tests/resources/testharness.js:883
↓ 311 callersMethodenqueue
(chunk: ArrayBufferView)
types/stream/web.d.ts:263
↓ 302 callersFunctiontest
* Create a synchronous test * * @param {TestFunction} func - Test function. This is executed * immediately. If it returns without error
tests/unit/web-platform-tests/resources/testharness.js:627
↓ 291 callersFunctionfrom
( ctx: Ctx<'js>, value: Value<'js>, offset_or_encoding: Opt<Value<'js>>, length: Opt<usize>, )
modules/llrt_buffer/src/buffer.rs:237
↓ 262 callersFunctionassert_true
* Assert that ``actual`` is strictly true * * @param {Any} actual - Value that is asserted to be true * @param {string} [description] -
tests/unit/web-platform-tests/resources/testharness.js:1491
↓ 249 callersFunctionassert_false
* Assert that ``actual`` is strictly false * * @param {Any} actual - Value that is asserted to be false * @param {string} [description]
tests/unit/web-platform-tests/resources/testharness.js:1504
↓ 237 callersMethodclose
()
types/stream/web.d.ts:288
↓ 219 callersMethodget
(&self, ctx: Ctx<'js>, key: String)
modules/llrt_http/src/headers.rs:65
↓ 213 callersMethodgetWriter
()
types/stream/web.d.ts:289
↓ 208 callersMethodor_throw
(self, ctx: &Ctx)
libs/llrt_utils/src/result.rs:59
↓ 199 callersMethodfrom
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
types/buffer.d.ts:194
↓ 194 callersMethodwrite
( chunk: | string | Buffer | QuickJS.ArrayBufferView
types/stream.d.ts:353
↓ 172 callersMethodas_ref
(&self)
modules/llrt_crypto/src/sha_hash.rs:181
↓ 167 callersMethodtoString
* Decodes `buf` to a string according to the specified character encoding in`encoding`. * * If `encoding` is `'utf8'` and a byte sequence in
types/buffer.d.ts:365
↓ 154 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
↓ 144 callersFunctionassert_throws_js
* Assert a JS Error with the expected constructor is thrown. * * @param {object} constructor The expected exception constructor. * @par
tests/unit/web-platform-tests/resources/testharness.js:2072
↓ 125 callersMethodpipeTo
( destination: WritableStream<R>, options?: StreamPipeOptions )
types/stream/web.d.ts:190
↓ 108 callersMethodabort
(reason?: any)
types/stream/web.d.ts:287
↓ 106 callersMethodreleaseLock
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock)
types/stream/web.d.ts:236
↓ 105 callersMethodconcat
* Returns a new `Buffer` which is the result of concatenating all the `Buffer` instances in the `list` together. * * If the list has no item
types/buffer.d.ts:190
↓ 104 callersFunctionpromise_rejects_js
* Assert that a Promise is rejected with the right ECMAScript exception. * * @param {Test} test - the `Test` to use for the assertion.
tests/unit/web-platform-tests/resources/testharness.js:812
↓ 102 callersMethodjoin
* Join all arguments together and normalize the resulting path. * * @param paths paths to join. * @throws {TypeError} if any of t
types/path.d.ts:73
↓ 101 callersMethodclone
(&self)
modules/llrt_stream_web/src/writable/objects.rs:25
↓ 97 callersMethodas_bytes
(&self)
modules/llrt_buffer/src/array_buffer_view.rs:140
↓ 94 callersFunctionassert_object_equals
* @deprecated * Recursively compare two objects for equality. * * See `Issue 2033 * <https://github.com/web-platform-tests/wpt/iss
tests/unit/web-platform-tests/resources/testharness.js:1600
↓ 92 callersMethodlen
(&self)
modules/llrt_buffer/src/array_buffer_view.rs:131
↓ 91 callersMethodlen
(&self)
libs/llrt_utils/src/reuse_list.rs:102
↓ 82 callersFunctionrunTest
(test, done)
tests/unit/a-web-platform-tests.test.ts:6
↓ 81 callersFunctionassert_not_equals
* Assert that ``actual`` is not the same value as ``expected``. * * Comparison is as for :js:func:`assert_equals`. * * @param {Any
tests/unit/web-platform-tests/resources/testharness.js:1561
↓ 78 callersMethodcancel
(reason?: any)
types/stream/web.d.ts:180
↓ 78 callersMethodhas
(&self, key: String)
modules/llrt_http/src/headers.rs:99
↓ 77 callersMethodappend
(&mut self, key: String, value: String)
modules/llrt_http/src/headers.rs:45
↓ 76 callersMethodbind
( this: Class<'js, Self>, ctx: Ctx<'js>, port: Option<i32>, host: Option<Strin
modules/llrt_net/src/server.rs:292
↓ 76 callersMethodtrace
* Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-arg
types/console.d.ts:148
↓ 75 callersMethodresolve
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}. * * Starting from leftmost {from} par
types/path.d.ts:87
↓ 75 callersMethodto_string
(&self)
modules/llrt_net/src/lib.rs:44
↓ 74 callersMethodalloc
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the `Buffer` will be zero-filled. * * ```js * import { Buffer } f
types/buffer.d.ts:117
↓ 74 callersMethodcall
(&self, ctx: Ctx<'js>, chunk: Value<'js>)
modules/llrt_stream_web/src/queuing_strategy/mod.rs:89
↓ 73 callersMethodas_str
(&self)
modules/llrt_crypto/src/sha_hash.rs:144
↓ 71 callersMethoddecode
(&self, bytes: T)
libs/llrt_encoding/src/lib.rs:92
↓ 69 callersFunctionassert
(expected_true, function_name, description, error, substitutions)
tests/unit/web-platform-tests/resources/testharness.js:4519
↓ 66 callersMethodget
(target: unknown, prop: any, receiver: any)
llrt_core/src/modules/js/@llrt/test/Color.ts:95
↓ 65 callersMethodclone
(&self)
modules/llrt_crypto/src/sha_hash.rs:58
↓ 64 callersMethodparse
* Returns an object from a path string - the opposite of format(). * * @param path path to evaluate. * @throws {TypeError} if `pa
types/path.d.ts:131
↓ 64 callersMethodtee
()
types/stream/web.d.ts:194
↓ 61 callersMethoddefault
()
llrt_core/src/vm.rs:53
↓ 60 callersMethodor_throw_msg
(self, ctx: &Ctx, msg: &str)
libs/llrt_utils/src/result.rs:25
↓ 59 callersMethodis_empty
(&self)
modules/llrt_buffer/src/array_buffer_view.rs:136
↓ 59 callersMethodon
( this: This<Class<'js, Self>>, ctx: Ctx<'js>, event: Value<'js>, listener: Fu
modules/llrt_events/src/lib.rs:251
↓ 59 callersMethodreject
(&self, value: impl IntoArg<'js>)
modules/llrt_stream_web/src/utils/promise.rs:195
↓ 56 callersMethoditer
(&self)
libs/llrt_utils/src/reuse_list.rs:106
↓ 55 callersMethodrespond
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)
types/stream/web.d.ts:251
↓ 54 callersMethodnext
(&mut self, ctx: Ctx<'js>)
modules/llrt_url/src/url_search_params.rs:359
↓ 53 callersFunctiontest_async_with
(func: F)
libs/llrt_test/src/lib.rs:48
↓ 51 callersMethodto_string
(&self)
llrt_core/src/modules/llrt/xml.rs:366
↓ 50 callersMethodas_object
(&self, ctx: &Ctx<'js>, name: T)
modules/llrt_crypto/src/subtle/key_algorithm.rs:560
↓ 50 callersMethodof
( ctx: Ctx<'js>, name: String, child_text: Opt<String>, with_name: Opt<String>
llrt_core/src/modules/llrt/xml.rs:402
↓ 48 callersMethodnow
* Returns the current high resolution millisecond timestamp, where 0 represents the start of the current `node` process. * @since v8.5.0
types/perf_hooks.d.ts:12
↓ 47 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:338
↓ 43 callersMethodas_bytes
(&self, ctx: &Ctx<'js>)
libs/llrt_utils/src/bytes.rs:134
↓ 43 callersMethodformat
* Returns a path string from an object - the opposite of parse(). * * @param pathObject path to evaluate.
types/path.d.ts:137
↓ 42 callersMethodinto_value
(self, ctx: &Ctx<'js>)
libs/llrt_utils/src/error.rs:10
↓ 42 callersMethoditer
(&self)
modules/llrt_http/src/headers.rs:150
↓ 39 callersMethoddelete
(&mut self, key: String)
modules/llrt_http/src/headers.rs:119
↓ 38 callersMethodto_string
(&self)
libs/llrt_logging/src/lib.rs:111
↓ 36 callersMethodok
(&self)
modules/llrt_http/src/response.rs:306
↓ 35 callersFunctionfrom_value
(ctx: &Ctx<'js>, value: Value<'js>)
llrt_core/src/modules/llrt/uuid.rs:35
↓ 35 callersMethodrefresh_reader
( mut self, )
modules/llrt_stream_web/src/readable/objects.rs:303
↓ 34 callersFunctionassert_iter_result
(iterResult, value, done, message)
tests/unit/web-platform-tests/streams/readable-streams/async-iterator.any.js:18
↓ 34 callersFunctionassert_own_property
* Assert that ``object`` has an own property with name ``property_name``. * * @param {Object} object - Object that should have the given pro
tests/unit/web-platform-tests/resources/testharness.js:1964
↓ 34 callersFunctiondecode
(input, output, desc)
tests/unit/web-platform-tests/encoding/iso-2022-jp-decoder.any.js:9
↓ 33 callersFunctiondone
* Mark test loading as complete. * * Typically this function is called implicitly on page load; it's * only necessary for users to call
tests/unit/web-platform-tests/resources/testharness.js:1144
↓ 32 callersFunctionget
()
tests/unit/web-platform-tests/streams/readable-streams/patched-global.any.js:30
↓ 32 callersFunctiontest_sync_with
(func: F)
libs/llrt_test/src/lib.rs:89
↓ 31 callersFunctionassert_unreached
* Asserts if called. Used to ensure that a specific codepath is * not taken e.g. that an error event isn't fired. * * @param {string} [
tests/unit/web-platform-tests/resources/testharness.js:2378
↓ 31 callersMethodget
(&self, index: usize)
libs/llrt_utils/src/reuse_list.rs:82
↓ 31 callersMethodget_required
( &self, k: K, object_name: &'static str, )
libs/llrt_utils/src/object.rs:29
↓ 30 callersMethodinto_js
(self, ctx: &Ctx<'js>)
modules/llrt_fs/src/read_dir.rs:90
↓ 30 callersMethodlog
* Prints to `stdout` with newline. Multiple arguments can be passed, with the * first used as the primary message and all additional used
types/console.d.ts:127
↓ 30 callersMethodset
(&mut self, key: Coerced<String>, value: Coerced<String>)
modules/llrt_url/src/url_search_params.rs:170
↓ 29 callersMethodcall
(&mut self, name: Name)
libs/llrt_dns_cache/src/lib.rs:72
↓ 29 callersMethodget
(ctx: &'a Ctx<'js>)
libs/llrt_utils/src/primordials.rs:47
↓ 29 callersMethodsend
(&self, value: T)
libs/llrt_utils/src/mc_oneshot.rs:44
↓ 29 callersMethodslice
(&self, start: Opt<isize>, end: Opt<isize>, content_type: Opt<String>)
modules/llrt_http/src/blob.rs:104
↓ 28 callersFunctionalgorithm_mismatch_error
(ctx: &Ctx<'_>, expected_algorithm: &str)
modules/llrt_crypto/src/subtle/mod.rs:352
↓ 28 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
↓ 28 callersFunctionexpose
(object, name)
tests/unit/web-platform-tests/resources/testharness.js:4710
↓ 28 callersFunctionexpose_assert
(f, name)
tests/unit/web-platform-tests/resources/testharness.js:1451
↓ 28 callersMethodget_optional
( &self, k: K, )
libs/llrt_utils/src/object.rs:22
↓ 26 callersFunctionassert_throws_exactly
* Assert the provided value is thrown. * * @param {value} exception The expected exception. * @param {Function} func Function which sho
tests/unit/web-platform-tests/resources/testharness.js:2343
↓ 26 callersMethodclear
* When `stdout` is a TTY, calling `console.clear()` will attempt to clear the * TTY. When `stdout` is not a TTY, this method does nothing
types/console.d.ts:82
next →1–100 of 2,399, ranked by callers