MCPcopy Create free account

hub / github.com/denoland/std / functions

Functions2,890 in github.com/denoland/std

↓ 2 callersMethod__destroy_into_raw
()
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:157
↓ 2 callersFunction__wbindgen_memory
()
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:291
↓ 2 callersFunction_globToRegExp
( c: GlobConstants, glob: string, { extended = true, globstar: globstarOption = true, // os
path/_common/glob_to_reg_exp.ts:61
↓ 2 callersMethod_handleVerb
(arg: any)
fmt/printf.ts:505
↓ 2 callersFunction_serializeArgList
( cache: MemoizationCache<unknown, Return>, )
cache/_serialize_arg_list.ts:13
↓ 2 callersFunctiona
()
collections/union_test.ts:152
↓ 2 callersMethodabort
()
testing/time.ts:580
↓ 2 callersMethodaction
()
testing/mock_test.ts:489
↓ 2 callersMethodaddStep
This is used internally to add steps to a test suite.
testing/_test_suite.ts:301
↓ 2 callersFunctionadvanceMatch
( walkInfo: WalkEntry, globSegment: string, )
fs/expand_glob.ts:316
↓ 2 callersFunctionafterAll
( fn: (this: T) => void | Promise<void>, )
testing/bdd.ts:979
↓ 2 callersFunctionaggregateGroups
( record: Readonly<Record<string, ReadonlyArray<T>>>, aggregator: (current: T, key: string, first: boolean
collections/aggregate_groups.ts:45
↓ 2 callersFunctionallExtensions
(type: string)
media_types/all_extensions.ts:28
↓ 2 callersFunctionapplyPropertyMatchers
* Validates property matchers against the actual value and returns the * value to serialize (with asymmetric matchers replaced by their string * rep
expect/_matchers.ts:1076
↓ 2 callersFunctionassertFp
(value: unknown)
internal/diff.ts:73
↓ 2 callersFunctionassertFunctionDocs
* Asserts that a function document has: * - A `@typeParam` tag for each type parameter. * - A {@linkcode https://jsdoc.app/tags-param | @param} tag
_tools/check_docs.ts:224
↓ 2 callersFunctionassertHasParamTag
( document: { jsDoc: JsDoc; location: Location }, param: string, )
_tools/check_docs.ts:120
↓ 2 callersFunctionassertHasSnippets
( doc: string, document: { jsDoc: JsDoc; location: Location }, )
_tools/check_docs.ts:141
↓ 2 callersFunctionassertHasTypeParamTags
( document: { jsDoc: JsDoc; location: Location }, typeParamName: string, )
_tools/check_docs.ts:194
↓ 2 callersFunctionassertIgnoreOptions
* Asserts that `Deno.test` is called with the correct options for the `describe` call in the callback function. * This is used to reduce code dup
testing/bdd_test.ts:1094
↓ 2 callersFunctionassertIsCallbackFunction
( callback: unknown, fnName: "setTimeout" | "setInterval", )
testing/time.ts:130
↓ 2 callersFunctionassertIsDefaultAbortReason
(reason: unknown)
async/delay_test.ts:14
↓ 2 callersFunctionassertNever
(x: never, msg?: string)
assert/unstable_never.ts:97
↓ 2 callersFunctionassertNotInstanceOf
( actual: A, // deno-lint-ignore no-explicit-any unexpectedType: abstract new (...args: any[]) => T, m
assert/not_instance_of.ts:23
↓ 2 callersFunctionassertOptions
* Asserts that `Deno.test` is called with the correct options for the `it` call in the callback function. * This is used to reduce code duplication
testing/bdd_test.ts:149
↓ 2 callersFunctionassertSnapshot
( context: Deno.TestContext, actual: unknown, msgOrOpts?: string | SnapshotOptions<unknown>, )
testing/snapshot.ts:606
↓ 2 callersFunctionassertSpyCallArg
( spy: SpyLike<Self, Args, Return>, callIndex: number, argIndex: number, expected: ExpectedArg, )
testing/mock.ts:1459
↓ 2 callersFunctionassertValidDigestLength
* Asserts that a number is a valid length for a digest, which must be an * integer that fits in a Rust `Vec<u8>`, or be undefined.
crypto/crypto.ts:302
↓ 2 callersFunctionassertValidTarStreamOptions
(options: TarStreamOptions)
tar/tar_stream.ts:520
↓ 2 callersFunctionassertWalkPaths
( parentDir: string, rootPath: string, expectedPaths: string[], options?: WalkOptions, )
fs/walk_test.ts:14
↓ 2 callersFunctionassertWalkSyncPaths
( parentDir: string, rootPath: string, expectedPaths: string[], options?: WalkOptions, )
fs/walk_test.ts:28
↓ 2 callersFunctionassociateBy
( array: Iterable<T>, selector: (el: T) => string, )
collections/associate_by.ts:39
↓ 2 callersFunctionassociateWith
( array: Iterable<string>, selector: (key: string) => T, )
collections/associate_with.ts:35
↓ 2 callersFunctionbackTrace
( A: T[], B: T[], current: FarthestPoint, swapped: boolean, routes: Uint32Array, diffTypesPtrOffse
internal/diff.ts:111
↓ 2 callersFunctionbareItemsEqual
(a: BareItem, b: BareItem)
http/unstable_structured_fields_test.ts:824
↓ 2 callersFunctionbeforeAll
( fn: (this: T) => void | Promise<void>, )
testing/bdd.ts:913
↓ 2 callersFunctionblock
( scanner: Scanner, )
toml/_parser.ts:788
↓ 2 callersFunctionboolean
( value: boolean, )
http/unstable_structured_fields.ts:263
↓ 2 callersFunctionbuildNotEqualErrorMessage
( actual: T, expected: T, options: EqualErrorMessageOptions = {}, )
expect/_build_message.ts:50
↓ 2 callersFunctionbuildSignatureParamsValue
( components: ComponentIdentifier[], params: SignatureParams, )
http/unstable_message_signatures.ts:601
↓ 2 callersFunctioncalcBytes
(x: bigint)
cbor/_common_encode.ts:6
↓ 2 callersFunctioncalcEncodingSize
(x: CborType)
cbor/_common_encode.ts:23
↓ 2 callersFunctioncalcHeaderSize
(x: number | bigint)
cbor/_common_encode.ts:15
↓ 2 callersMethodcancel
()
cli/unstable_progress_bar_stream.ts:67
↓ 2 callersMethodcancel
()
csv/parse_stream.ts:90
↓ 2 callersFunctioncanonicalize
(value: JsonValue)
json/canonicalize.ts:145
↓ 2 callersMethodcheckAssertionCountSatisfied
* Check Assertion called state, if `#state.assertionCount` is set to a number value, but * `#state.assertionTriggeredCount` is less then it, then s
internal/assertion_state.ts:223
↓ 2 callersFunctioncheckLinkname
(bytes: number)
tar/tar_stream.ts:709
↓ 2 callersFunctioncheckWindows
()
internal/_os.ts:3
↓ 2 callersFunctioncodePointLength
(s: string)
csv/_shared.ts:11
↓ 2 callersFunctioncomparatorIntersects
( comparator1: Comparator, comparator2: Comparator, )
semver/range_intersects.ts:8
↓ 2 callersFunctioncompareIdentifier
( v1: ReadonlyArray<string | number> = [], v2: ReadonlyArray<string | number> = [], )
semver/_shared.ts:26
↓ 2 callersFunctioncompareSimilarity
( givenWord: string, options?: CompareSimilarityOptions, )
text/compare_similarity.ts:51
↓ 2 callersFunctionconsolidateCommon
( commons: ReadonlyArray<CommonDiffResult<string>>, location: "start" | "middle" | "end", stringDiff: bo
internal/truncate_build_message.ts:121
↓ 2 callersFunctionconsumeMediaParam
( v: string, )
media_types/_util.ts:48
↓ 2 callersFunctionconsumeValue
(v: string)
media_types/_util.ts:21
↓ 2 callersFunctioncontentType
( extensionOrType: T, )
media_types/content_type.ts:59
↓ 2 callersFunctionconvertExpectedBareItem
(expected: any)
http/unstable_structured_fields_test.ts:735
↓ 2 callersFunctionconvertExpectedItem
(expected: any[])
http/unstable_structured_fields_test.ts:780
↓ 2 callersFunctionconvertExpectedParams
(params: any[])
http/unstable_structured_fields_test.ts:770
↓ 2 callersFunctionconvertRowToObject
( row: readonly string[], headers: readonly string[], zeroBasedLine: number, )
csv/_io.ts:227
↓ 2 callersFunctioncopy
(src: Uint8Array, dst: Uint8Array, offset = 0)
bytes/copy.ts:43
↓ 2 callersFunctioncopy
( src: string | URL, dest: string | URL, options: CopyOptions = {}, )
fs/copy.ts:306
↓ 2 callersFunctioncopySymLink
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:131
↓ 2 callersFunctioncopySymlinkSync
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:155
↓ 2 callersFunctioncopySync
( src: string | URL, dest: string | URL, options: CopyOptions = {}, )
fs/copy.ts:382
↓ 2 callersFunctioncreateBareQuoteErrorMessage
( zeroBasedRecordStartLine: number, zeroBasedLine: number, zeroBasedColumn: number, )
csv/_io.ts:204
↓ 2 callersFunctioncreateBaseHeaders
()
http/file_server.ts:434
↓ 2 callersFunctioncreateColor
( diffType: DiffType, /** * TODO(@littledivy): Remove this when we can detect true color terminals. See
internal/build_message.ts:26
↓ 2 callersFunctioncreateCommon
(A: T[], B: T[])
internal/diff.ts:39
↓ 2 callersFunctioncreateDetails
( line: DiffResult<string>, tokens: DiffResult<string>[], )
internal/diff_str.ts:101
↓ 2 callersFunctioncreateFp
( k: number, M: number, routes: Uint32Array, diffTypesPtrOffset: number, ptr: number, slide?: Fart
internal/diff.ts:188
↓ 2 callersFunctioncreateLPS
(pat: Uint8Array)
streams/_common.ts:8
↓ 2 callersFunctioncreateNode
()
http/unstable_route.ts:205
↓ 2 callersFunctioncreateQuoteErrorMessage
( zeroBasedRecordStartLine: number, zeroBasedLine: number, zeroBasedColumn: number, )
csv/_io.ts:215
↓ 2 callersFunctioncreateSchema
({ explicitTypes = [], implicitTypes = [], include }: { implicitTypes?: ImplicitType[]; explicitTypes?: Ex
yaml/_schema.ts:86
↓ 2 callersFunctioncreateSign
(diffType: DiffType)
internal/build_message.ts:63
↓ 2 callersFunctioncreateXmlPipeline
( options: ParseStreamOptions, callbacks: XmlEventCallbacks, )
xml/_pipeline.ts:32
↓ 2 callersFunctioncwd
(errorMessage: string)
path/_common/env.ts:3
↓ 2 callersFunctiondate
(value: Date)
http/unstable_structured_fields.ts:287
↓ 2 callersFunctiondecimal
(value: number)
http/unstable_structured_fields.ts:178
↓ 2 callersFunctiondecode
(data: Uint8Array)
msgpack/decode.ts:24
↓ 2 callersFunctiondecode2331Encoding
(v: string)
media_types/_util.ts:73
↓ 2 callersFunctiondecodeAsyncIterable
( source: AsyncIterable<Uint8Array>, )
xml/_decode.ts:19
↓ 2 callersFunctiondecodeBase32
(b32: string)
encoding/base32.ts:86
↓ 2 callersFunctiondecodeTwo
( input: Uint8Array, aI: number, offset: number, )
cbor/_common_decode.ts:78
↓ 2 callersFunctiondecodeZero
( input: Uint8Array, aI: number, offset: number, )
cbor/_common_decode.ts:50
↓ 2 callersFunctiondeepMergeInternal
( record: Readonly<T>, other: Readonly<U>, seen: Set<NonNullable<unknown>>, options: Readonly<Options>
collections/deep_merge.ts:230
↓ 2 callersFunctiondefaultHandler
(request: Request)
http/unstable_route_test.ts:32
↓ 2 callersMethoddelay
* Resolves after the given number of milliseconds using real time. * * @example Usage * ```ts * import { FakeTime } from "@std/testing/tim
testing/time.ts:571
↓ 2 callersMethoddelete
* Deletes the value associated with the given key. * * @experimental **UNSTABLE**: New API, yet to be vetted. * * @param key The key to de
cache/ttl_cache.ts:287
↓ 2 callersFunctiondescend
(a: T, b: T)
data_structures/comparators.ts:46
↓ 2 callersFunctiondescribeDefinition
Generates a DescribeDefinition from DescribeArgs.
testing/bdd.ts:1147
↓ 2 callersFunctiondigest
* Polyfills stream support until the Web Crypto API does so: * @see {@link https://github.com/wintercg/proposal-webcrypto-streams}
crypto/crypto.ts:205
↓ 2 callersMethoddigestAndDrop
* Returns the digest of the input data so far, and then drops the context * from memory on the Wasm side. This context must no longer be used, and
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:218
↓ 2 callersFunctiondisplayString
( value: string, )
http/unstable_structured_fields.ts:307
↓ 2 callersMethodempty
* Returns whether the unread portion of the buffer is empty. * * @example Usage * ```ts * import { Buffer } from "@std/io/buffer"; * im
io/buffer.ts:112
↓ 2 callersFunctionemptyDir
(dir: string | URL)
fs/empty_dir.ts:27
↓ 2 callersFunctionemptyDirSync
(dir: string | URL)
fs/empty_dir.ts:70
↓ 2 callersFunctionencode
(object: ValueType)
msgpack/encode.ts:66
← previousnext →501–600 of 2,890, ranked by callers