MCPcopy Create free account

hub / github.com/denoland/std / functions

Functions2,890 in github.com/denoland/std

↓ 3 callersFunctionisGlob
(str: string)
path/is_glob.ts:19
↓ 3 callersFunctionisIllegalXmlLiteralChar
( code: number, xml11: boolean, )
xml/_common.ts:21
↓ 3 callersFunctionisItem
(member: Item | InnerList)
http/unstable_structured_fields.ts:394
↓ 3 callersFunctionisNameStartChar
(code: number)
xml/_name_chars.ts:131
↓ 3 callersFunctionisNegativeZero
(i: number)
yaml/_utils.ts:10
↓ 3 callersFunctionisObject
(a: unknown)
expect/_utils.ts:39
↓ 3 callersFunctionisObject
(value: unknown)
yaml/_utils.ts:6
↓ 3 callersFunctionisPlainObject
(object: unknown)
yaml/_utils.ts:14
↓ 3 callersFunctionisPrintable
* @link https://yaml.org/spec/1.2.2/ 5.1. Character Set * @return `true` if the character is printable without escaping, `false` otherwise.
yaml/_dumper_state.ts:123
↓ 3 callersFunctionisSamePath
( src: string | URL, dest: string | URL, )
fs/_is_same_path.ts:15
↓ 3 callersFunctionisSameValue
(a, b)
jsonc/testdata/test262/propertyHelper.js:138
↓ 3 callersFunctionisSpy
( func: ((this: Self, ...args: Args) => Return) | unknown, )
testing/_mock_utils.ts:13
↓ 3 callersFunctionisTSpecial
(r: string)
media_types/_util.ts:128
↓ 3 callersFunctionisValidNumber
(value: unknown)
semver/_shared.ts:144
↓ 3 callersFunctionisWritable
(obj, name, verifyProp, value)
jsonc/testdata/test262/propertyHelper.js:146
↓ 3 callersFunctionitemsEqual
(a: Item, b: Item)
http/unstable_structured_fields_test.ts:859
↓ 3 callersFunctionlastPathSegment
( path: string, isSep: (char: number) => boolean, start = 0, )
path/_common/basename.ts:22
↓ 3 callersFunctionlessThan
(version1: SemVer, version2: SemVer)
semver/less_than.ts:28
↓ 3 callersMethodlnrValues
* Create an iterator over this tree that traverses the tree in-order (LNR, * Left-Node-Right). * * @example Using the in-order LNR iterator
data_structures/binary_search_tree.ts:602
↓ 3 callersFunctionmapEntries
( record: Readonly<Record<string, T>>, transformer: (entry: [string, T]) => [string, O], )
collections/map_entries.ts:39
↓ 3 callersFunctionmapValues
( record: Record<K, T>, transformer: (value: T, key: K) => O, // deno-lint-ignore no-explicit-any )
collections/map_values.ts:80
↓ 3 callersFunctionnextFloat64
(getRandomValues: RandomValueGenerator)
random/next_float_64.ts:41
↓ 3 callersMethodnextUint32
@returns The next pseudo-random 32-bit integer.
random/_pcg32.ts:112
↓ 3 callersFunctionnormalizeExtent3D
(size: GPUExtent3D)
webgpu/texture_with_data.ts:23
↓ 3 callersFunctionparseItem
(input: string)
http/unstable_structured_fields.ts:704
↓ 3 callersFunctionparseItemInternal
(state: ParserState)
http/unstable_structured_fields.ts:756
↓ 3 callersFunctionparseList
(input: string)
http/unstable_structured_fields.ts:570
↓ 3 callersFunctionparseParameters
(state: ParserState)
http/unstable_structured_fields.ts:1113
↓ 3 callersMethodpush
* Insert a new key with the given priority. Throws if the key already * exists — use {@linkcode IndexedHeap.prototype.set | set} for upsert * se
data_structures/unstable_indexed_heap.ts:565
↓ 3 callersFunctionrandomIntegerBetween
( min: number, max: number, options?: RandomOptions, )
random/integer_between.ts:28
↓ 3 callersMethodreadLineBreak
()
yaml/_loader_state.ts:541
↓ 3 callersMethodreadSync
* Synchronously read from the file into an array buffer (`p`). * * Returns either the number of bytes read during the operation or EOF * (`nu
fs/unstable_types.ts:342
↓ 3 callersFunctionreadTextFileSync
( path: string | URL, )
fs/unstable_read_text_file.ts:71
↓ 3 callersMethodreceive
* Receives a value from the channel. Suspends if the buffer is empty. * Multiple concurrent calls are supported; each value is delivered to * ex
async/channel.ts:347
↓ 3 callersFunctionregisterMock
(spy: Spy<any, any[], any>)
testing/_mock_utils.ts:34
↓ 3 callersMethodrelease
* Releases a permit, allowing the next waiter to proceed. * * @example Usage * ```ts no-assert * import { Semaphore } from "@std/async/uns
async/unstable_semaphore.ts:138
↓ 3 callersMethodreset
* Resets the lazy so the next {@linkcode get} re-runs the initializer. Does * not cancel an in-flight initialization; callers that already have the
async/lazy.ts:223
↓ 3 callersMethodresetAssertionState
* Reset all assertion state when every test suite function ran completely. * * @example Usage * ```ts ignore * import { AssertionState } f
internal/assertion_state.ts:197
↓ 3 callersFunctionresolveOptions
(opts?: BaseTitleCaseOptions)
text/_title_case_util.ts:42
↓ 3 callersMethodrestoreFor
* Restores real time temporarily until callback returns and resolves. * * @throws {TimeError} If time is not faked * * @example Usage *
testing/time.ts:432
↓ 3 callersFunctionreverse
( input: string, options?: Partial<ReverseOptions>, )
text/unstable_reverse.ts:66
↓ 3 callersFunctionserialize
(actual: unknown)
expect/_snapshot_state.ts:88
↓ 3 callersFunctionserializeItemInternal
(item: Item)
http/unstable_structured_fields.ts:1248
↓ 3 callersFunctionserializeParameters
(parameters: Parameters)
http/unstable_structured_fields.ts:1401
↓ 3 callersFunctionserializeValue
* Recursively serializes a JSON value to its canonical string representation. * * @param value The JSON value to serialize * @param ancestors Stack
json/canonicalize.ts:71
↓ 3 callersFunctionserveFile
( req: Request, filePath: string, options?: ServeFileOptions, )
http/file_server.ts:183
↓ 3 callersMethodsetRaw
* Set TTY to be under raw mode or not. In raw mode, characters are read and * returned as is, without being processed. All special processing of
fs/unstable_types.ts:357
↓ 3 callersMethodskipComment
()
yaml/_loader_state.ts:255
↓ 3 callersFunctionskipWhitespace
()
xml/_parse_sync.ts:180
↓ 3 callersFunctionslidingWindows
( iterable: Iterable<T>, size: number, options: SlidingWindowsOptions = {}, )
collections/sliding_windows.ts:69
↓ 3 callersFunctionstripSuffix
(name: string, suffix: string)
path/_common/basename.ts:6
↓ 3 callersFunctiontestComparatorSet
(version: SemVer, set: Comparator[])
semver/_test_comparator_set.ts:35
↓ 3 callersFunctiontitleCaseSegment
( s: string, opts: ResolvedOptions, _cache = titleCaseCache, )
text/_title_case_util.ts:99
↓ 3 callersMethodtoBe
* Asserts that the value is equal to the specified value. * @param expected The expected value. * * @example Usage * ```ts * import { e
expect/_types.ts:393
↓ 3 callersMethodtoJSON
* Converts the current instance to a JSON representation. * * @example Usage * ```ts ignore * import { UserAgent } from "@std/http/user-ag
http/user_agent.ts:1157
↓ 3 callersFunctiontoKebabCase
(input: string)
text/to_kebab_case.ts:20
↓ 3 callersFunctiontruncateDiff
( diffResult: ReadonlyArray<DiffResult<string>>, stringDiff: boolean, contextLength?: number | null, )
internal/truncate_build_message.ts:68
↓ 3 callersFunctionumask
(mask?: number)
fs/unstable_umask.ts:28
↓ 3 callersFunctionunflat
( keys: string[], values: unknown = { __proto__: null }, )
toml/_parser.ts:155
↓ 3 callersFunctionunregisterMock
(spy: Spy<any, any[], any>)
testing/_mock_utils.ts:40
↓ 3 callersFunctionvalidateBinaryLike
(source: unknown)
encoding/_validate_binary_like.ts:16
↓ 3 callersFunctionvalidateNamespaceBinding
( attrName: string, attrValue: string, xml11: boolean, )
xml/_common.ts:456
↓ 3 callersFunctionvalidateXmlDeclaration
( content: string, )
xml/_common.ts:177
↓ 3 callersFunctionwalkSync
( root: string | URL, options?: WalkOptions, )
fs/walk.ts:878
↓ 3 callersFunctionwithoutAll
(iterable: Iterable<T>, values: Iterable<T>)
collections/without_all.ts:28
↓ 3 callersFunctionwrite
(chunk, controller)
io/to_writable_stream.ts:41
↓ 3 callersMethodwrite
* Write the contents of the array buffer (`p`) to the file. * * Resolves to the number of bytes written. * * **It is not guaranteed that t
fs/unstable_types.ts:550
↓ 3 callersFunctionwriteFoldedLines
(count: number)
yaml/_loader_state.ts:179
↓ 3 callersFunctionwriteTextFile
( path: string | URL, data: string | ReadableStream<string>, options?: WriteFileOptions, )
fs/unstable_write_text_file.ts:27
↓ 3 callersFunctionwriteTextFileSync
( path: string | URL, data: string, options?: WriteFileOptions, )
fs/unstable_write_text_file.ts:78
↓ 2 callersMethod#advanceState
* Advances the state machine, transitioning OPEN -> HALF_OPEN when * the cooldown has expired. No-op for other states.
async/unstable_circuit_breaker.ts:730
↓ 2 callersMethod#advanceWithCode
(code: number)
xml/_tokenizer.ts:619
↓ 2 callersMethod#bulkLoad
* Append all `[key, priority]` pairs and heapify in linear time. Used by * the constructor and by {@linkcode IndexedHeap.from} for the * non-`In
data_structures/unstable_indexed_heap.ts:470
↓ 2 callersMethod#callIteratorNext
( iterator: AsyncIterator<T>, )
async/mux_async_iterator.ts:79
↓ 2 callersMethod#deliverToReceiver
Hands `value` to the next waiting receiver, if any.
async/channel.ts:698
↓ 2 callersMethod#dequeue
* Pops the head value from the ring buffer. If a sender is waiting, its * value is promoted into the freed slot.
async/channel.ts:709
↓ 2 callersMethod#emitDeclaration
(target: string, content: string)
xml/_tokenizer.ts:718
↓ 2 callersMethod#flushText
()
xml/_tokenizer.ts:488
↓ 2 callersMethod#getCodePoint
* Get the full Unicode code point at the current buffer position. * Handles surrogate pairs for astral plane characters (U+10000+). * Returns [c
xml/_tokenizer.ts:439
↓ 2 callersMethod#getCurrentSnapshotsInitialized
* Asserts that `this.#currentSnapshots` has been initialized and then returns it. * * Should only be called when `this.#currentSnapshots` has al
testing/snapshot.ts:338
↓ 2 callersMethod#getTypeOfArray
(arr: unknown[])
toml/stringify.ts:108
↓ 2 callersMethod#grow
(n: number)
io/buffer.ts:343
↓ 2 callersMethod#grow
(n: number)
streams/buffer.ts:364
↓ 2 callersMethod#insertNode
( Node: typeof BinarySearchNode, value: T, )
data_structures/binary_search_tree.ts:360
↓ 2 callersMethod#isEOF
()
csv/parse.ts:70
↓ 2 callersMethod#isNameCharCode
(code: number)
xml/_tokenizer.ts:422
↓ 2 callersMethod#isNameStartCharCode
(code: number)
xml/_tokenizer.ts:412
↓ 2 callersMethod#maybeGrow
()
data_structures/deque.ts:843
↓ 2 callersMethod#parseString
(value: { type: "String"; sourceText: string; position: number; })
jsonc/parse.ts:296
↓ 2 callersMethod#print
()
cli/unstable_progress_bar.ts:273
↓ 2 callersMethod#printDate
(value: Date)
toml/stringify.ts:209
↓ 2 callersMethod#read
()
tar/untar_stream.ts:195
↓ 2 callersMethod#readDefinite
( items: number | bigint, )
cbor/sequence_decoder_stream.ts:167
↓ 2 callersMethod#readGen
(bytes: bigint)
cbor/sequence_decoder_stream.ts:161
↓ 2 callersMethod#realloc
(newCapacity: number)
data_structures/deque.ts:794
↓ 2 callersMethod#receiveError
()
async/channel.ts:719
↓ 2 callersMethod#removeAtUnchecked
Extract value, close the gap, update length, and optionally shrink.
data_structures/deque.ts:810
↓ 2 callersMethod#removeNode
Removes the given node, and returns the node that was physically removed from the tree.
data_structures/binary_search_tree.ts:387
↓ 2 callersMethod#rotateToNow
Advances both counters to the current time, evicting stale segments.
async/unstable_circuit_breaker.ts:709
↓ 2 callersMethod#setMostRecentlyUsed
(key: K, value: V)
cache/lru_cache.ts:147
← previousnext →401–500 of 2,890, ranked by callers