MCPcopy Create free account

hub / github.com/cloudflare/workerd / functions

Functions4,532 in github.com/cloudflare/workerd

↓ 3,021 callersFunctionstrictEqual
( actual: unknown, expected: unknown, message?: string | Error )
src/node/internal/internal_assert.ts:236
↓ 877 callersMethodfrom
src/workerd/jsg/modules.h:234
↓ 642 callersMethodon
(eventName: EventName, listener: EventCallback)
src/node/internal/events.ts:75
↓ 442 callersFunctionthrows
( fn: () => void, error?: RegExp | Function | Error, message?: string )
src/node/internal/internal_assert.ts:84
↓ 432 callersMethodpush
Forwards the entry to all consumers (except skipConsumer if given). For each consumer, the entry will be used to fulfill any pending consume operation
src/workerd/api/streams/queue.h:215
↓ 423 callersMethodget
* @param name Name of the Worker script. * @param args Arguments to Worker script. * @param options Options for Dynamic Dispatch invocation. * @
types/defines/wfp.d.ts:31
↓ 399 callersMethodresolve
src/workerd/jsg/promise.h:325
↓ 384 callersMethodwrite
(string: string, encoding?: string)
src/node/internal/internal_buffer.ts:162
↓ 379 callersMethodtoString
(encoding?: string, start?: number, end?: number)
src/node/internal/internal_buffer.ts:161
↓ 281 callersFunctiondeepStrictEqual
( actual: unknown, expected: unknown, message?: string | Error )
src/node/internal/internal_assert.ts:327
↓ 257 callersMethodtrackField
src/workerd/jsg/jsg.h:940
↓ 243 callersMethodforEach
src/workerd/jsg/iterator.h:190
↓ 217 callersMethodread
(this: Duplex, size: number)
src/node/internal/streams_transform.d.ts:419
↓ 204 callersMethodend
(buf?: ArrayBufferView | DataView | string)
src/node/internal/internal_stringdecoder.ts:68
↓ 198 callersMethodincludes
(value: number, byteOffset?: number)
src/node/internal/internal_buffer.ts:123
↓ 177 callersMethodindexOf
(value: number, byteOffset?: number)
src/node/internal/internal_buffer.ts:127
↓ 164 callersMethodall
()
src/cloudflare/internal/d1-api.ts:472
↓ 159 callersMethodexec
()
src/workerd/api/tests/url-test.js:9439
↓ 138 callersMethodalloc
src/workerd/jsg/buffersource.h:89
↓ 133 callersMethodcall
src/workerd/util/capnp-mock.h:105
↓ 132 callersMethodfill
(value: number, offset?: number, end?: number)
src/node/internal/internal_buffer.ts:119
↓ 131 callersMethodjoin
(s)
src/node/internal/streams_util.js:528
↓ 123 callersMethodmap
src/workerd/api/crypto/crypto.h:120
↓ 122 callersMethodlastIndexOf
(value: number, byteOffset?: number)
src/node/internal/internal_buffer.ts:131
↓ 120 callersFunctionassert
(actual: unknown, message?: string | Error)
src/node/internal/internal_assert.ts:65
↓ 120 callersMethoddestroy
( this: Duplex, error: Error | null, callback: (error: Error | null) => void )
src/node/internal/streams_transform.d.ts:432
↓ 117 callersFunctiontestBufs
(string, offset, length, encoding)
src/workerd/api/node/tests/buffer-nodejs-test.js:2602
↓ 102 callersMethodtext
(buf: ArrayBufferView | DataView | string, offset?: number)
src/node/internal/internal_stringdecoder.ts:69
↓ 96 callersMethodset
src/workerd/jsg/jsvalue.h:451
↓ 94 callersMethodappend
src/workerd/util/string-buffer.h:29
↓ 93 callersMethodhas
src/workerd/api/cache.h:111
↓ 93 callersMethodpush
(v)
src/node/internal/streams_util.js:495
↓ 90 callersMethodtest
()
src/workerd/api/tests/url-test.js:9436
↓ 86 callersFunctionstr
(i: number, n: number)
npm/lib/node-install.ts:103
↓ 83 callersMethodbind
src/workerd/util/sqlite.h:548
↓ 80 callersMethodemit
(eventName: EventName, ...args: unknown[])
src/node/internal/events.ts:69
↓ 80 callersFunctionfrom
(key: CryptoKey)
src/node/internal/crypto_keys.ts:94
↓ 80 callersMethodthen
src/workerd/jsg/promise.h:244
↓ 79 callersFunctioncheck
src/workerd/jsg/util.h:170
↓ 79 callersFunctionvalidateOffset
( value: number, name: string, min: number = 0, max: number = Number.MAX_SAFE_INTEGER )
src/node/internal/internal_buffer.ts:2553
↓ 78 callersMethodequals
(other: Uint8Array)
src/node/internal/internal_buffer.ts:118
↓ 75 callersMethodwait
()
src/workerd/api/tests/htmlrewriter-test.js:640
↓ 73 callersFunctionresolve
(...args)
src/workerd/api/node/tests/streams-test.js:51
↓ 72 callersFunctioninspect
( value: unknown, opts?: Partial<InspectOptionsStylized> | boolean )
src/node/internal/internal_inspect.ts:538
↓ 69 callersMethodclose
Closes the queue. The close is forwarded on to all consumers. If we are already closed or errored, do nothing here.
src/workerd/api/streams/queue.h:162
↓ 60 callersFunctionprintNode
(node: ts.Node)
types/src/print.ts:16
↓ 60 callersMethodvisit
src/workerd/jsg/jsg.h:1812
↓ 59 callersMethodlog
()
src/workerd/api/node/tests/util-nodejs-test.js:2267
↓ 57 callersMethodresume
()
src/workerd/api/node/tests/streams-test.js:3653
↓ 55 callersMethodcompare
( target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sour
src/node/internal/internal_buffer.ts:105
↓ 54 callersMethodremoveListener
(eventName: EventName, listener: EventCallback)
src/node/internal/events.ts:83
↓ 53 callersMethodconcat
(n)
src/node/internal/streams_util.js:536
↓ 52 callersMethodabort
()
src/workerd/api/tests/js-rpc-test.js:303
↓ 52 callersMethodreject
src/workerd/jsg/promise.h:349
↓ 51 callersMethodadd
src/workerd/jsg/jsg-test.h:162
↓ 50 callersFunctionfn
()
src/workerd/api/node/tests/util-nodejs-test.js:2352
↓ 50 callersMethodkeys
Our cache does not support cache item enumeration, so this is not possible to implement.
src/workerd/api/cache.h:61
↓ 48 callersMethodonce
(eventName: EventName, listener: EventCallback)
src/node/internal/events.ts:76
↓ 45 callersFunctionrejects
( asyncFn: Promise<any> | (() => Promise<any>), error?: RegExp | Function | Error | string, message?: st
src/node/internal/internal_assert.ts:480
↓ 44 callersMethodgetHandle
src/workerd/jsg/jsg.h:2783
↓ 44 callersMethodsize
src/workerd/jsg/jsg.h:1110
↓ 43 callersFunctioncreateTypeNode
( type: Type, allowCoercion = false, allowMethodParameterCoercion = false )
types/src/generator/type.ts:209
↓ 43 callersMethodfetch
(a, b, c)
src/workerd/api/tests/js-rpc-test.js:42
↓ 42 callersFunctionisPathSeparator
(code: number)
src/node/internal/internal_path.ts:36
↓ 40 callersFunctionboundsError
(value: number, length: number, type?: string)
src/node/internal/internal_buffer.ts:2311
↓ 38 callersMethodfn
* Creates a mock function tracker. * @param {Function} [original] - The original function to be tracked. * @param {Function} [implementation] -
src/node/internal/mock.js:178
↓ 38 callersMethodwrite
(buf: ArrayBufferView | DataView | string)
src/node/internal/internal_stringdecoder.ts:67
↓ 37 callersMethodmethod
(msg)
src/workerd/api/node/tests/assert-test.js:706
↓ 37 callersFunctionvalidateString
( value: unknown, name: string )
src/node/internal/validators.ts:147
↓ 36 callersMethodprepare
(query: string)
src/cloudflare/internal/d1-api.ts:82
↓ 36 callersFunctionprotectMethod
(method: unknown)
src/node/zlib.ts:121
↓ 36 callersMethodshift
()
src/node/internal/streams_util.js:514
↓ 35 callersMethodmatch
src/workerd/api/cache.h:108
↓ 34 callersMethoddelete
(a)
src/workerd/api/tests/js-rpc-test.js:267
↓ 34 callersMethodpop
If a batch is available, swap the buffers and return a Batch object backed by the pop buffer. The caller should destroy the Batch object as soon as th
src/workerd/util/batch-queue.h:81
↓ 33 callersMethodcopy
( target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number )
src/node/internal/internal_buffer.ts:112
↓ 33 callersFunctionfunc
()
src/workerd/api/tests/js-rpc-test.js:1069
↓ 33 callersMethodlength
Returns the length of the vector, in characters.
src/workerd/api/node/buffer-string-search.h:52
↓ 33 callersMethodnow
src/workerd/api/analytics-engine.h:79
↓ 33 callersMethodresolvedPromise
src/workerd/jsg/promise.h:477
↓ 32 callersFunctionnotStrictEqual
( actual: unknown, expected: unknown, message?: string | Error )
src/node/internal/internal_assert.ts:284
↓ 32 callersMethodtrackFieldWithSize
src/workerd/jsg/memory.h:336
↓ 31 callersMethodprepare
src/workerd/util/sqlite.h:830
↓ 31 callersFunctiontest
()
samples/pyodide/worker.py:8
↓ 31 callersMethodv8Context
src/workerd/jsg/jsg.h:2264
↓ 30 callersMethodaddRef
src/workerd/jsg/jsg.h:2755
↓ 30 callersMethodincrement
(amount)
src/workerd/api/tests/js-rpc-test.js:444
↓ 30 callersMethodparse
src/workerd/io/observer.h:152
↓ 30 callersMethodtransform
* Apply transform next, returning a transform handle. * You can then apply more transformations or retrieve the output. * @param transform
src/cloudflare/internal/images.d.ts:99
↓ 30 callersMethodunshift
(v)
src/node/internal/streams_util.js:505
↓ 29 callersMethodlisteners
(eventName: EventName)
src/node/internal/events.ts:73
↓ 29 callersMethodsize
src/workerd/api/crypto/impl.h:381
↓ 29 callersMethodstylize
(text: string, styleType: Style)
src/node/internal/internal_inspect.ts:225
↓ 29 callersFunctionvalidateObject
( value: unknown, name: string, options?: ValidateObjectOptions )
src/node/internal/validators.ts:84
↓ 28 callersFunctiontestEnd
(encoding, incomplete, next, expected)
src/workerd/api/node/tests/string-decoder-test.js:411
↓ 27 callersFunctionv8StrIntern
src/workerd/jsg/util.h:252
↓ 27 callersMethodwrap
src/workerd/jsg/value.h:369
↓ 26 callersMethodbegin
src/workerd/jsg/jsg.h:1148
↓ 26 callersFunctioncreate_formdata
()
src/workerd/api/tests/form-data-test.js:682
↓ 26 callersMethodrun
src/workerd/util/sqlite.h:814
next →1–100 of 4,532, ranked by callers