MCPcopy Index your code
hub / github.com/nodejs/node / push

Method push

deps/undici/undici.js:842–845  ·  view source on GitHub ↗

* @param {T} data * @returns {void}

(data)

Source from the content-addressed store, hash-verified

840 * @returns {void}
841 */
842 push(data) {
843 this.list[this.top] = data;
844 this.top = this.top + 1 & kMask;
845 }
846 /** @returns {T|null} */
847 shift() {
848 const nextItem = this.list[this.bottom];

Callers 15

compare.jsFile · 0.45
runBenchmarkFunction · 0.45
mainFunction · 0.45
createMethod · 0.45
createMethod · 0.45
createMethod · 0.45
CLIFunction · 0.45
_cli.jsFile · 0.45
_parseArgsMethod · 0.45
recursiveMethod · 0.45
_queueMethod · 0.45
getUrlDataFunction · 0.45

Calls 1

consumePushFunction · 0.70

Tested by

no test coverage detected