MCPcopy Create free account

hub / github.com/denoland/std / functions

Functions2,890 in github.com/denoland/std

↓ 4 callersMethodnextAsync
* Runs all pending microtasks then advances time to when the next scheduled timer is due. * If there are no pending timers, time will not be change
testing/time.ts:745
↓ 4 callersFunctionnormalize
(path: string | URL)
path/normalize.ts:31
↓ 4 callersFunctionnumberToArray
(bytes: number, x: number | bigint)
cbor/_common.ts:5
↓ 4 callersMethodpadNum
* Pad a number * @param nStr * @param neg
fmt/printf.ts:568
↓ 4 callersFunctionparse
(text: string)
dotenv/parse.ts:77
↓ 4 callersFunctionparseMediaType
( type: string, )
media_types/parse_media_type.ts:36
↓ 4 callersFunctionparseXmlRecords
( source: AsyncIterable<string>, createCallbacks: (emit: (record: T) => void) => XmlEventCallbacks, opti
xml/parse_records.ts:84
↓ 4 callersFunctionpartition
( array: Iterable<unknown>, predicate: (el: unknown, index: number) => boolean, )
collections/partition.ts:85
↓ 4 callersMethodreadDocuments
( options: { singleDocument?: boolean } = {}, )
yaml/_loader_state.ts:1844
↓ 4 callersFunctionreadTextFile
( path: string | URL, options?: ReadFileOptions, )
fs/unstable_read_text_file.ts:30
↓ 4 callersMethodreset
* Resets the contents * * @example Usage * ```ts * import { Buffer } from "@std/io/buffer"; * import { assertEquals } from "@std/assert
io/buffer.ts:200
↓ 4 callersMethodreset
* Resets to an empty buffer. * * @example Basic usage * ```ts * import { assert } from "@std/assert"; * import { Buffer } from "@std/st
streams/buffer.ts:346
↓ 4 callersFunctionsatisfies
(version: SemVer, range: Range)
semver/satisfies.ts:28
↓ 4 callersFunctionserializeDictionary
(dict: Dictionary)
http/unstable_structured_fields.ts:1197
↓ 4 callersMethodskipWhitespaces
()
yaml/_loader_state.ts:247
↓ 4 callersMethodstop
* Stops the spinner. * * @example Usage * ```ts ignore * import { Spinner } from "@std/cli/unstable-spinner"; * * const spinner = ne
cli/unstable_spinner.ts:261
↓ 4 callersFunctionstringify
( data: readonly DataItem[], options?: StringifyOptions, )
csv/stringify.ts:428
↓ 4 callersFunctiontakeFromExternrefTable0
(idx)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:103
↓ 4 callersMethodtestDocumentSeparator
()
yaml/_loader_state.ts:595
↓ 4 callersMethodtruncate
* Truncates (or extends) the file to reach the specified `len`. If `len` is * not specified, then the entire file contents are truncated. * *
fs/unstable_types.ts:479
↓ 4 callersFunctionunreachable
(msg?: string)
assert/unreachable.ts:18
↓ 4 callersMethodupdate
(&mut self, data: js_sys::Uint8Array)
crypto/_wasm/src/lib.rs:54
↓ 4 callersFunctionvalidatePubidLiteral
( value: string, quote: string, )
xml/_common.ts:514
↓ 4 callersFunctionvalidateQName
(name: string, colonIndex: number)
xml/_common.ts:420
↓ 4 callersFunctionwriteAll
(writer: Writer, data: Uint8Array)
io/write_all.ts:31
↓ 4 callersMethodwriteSync
* Writes the given data to the buffer. * * @example Usage * ```ts * import { Buffer } from "@std/io/buffer"; * import { assertEquals }
io/buffer.ts:309
↓ 3 callersMethod#clearCounters
Resets both counters and the rotation timestamp.
async/unstable_circuit_breaker.ts:720
↓ 3 callersMethod#copyBuffer
(source: Deque<T>, capacity: number)
data_structures/deque.ts:781
↓ 3 callersMethod#decodeZero
(aI: number)
cbor/sequence_decoder_stream.ts:241
↓ 3 callersMethod#findIndex
(predicate: (value: T, index: number) => boolean)
data_structures/deque.ts:800
↓ 3 callersMethod#findNode
(value: T)
data_structures/binary_search_tree.ts:324
↓ 3 callersMethod#getNext
Read the next token. If the token is read to the end, it throws a SyntaxError.
jsonc/parse.ts:85
↓ 3 callersMethod#nextSender
Pops the next sender from the queue.
async/channel.ts:693
↓ 3 callersMethod#parseJsonValue
(value: Token)
jsonc/parse.ts:191
↓ 3 callersMethod#siftUp
Bubble the entry at `pos` up toward the root while it is smaller than its parent.
data_structures/unstable_indexed_heap.ts:488
↓ 3 callersFunction_format
( sep: string, pathObject: Partial<ParsedPath>, )
path/_common/format.ts:6
↓ 3 callersFunctionabortable
( p: Promise<T> | AsyncIterable<T>, signal: AbortSignal, )
async/abortable.ts:116
↓ 3 callersFunctionassertHasExampleTag
( document: { jsDoc: JsDoc; location: Location }, )
_tools/check_docs.ts:166
↓ 3 callersFunctionassertLessOrEqual
( actual: T, expected: T, msg?: string, )
assert/less_or_equal.ts:24
↓ 3 callersFunctionbuildEqualErrorMessage
( actual: T, expected: T, options: EqualErrorMessageOptions = {}, )
expect/_build_message.ts:27
↓ 3 callersFunctionbuildEqualOptions
(options: EqualOptionUtil)
expect/_utils.ts:8
↓ 3 callersMethodbytes
* Returns a slice holding the unread portion of the buffer. * * The slice is valid for use only until the next buffer modification (that * is
streams/buffer.ts:195
↓ 3 callersFunctioncheck
(buf: Buffer, s: string)
io/buffer_test.ts:29
↓ 3 callersMethodcheckAssertionErrorState
* Check Assertion internal state, if `#state.assertionCheck` is set true, but * `#state.assertionTriggered` is still false, then should throw an As
internal/assertion_state.ts:182
↓ 3 callersFunctioncheckPriority
* Throws if `priority` is the literal `NaN` value, which would silently * corrupt the heap (`NaN` compares as neither less, greater, nor equal). *
data_structures/unstable_indexed_heap.ts:52
↓ 3 callersFunctionchunk
( iterable: Iterable<T>, size: number, )
collections/chunk.ts:40
↓ 3 callersMethodclose
(...args: [reason: unknown] | [])
async/channel.ts:487
↓ 3 callersFunctionconfigureGlobalSanitizers
( options: ConfigureGlobalSanitizersOptions, )
testing/unstable_bdd.ts:132
↓ 3 callersFunctionconsumeToken
(v: string)
media_types/_util.ts:10
↓ 3 callersFunctioncopyFile
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:100
↓ 3 callersFunctioncopyFileSync
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:115
↓ 3 callersFunctioncreateSignatureBase
( options: CreateSignatureBaseOptions, )
http/unstable_message_signatures.ts:705
↓ 3 callersFunctioncreateStandardResponse
(status: StatusCode, init?: ResponseInit)
http/file_server.ts:104
↓ 3 callersFunctioncreateWalkEntry
(path: string | URL)
fs/_create_walk_entry.ts:33
↓ 3 callersFunctioncreateWalkEntrySync
(path: string | URL)
fs/_create_walk_entry.ts:18
↓ 3 callersFunctiondeadline
( p: Promise<T>, ms: number, options: DeadlineOptions = {}, )
async/deadline.ts:42
↓ 3 callersFunctiondecodeBase64
(b64: string)
encoding/base64.ts:84
↓ 3 callersFunctiondecodeHex
(src: string)
encoding/hex.ts:89
↓ 3 callersFunctiondecodeSlice
* Given a uint8array which contains a msgpack object, * return the value of the object as well as how many bytes * were consumed in obtaining this o
msgpack/decode.ts:109
↓ 3 callersFunctiondeepAssign
( target: Record<string, unknown>, body: Block | Table | TableArray, )
toml/_parser.ts:231
↓ 3 callersFunctiondescribeTextureFormat
( format: GPUTextureFormat, )
webgpu/describe_texture_format.ts:50
↓ 3 callersFunctiondistinctBy
( array: Iterable<T>, discriminator: (el: T, index: number) => D, )
collections/distinct_by.ts:41
↓ 3 callersMethoddrain
* Create an iterator that retrieves values from the binary heap in order * from greatest to least. The binary heap is drained in the process. *
data_structures/binary_heap.ts:421
↓ 3 callersFunctionencodeBase32
(data: ArrayBuffer | Uint8Array | string)
encoding/base32.ts:54
↓ 3 callersFunctionencodeString
( input: string, output: Uint8Array, offset: number, )
cbor/_common_encode.ts:190
↓ 3 callersFunctionencodeTime
(timestamp: number)
ulid/_util.ts:20
↓ 3 callersFunctionencodeWhitespace
(string: string)
path/_common/to_file_url.ts:13
↓ 3 callersFunctionensureValidCopy
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:44
↓ 3 callersFunctionensureValidCopySync
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:72
↓ 3 callersMethodeof
()
yaml/_loader_state.ts:205
↓ 3 callersMethodexecute
* Executes a function through the circuit breaker. * * The function can be synchronous or asynchronous. The result is always * returned as a
async/unstable_circuit_breaker.ts:560
↓ 3 callersMethodfindMinNode
()
data_structures/_binary_search_node.ts:39
↓ 3 callersMethodfmtFloatSpecial
* Format special float * @param n
fmt/printf.ts:661
↓ 3 callersFunctionformatRange
(range: Range)
semver/format_range.ts:29
↓ 3 callersMethodformatToParts
(string: string)
datetime/_date_time_formatter.ts:323
↓ 3 callersFunctiongetAssertionState
()
internal/assertion_state.ts:244
↓ 3 callersFunctiongetEntrypoints
()
_tools/utils.ts:20
↓ 3 callersFunctiongetErrorMessage
(message: string, options: SnapshotOptions)
testing/_snapshot_utils.ts:7
↓ 3 callersMethodgetFileName
()
testing/unstable_snapshot.ts:44
↓ 3 callersFunctiongetIndent
(line: string)
internal/truncate_build_message.ts:163
↓ 3 callersFunctiongetIsUpdate
(options: SnapshotOptions)
testing/_snapshot_utils.ts:77
↓ 3 callersMethodgetName
Get the raw attribute name at the given index.
xml/types.ts:382
↓ 3 callersFunctiongetPackagesDenoJsons
()
_tools/utils.ts:13
↓ 3 callersFunctiongetRandomValuesSeeded
( seed: bigint, )
random/get_random_values_seeded.ts:27
↓ 3 callersFunctiongetRowPadding
(width: number)
webgpu/row_padding.ts:35
↓ 3 callersFunctiongetSchema
( schema: SchemaType = "default", types?: ImplicitType[], )
yaml/_schema.ts:169
↓ 3 callersFunctiongetUint8ArrayMemory0
()
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:24
↓ 3 callersFunctiongray
(str: string)
fmt/colors.ts:434
↓ 3 callersMethodgrow
Grows the buffer's capacity, if necessary, to guarantee space for * another `n` bytes. After `.grow(n)`, at least `n` bytes can be written to *
io/buffer.ts:397
↓ 3 callersMethodignore
Registers an individual test case with ignore set to true.
testing/bdd.ts:574
↓ 3 callersFunctioninit
()
io/buffer_test.ts:18
↓ 3 callersFunctioninspectArgs
(args: unknown[])
expect/_inspect_args.ts:4
↓ 3 callersFunctionintersect
(...iterables: Iterable<T>[])
collections/intersect.ts:27
↓ 3 callersFunctionisAlpha
Check if character is alphabetic (A-Z or a-z)
http/unstable_structured_fields.ts:448
↓ 3 callersFunctionisCharCodeInRange
(c: number, lower: number, upper: number)
yaml/_type/int.ts:9
↓ 3 callersFunctionisConfigurable
(obj, name)
jsonc/testdata/test262/propertyHelper.js:106
↓ 3 callersFunctionisDigit
Check if character is a digit (0-9)
http/unstable_structured_fields.ts:455
↓ 3 callersFunctionisEnumerable
(obj, name)
jsonc/testdata/test262/propertyHelper.js:118
↓ 3 callersMethodisEval
()
testing/unstable_snapshot.ts:43
↓ 3 callersFunctionisFlowIndicator
(c: number)
yaml/_chars.ts:47
← previousnext →301–400 of 2,890, ranked by callers