id
int64
0
1.29M
original_id
stringlengths
32
32
swhid
stringlengths
100
170
sha1
stringlengths
40
40
repo_name
stringlengths
2
45
repo_group
stringclasses
12 values
filepath
stringlengths
5
153
name
stringlengths
1
14.9k
type
stringclasses
3 values
code
stringlengths
7
2.12M
1,283,300
4d1fe6404eebc05a73dc39ed1040bf55
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-31/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::constructor
function
/** * @param {Iterable<[T, V, ...EXPECTED_ANY]>=} init init */ constructor(init) { /** @type {InnerMap<T, V>} */ this._map = new Map(); this.size = 0; if (init) { for (const tuple of init) { this.add(...tuple); } } }
1,283,301
fecb06874139ca004825d6c9c72cb6df
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-83/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::has
function
/** * @param {[T, V, ...EXPECTED_ANY]} args tuple * @returns {boolean} true, if the tuple is in the Set */ has(...args) { let map = this._map; for (let i = 0; i < args.length - 2; i++) { const arg = args[i]; map = /** @type {InnerMap<T, V>} */ (map.get(arg)); if (map === undefined) { return fals...
1,283,302
c557583713ec1125d2193bc319120db8
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-59/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::add
function
/** * @param {[T, V, ...EXPECTED_ANY]} args tuple * @returns {void} */ add(...args) { let map = this._map; for (let i = 0; i < args.length - 2; i++) { const arg = args[i]; const innerMap = map.get(arg); if (innerMap === undefined) { map.set(arg, (map = new Map())); } else { map = /** @typ...
1,283,303
04b4caf810e626978cee1d6504c6c00b
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-109/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::delete
function
/** * @param {[T, V, ...EXPECTED_ANY]} args tuple * @returns {void} */ delete(...args) { let map = this._map; for (let i = 0; i < args.length - 2; i++) { const arg = args[i]; map = /** @type {InnerMap<T, V>} */ (map.get(arg)); if (map === undefined) { return; } } const beforeLast = args[...
1,283,304
69354de4b995966207c3c2c37c611bdf
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-182/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::[Symbol.iterator]
function
/** * @returns {Iterator<[T, V, ...EXPECTED_ANY]>} iterator */ [Symbol.iterator]() { /** * @template T, V * @typedef {MapIterator<[T, InnerMap<T, V> | Set<V>]>} IteratorStack */ // This is difficult to type because we can have a map inside a map inside a map, etc. where the end is a set (each key is ...
1,283,305
5b35b3e5bdc11d3761852984f1726fc6
swh:1:cnt:6c0e8783533fc4ddd9745aa3190b4a0b5b6a263a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=156-180/
587ed6a690e0ec235f4c37c6cf6771bb6ef7045a
wlbdashboard
wmcs
node_modules/webpack/lib/util/TupleSet.js
TupleSet::[Symbol.iterator]::next
function
next() { while (currentSetIterator) { const result = currentSetIterator.next(); if (result.done) { tuple.pop(); if ( !next( /** @type {IteratorStack<T, V>} */ (iteratorStack.pop()) ) ) { currentSetIterator = undefined; } } else { retu...
1,283,306
95ee7c3cf557cb3f79918d4e9825860f
swh:1:cnt:f4c4191fd198c9634a4724642601d855c2c334ad;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-74/
239f222030eda2f5f7c6db45c3c61c8f8e92e91c
wlbdashboard
wmcs
node_modules/webpack/lib/util/URLAbsoluteSpecifier.js
getScheme
function
/** * Get scheme if specifier is an absolute URL specifier * e.g. Absolute specifiers like 'file:///user/webpack/index.js' * https://tools.ietf.org/html/rfc3986#section-3.1 * @param {string} specifier specifier * @returns {string | undefined} scheme if absolute URL specifier provided */ function getScheme(specifi...
1,283,307
6d2058f25e174c47f21506e88d49c51d
swh:1:cnt:f4c4191fd198c9634a4724642601d855c2c334ad;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-83/
239f222030eda2f5f7c6db45c3c61c8f8e92e91c
wlbdashboard
wmcs
node_modules/webpack/lib/util/URLAbsoluteSpecifier.js
getProtocol
function
/** * @param {string} specifier specifier * @returns {string | null | undefined} protocol if absolute URL specifier provided */ function getProtocol(specifier) { const scheme = getScheme(specifier); return scheme === undefined ? undefined : `${scheme}:`; }
1,283,308
084c1dd468629d3d5abe2c96b0eca82b
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=26-225/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap
type
/** * @template {unknown[]} T * @typedef {T extends ReadonlyArray<infer ElementType> ? ElementType : never} ArrayElement */ /** * @template {EXPECTED_ANY[]} K * @template V */ class WeakTupleMap { constructor() { /** @private */ this.f = 0; /** * @private * @type {V | undefined} */ this.v = und...
1,283,309
bb0e91ef4a249e7c32c821ba4107c25d
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-54/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::constructor
function
constructor() { /** @private */ this.f = 0; /** * @private * @type {V | undefined} */ this.v = undefined; /** * @private * @type {M<K, V> | undefined} */ this.m = undefined; /** * @private * @type {W<K, V> | undefined} */ this.w = undefined; }
1,283,310
7f05c144f452750471b5fa42bbdad291
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-81/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::has
function
/** * @param {K} args tuple * @returns {boolean} true, if the tuple is in the Set */ has(...args) { /** @type {WeakTupleMap<K, V> | undefined} */ let node = this; for (let i = 0; i < args.length; i++) { node = node._peek(/** @type {ArrayElement<K>} */ (args[i])); if (node === undefined) return false;...
1,283,311
7c86b77d69d1c11297907d65c1cf6115
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=97-112/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::provide
function
/** * @param {[...K, (...args: K) => V]} args tuple * @returns {V} the value */ provide(...args) { /** @type {WeakTupleMap<K, V>} */ let node = this; for (let i = 0; i < args.length - 1; i++) { node = node._get(/** @type {ArrayElement<K>} */ (args[i])); } if (node._hasValue()) return /** @type {V} *...
1,283,312
0d454c42800729ecd140f8d1e249a26d
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-95/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::get
function
/** * @param {K} args tuple * @returns {V | undefined} the value */ get(...args) { /** @type {WeakTupleMap<K, V> | undefined} */ let node = this; for (let i = 0; i < args.length; i++) { node = node._peek(/** @type {ArrayElement<K>} */ (args[i])); if (node === undefined) return; } return node._get...
1,283,313
e5f8de771dadc04eab6c03f76f3b33f2
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-67/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::set
function
/** * @param {[...K, V]} args tuple * @returns {void} */ set(...args) { /** @type {WeakTupleMap<K, V>} */ let node = this; for (let i = 0; i < args.length - 1; i++) { node = node._get(/** @type {ArrayElement<K>} */ (args[i])); } node._setValue(/** @type {V} */ (args[args.length - 1])); }
1,283,314
998600d2c00858d5f9073f45aa9aeb06
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=114-126/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::delete
function
/** * @param {K} args tuple * @returns {void} */ delete(...args) { /** @type {WeakTupleMap<K, V> | undefined} */ let node = this; for (let i = 0; i < args.length; i++) { node = node._peek(/** @type {ArrayElement<K>} */ (args[i])); if (node === undefined) return; } node._deleteValue(); }
1,283,315
18c34932327660a3dad0f241a31d7b4b
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-136/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::clear
function
/** * @returns {void} */ clear() { this.f = 0; this.v = undefined; this.w = undefined; this.m = undefined; }
1,283,316
ba658564afec6b3965762b6493118a02
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=138-140/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_getValue
function
_getValue() { return this.v; }
1,283,317
6854600a8607f7cd56fd0719b457fb25
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=142-144/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_hasValue
function
_hasValue() { return (this.f & 1) === 1; }
1,283,318
f0cffbc04517bda7043a2c419de49680
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=146-153/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_setValue
function
/** * @param {V} v value * @private */ _setValue(v) { this.f |= 1; this.v = v; }
1,283,319
205e5ec81cd3e99141a0f9ebc1071d74
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=155-158/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_deleteValue
function
_deleteValue() { this.f &= 6; this.v = undefined; }
1,283,320
501ff6767442cf5291465a5f3ad3d3d0
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=160-176/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_peek
function
/** * @param {ArrayElement<K>} thing thing * @returns {WeakTupleMap<K, V> | undefined} thing * @private */ _peek(thing) { if (isWeakKey(thing)) { if ((this.f & 4) !== 4) return; return /** @type {WeakMap<ArrayElement<K>, WeakTupleMap<K, V>>} */ ( this.w ).get(thing); } if ((this.f & 2) !== 2...
1,283,321
b61e63f6ad31413a670c523f45b02a39
swh:1:cnt:976c2875e3ae24187f1767d7564b1ce63b0ba89b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-224/
25c894dd896fad69b45560aa052279f1ee7696de
wlbdashboard
wmcs
node_modules/webpack/lib/util/WeakTupleMap.js
WeakTupleMap::_get
function
/** * @private * @param {ArrayElement<K>} thing thing * @returns {WeakTupleMap<K, V>} value */ _get(thing) { if (isWeakKey(thing)) { if ((this.f & 4) !== 4) { /** @type {W<K, V>} */ const newMap = new WeakMap(); this.f |= 4; /** @type {WeakTupleMap<K, V>} */ const newNode = new WeakTup...
1,283,322
73f0dccf112f81560e625e4e941baba6
swh:1:cnt:d739cdf080bbe03dec09d99d6474280098eab6ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-113/
0268973d5d5b1faee4245fbb96fe58e063e37136
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BatchedHash.js
BatchedHash
type
/** @typedef {import("../../../declarations/WebpackOptions").HashDigest} Encoding */ class BatchedHash extends Hash { /** * @param {Hash} hash hash */ constructor(hash) { super(); /** @type {undefined | string} */ this.string = undefined; /** @type {undefined | Encoding} */ this.encoding = undefined; ...
1,283,323
c7ad3cac1083a9995691e42c40b6f99b
swh:1:cnt:d739cdf080bbe03dec09d99d6474280098eab6ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-27/
0268973d5d5b1faee4245fbb96fe58e063e37136
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BatchedHash.js
BatchedHash::constructor
function
/** * @param {Hash} hash hash */ constructor(hash) { super(); /** @type {undefined | string} */ this.string = undefined; /** @type {undefined | Encoding} */ this.encoding = undefined; /** @type {Hash} */ this.hash = hash; }
1,283,324
d662d66c55e55d995ccd27778bad03d7
swh:1:cnt:d739cdf080bbe03dec09d99d6474280098eab6ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-82/
0268973d5d5b1faee4245fbb96fe58e063e37136
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BatchedHash.js
BatchedHash::update
function
/** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {string | Buffer} data data * @returns {Hash} updated hash */ /** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {...
1,283,325
ebb21884a52aae90f88dc97cb5fc773c
swh:1:cnt:d739cdf080bbe03dec09d99d6474280098eab6ed;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-112/
0268973d5d5b1faee4245fbb96fe58e063e37136
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BatchedHash.js
BatchedHash::digest
function
/** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @returns {Buffer} digest */ /** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @param {Encoding} encoding encoding of the return v...
1,283,326
5813ac62f4bf4ae2839c05192fca160a
swh:1:cnt:9aed3c6494e0a6bdefa45a8740271578bc81dc8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-143/
d73ccedd0dcc0b5a1c293a795ca8699eaeb8ab79
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BulkUpdateHash.js
BulkUpdateHash
type
class BulkUpdateHash extends Hash { /** * @param {Hash | HashFactory} hashOrFactory function to create a hash * @param {string=} hashKey key for caching */ constructor(hashOrFactory, hashKey) { super(); /** @type {undefined | string} */ this.hashKey = hashKey; if (typeof hashOrFactory === "function") { ...
1,283,327
c35a045a09cce246481af262694ce58f
swh:1:cnt:9aed3c6494e0a6bdefa45a8740271578bc81dc8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-43/
d73ccedd0dcc0b5a1c293a795ca8699eaeb8ab79
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BulkUpdateHash.js
BulkUpdateHash::constructor
function
/** * @param {Hash | HashFactory} hashOrFactory function to create a hash * @param {string=} hashKey key for caching */ constructor(hashOrFactory, hashKey) { super(); /** @type {undefined | string} */ this.hashKey = hashKey; if (typeof hashOrFactory === "function") { /** @type {undefined | HashFactory...
1,283,328
d18f087d4640196c15311fbc6b6f54b3
swh:1:cnt:9aed3c6494e0a6bdefa45a8740271578bc81dc8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-93/
d73ccedd0dcc0b5a1c293a795ca8699eaeb8ab79
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BulkUpdateHash.js
BulkUpdateHash::update
function
/** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {string | Buffer} data data * @returns {Hash} updated hash */ /** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {...
1,283,329
07fca3aff1aad9ddb7bc834365262e3a
swh:1:cnt:9aed3c6494e0a6bdefa45a8740271578bc81dc8b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=95-142/
d73ccedd0dcc0b5a1c293a795ca8699eaeb8ab79
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/BulkUpdateHash.js
BulkUpdateHash::digest
function
/** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @returns {Buffer} digest */ /** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @param {Encoding} encoding encoding of the return v...
1,283,330
31c386564cd4cb0a75dbdb108169e618
swh:1:cnt:467e9b992cbf77ae3a01d4491a5ee717ff729e79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-73/
d1c51fe31c36581a34ea14e949b7c863c50cb7c5
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/DebugHash.js
DebugHash
type
/** @typedef {import("../../../declarations/WebpackOptions").HashDigest} Encoding */ /* istanbul ignore next */ class DebugHash extends Hash { constructor() { super(); this.string = ""; } /** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @par...
1,283,331
90299d745a3de905889497e3d83dbcb0
swh:1:cnt:467e9b992cbf77ae3a01d4491a5ee717ff729e79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=14-17/
d1c51fe31c36581a34ea14e949b7c863c50cb7c5
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/DebugHash.js
DebugHash::constructor
function
constructor() { super(); this.string = ""; }
1,283,332
fd1ac3ba4a5a1e282a555d338eff4527
swh:1:cnt:467e9b992cbf77ae3a01d4491a5ee717ff729e79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-52/
d1c51fe31c36581a34ea14e949b7c863c50cb7c5
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/DebugHash.js
DebugHash::update
function
/** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {string | Buffer} data data * @returns {Hash} updated hash */ /** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {...
1,283,333
46a96beeb9ea4f319ed31fbb7fdd46cf
swh:1:cnt:467e9b992cbf77ae3a01d4491a5ee717ff729e79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-72/
d1c51fe31c36581a34ea14e949b7c863c50cb7c5
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/DebugHash.js
DebugHash::digest
function
/** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @returns {Buffer} digest */ /** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @param {Encoding} encoding encoding of the return v...
1,283,334
cb9e5b810c3c42b15939e3b385c3d9e4
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-206/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash
type
/** * @typedef {object} WasmExports * @property {WebAssembly.Memory} memory * @property {() => void} init * @property {(length: number) => void} update * @property {(length: number) => void} final */ class WasmHash extends Hash { /** * @param {WebAssembly.Instance} instance wasm instance * @param {WebAssemb...
1,283,335
80a5caf60ba15c6fc2b146558abd3ed1
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-48/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::constructor
function
/** * @param {WebAssembly.Instance} instance wasm instance * @param {WebAssembly.Instance[]} instancesPool pool of instances * @param {number} chunkSize size of data chunks passed to wasm * @param {number} digestSize size of digest returned by wasm */ constructor(instance, instancesPool, chunkSize, digestSiz...
1,283,336
343b0696bfe7b8ee4a017063916dce26
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=50-53/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::reset
function
reset() { this.buffered = 0; this.exports.init(); }
1,283,337
243fb8c947c23bcd481540c993fed7f3
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=95-143/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::_updateWithShortString
function
/** * @param {string} data data * @param {BufferEncoding=} encoding encoding * @returns {void} */ _updateWithShortString(data, encoding) { const { exports, buffered, mem, chunkSize } = this; /** @type {number} */ let endPos; if (data.length < 70) { // eslint-disable-next-line unicorn/text-encoding-i...
1,283,338
bc165d9c8a2c7c0b40028e984e04887a
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=145-177/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::_updateWithBuffer
function
/** * @param {Buffer} data data * @returns {void} */ _updateWithBuffer(data) { const { exports, buffered, mem } = this; const length = data.length; if (buffered + length < this.chunkSize) { data.copy(mem, buffered, 0, length); this.buffered += length; } else { const l = (buffered + length) & ~(t...
1,283,339
82b3673c2415a27ceb4bcc760578ccc3
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-93/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::update
function
/** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {string | Buffer} data data * @returns {Hash} updated hash */ /** * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding} * @overload * @param {...
1,283,340
c84b7392c3ae0e9e756926e9d822f69a
swh:1:cnt:992fdacb46f2892157dd5c744ab0016caeb8939a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=179-205/
a3ebc5c110d46964c5907c000035affcaf5369fd
wlbdashboard
wmcs
node_modules/webpack/lib/util/hash/wasm-hash.js
WasmHash::digest
function
/** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @returns {Buffer} digest */ /** * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @overload * @param {string=} encoding encoding of the return va...
1,283,341
f89240124e8c8c83516ce4c96ef373eb
swh:1:cnt:9a3e3fd06f3b6244960275e3246a044fb458276d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-144/
261770e8aa2806dc672abf8d5cc6cbe62a17750c
wlbdashboard
wmcs
node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js
EnableWasmLoadingPlugin
type
class EnableWasmLoadingPlugin { /** * @param {WasmLoadingType} type library type that should be available */ constructor(type) { /** @type {WasmLoadingType} */ this.type = type; } /** * @param {Compiler} compiler the compiler instance * @param {WasmLoadingType} type type of library * @returns {void} ...
1,283,342
74db17204fa98f01d335e177a4fbc63f
swh:1:cnt:9a3e3fd06f3b6244960275e3246a044fb458276d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-37/
261770e8aa2806dc672abf8d5cc6cbe62a17750c
wlbdashboard
wmcs
node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js
EnableWasmLoadingPlugin::constructor
function
/** * @param {WasmLoadingType} type library type that should be available */ constructor(type) { /** @type {WasmLoadingType} */ this.type = type; }
1,283,343
1b0afc65e2c8732653deef361a6ee016
swh:1:cnt:9a3e3fd06f3b6244960275e3246a044fb458276d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-63/
261770e8aa2806dc672abf8d5cc6cbe62a17750c
wlbdashboard
wmcs
node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js
EnableWasmLoadingPlugin::checkEnabled
function
/** * @param {Compiler} compiler the compiler instance * @param {WasmLoadingType} type type of library * @returns {void} */ static checkEnabled(compiler, type) { if (!getEnabledTypes(compiler).has(type)) { throw new Error( `Library type "${type}" is not enabled. ` + "EnableWasmLoadingPlugin need ...
1,283,344
8b027ec952d46cd99e690d1661ad9861
swh:1:cnt:9a3e3fd06f3b6244960275e3246a044fb458276d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-143/
261770e8aa2806dc672abf8d5cc6cbe62a17750c
wlbdashboard
wmcs
node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js
EnableWasmLoadingPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { const { type } = this; // Only enable once const enabled = getEnabledTypes(compiler); if (enabled.has(type)) return; enabled.add(type); if (typeof type === "string") { switch (type)...
1,283,345
1761740c014e0ad507e42a1ea63bbab3
swh:1:cnt:9a3e3fd06f3b6244960275e3246a044fb458276d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=39-46/
261770e8aa2806dc672abf8d5cc6cbe62a17750c
wlbdashboard
wmcs
node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js
EnableWasmLoadingPlugin::setEnabled
function
/** * @param {Compiler} compiler the compiler instance * @param {WasmLoadingType} type type of library * @returns {void} */ static setEnabled(compiler, type) { getEnabledTypes(compiler).add(type); }
1,283,346
ca1e3578cc59231deb52ef7818c43100
swh:1:cnt:ec7a21c8e3164790914ce0ef0d37743ccae74426;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-146/
bcb0a03dafa33f8c53201e59f1f9dad4617c9283
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmCompileRuntimeModule.js
AsyncWasmCompileRuntimeModule
type
/** @typedef {import("../Chunk")} Chunk */ /** @typedef {import("../Compilation")} Compilation */ /** @typedef {(wasmModuleSrcPath: string) => string} GenerateBeforeLoadBinaryCode */ /** @typedef {(wasmModuleSrcPath: string) => string} GenerateLoadBinaryCode */ /** @typedef {() => string} GenerateBeforeCompileStreamin...
1,283,347
1d5d39261d0aa471cd102c2f58213808
swh:1:cnt:ec7a21c8e3164790914ce0ef0d37743ccae74426;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-46/
bcb0a03dafa33f8c53201e59f1f9dad4617c9283
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmCompileRuntimeModule.js
AsyncWasmCompileRuntimeModule::constructor
function
/** * @param {AsyncWasmCompileRuntimeModuleOptions} options options */ constructor({ generateLoadBinaryCode, generateBeforeLoadBinaryCode, generateBeforeCompileStreaming, supportsStreaming }) { super("wasm compile", RuntimeModule.STAGE_NORMAL); /** @type {GenerateLoadBinaryCode} */ this.generateLoad...
1,283,348
8ac1069dcfbcc298b8dfee1dcc0898a3
swh:1:cnt:ec7a21c8e3164790914ce0ef0d37743ccae74426;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-67/
bcb0a03dafa33f8c53201e59f1f9dad4617c9283
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmCompileRuntimeModule.js
AsyncWasmCompileRuntimeModule::generate::hashWithLength
function
hashWithLength(length) { return `" + wasmModuleHash.slice(0, ${length}) + "`; }
1,283,349
9ba6761bce7e0c1029825c96ae8c4f26
swh:1:cnt:ec7a21c8e3164790914ce0ef0d37743ccae74426;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=48-145/
bcb0a03dafa33f8c53201e59f1f9dad4617c9283
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmCompileRuntimeModule.js
AsyncWasmCompileRuntimeModule::generate
function
/** * @returns {string | null} runtime code */ generate() { const compilation = /** @type {Compilation} */ (this.compilation); const chunk = /** @type {Chunk} */ (this.chunk); const { outputOptions, runtimeTemplate } = compilation; const fn = RuntimeGlobals.compileWasm; const wasmModuleSrcPath = compilat...
1,283,350
defc16cac0e41a58971d62de493c9a7e
swh:1:cnt:e8e2693f9c53c3352e7aa7e99225fac81cbb898f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-152/
0357c4e8434eea1ac4d9b33f0d38feff2a5cae39
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js
AsyncWasmLoadingRuntimeModule
type
/** @typedef {import("../Chunk")} Chunk */ /** @typedef {import("../Compilation")} Compilation */ /** @typedef {(wasmModuleSrcPath: string) => string} GenerateBeforeLoadBinaryCode */ /** @typedef {(wasmModuleSrcPath: string) => string} GenerateLoadBinaryCode */ /** @typedef {() => string} GenerateBeforeInstantiateStre...
1,283,351
5cdd4d64f7f85019c385eddd631d242e
swh:1:cnt:e8e2693f9c53c3352e7aa7e99225fac81cbb898f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-47/
0357c4e8434eea1ac4d9b33f0d38feff2a5cae39
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js
AsyncWasmLoadingRuntimeModule::constructor
function
/** * @param {AsyncWasmLoadingRuntimeModuleOptions} options options */ constructor({ generateLoadBinaryCode, generateBeforeLoadBinaryCode, generateBeforeInstantiateStreaming, supportsStreaming }) { super("wasm loading", RuntimeModule.STAGE_NORMAL); /** @type {GenerateLoadBinaryCode} */ this.generate...
1,283,352
ff01c030be9ef82e396519e48c90db70
swh:1:cnt:e8e2693f9c53c3352e7aa7e99225fac81cbb898f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-151/
0357c4e8434eea1ac4d9b33f0d38feff2a5cae39
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js
AsyncWasmLoadingRuntimeModule::generate
function
/** * @returns {string | null} runtime code */ generate() { const compilation = /** @type {Compilation} */ (this.compilation); const chunk = /** @type {Chunk} */ (this.chunk); const { outputOptions, runtimeTemplate } = compilation; const fn = RuntimeGlobals.instantiateWasm; const wasmModuleSrcPath = comp...
1,283,353
8ac1069dcfbcc298b8dfee1dcc0898a3
swh:1:cnt:e8e2693f9c53c3352e7aa7e99225fac81cbb898f;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-68/
0357c4e8434eea1ac4d9b33f0d38feff2a5cae39
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js
AsyncWasmLoadingRuntimeModule::generate::hashWithLength
function
hashWithLength(length) { return `" + wasmModuleHash.slice(0, ${length}) + "`; }
1,283,354
95466176bc93902efc12ddc4096488fc
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-72/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator
type
/** @typedef {import("webpack-sources").Source} Source */ /** @typedef {import("../Generator").GenerateContext} GenerateContext */ /** @typedef {import("../Module").SourceType} SourceType */ /** @typedef {import("../Module").SourceTypes} SourceTypes */ /** @typedef {import("../NormalModule")} NormalModule */ /** * @t...
1,283,355
1b0fc7eb0dbe6eb8121f70179ba12bff
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-31/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator::constructor
function
/** * @param {AsyncWebAssemblyGeneratorOptions} options options */ constructor(options) { super(); /** @type {AsyncWebAssemblyGeneratorOptions} */ this.options = options; }
1,283,356
c6e7414aff97f6b69dc76792accbcf11
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=41-52/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator::getSize
function
/** * @param {NormalModule} module the module * @param {SourceType=} type source type * @returns {number} estimate size of the module */ getSize(module, type) { const originalSource = module.originalSource(); if (!originalSource) { return 0; } return originalSource.size(); }
1,283,357
bb109d04db098c9153c6879727fdfb59
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-71/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator::generateError
function
/** * @param {Error} error the error * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generateError(error, module, generateContext) { return new RawSource(error.message);...
1,283,358
9d7b4dfa105a3fe2b1874f84c9f690a5
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-61/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator::generate
function
/** * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generate(module, generateContext) { return /** @type {Source} */ (module.originalSource()); }
1,283,359
82866bc55e1093b06fd94895f8e1a996
swh:1:cnt:ee9e392454222dcbdf080c22686e96a6a9e9750a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-39/
c36c100a7c7a1628c78d28c29008b8c893c20b84
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js
AsyncWebAssemblyGenerator::getTypes
function
/** * @param {NormalModule} module fresh module * @returns {SourceTypes} available types (do not mutate) */ getTypes(module) { return WEBASSEMBLY_TYPES; }
1,283,360
0b0a1fc6e8fac71295e71e623bb6caaf
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-264/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator
type
/** @typedef {import("webpack-sources").Source} Source */ /** @typedef {import("./AsyncWebAssemblyModulesPlugin").AsyncWasmModuleClass} AsyncWasmModule */ /** @typedef {import("../Generator").GenerateContext} GenerateContext */ /** @typedef {import("../Module")} Module */ /** @typedef {import("../Module").SourceType} S...
1,283,361
82866bc55e1093b06fd94895f8e1a996
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-35/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator::getTypes
function
/** * @param {NormalModule} module fresh module * @returns {SourceTypes} available types (do not mutate) */ getTypes(module) { return WEBASSEMBLY_TYPES; }
1,283,362
bcd93646c64d699fe6731e9ffac75334
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-212/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator::generate
function
/** * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generate(module, generateContext) { const { runtimeTemplate, chunkGraph, moduleGraph, runtimeRequirements, ...
1,283,363
9f938f015e954c8b2be807788392c9d3
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=255-263/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator::generateError
function
/** * @param {Error} error the error * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generateError(error, module, generateContext) { return new RawSource(`throw new Erro...
1,283,364
ab9f123a78c9d3a115dfbffc315603f8
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-50/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator::getSize
function
/** * @param {NormalModule} module the module * @param {SourceType=} type source type * @returns {number} estimate size of the module */ getSize(module, type) { // it's only estimated so this number is probably fine // Example: m.exports=s.v(e,_.id,"6db474f11db19c35388a") if (/** @type {AsyncWasmModule} ...
1,283,365
e84d3c670dc2566cbeba3f712de0d7b7
swh:1:cnt:563ddd4a78ad379e7942e2a779a9cab8d04d00a2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=214-253/
7dbf948ce95fd6a4ceb60e81e650c573d3226852
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js
AsyncWebAssemblyJavascriptGenerator::_generateSourcePhase
function
/** * Generate code for source phase import (returns WebAssembly.Module) * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source} generated code */ _generateSourcePhase(module, generateContext) { const {...
1,283,366
d9f99f2fd9e12e933a3747eac2f40bdc
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=44-127/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule
type
/** @typedef {NormalModule & { phase: ImportPhaseName | undefined }} AsyncWasmModuleClass */ class AsyncWasmModule extends NormalModule { /** * @param {NormalModuleCreateData & { phase: ImportPhaseName | undefined }} options options object */ constructor(options) { super(options); this.phase = options.phase;...
1,283,367
a5d507cfa8ccd58bd2841d4630ade88a
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=156-312/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWebAssemblyModulesPlugin
type
class AsyncWebAssemblyModulesPlugin { /** * @param {Compilation} compilation the compilation * @returns {CompilationHooks} the attached hooks */ static getCompilationHooks(compilation) { if (!(compilation instanceof Compilation)) { throw new TypeError( "The 'compilation' argument must be an instance of...
1,283,368
1a2d726e0f2a9669c66e0500af409019
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-53/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule::constructor
function
/** * @param {NormalModuleCreateData & { phase: ImportPhaseName | undefined }} options options object */ constructor(options) { super(options); this.phase = options.phase; }
1,283,369
57b7f8a5ad73916e73f79003ad1c021d
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=81-88/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule::serialize
function
/** * @param {ObjectSerializerContext} context context */ serialize(context) { const { write } = context; write(this.phase); super.serialize(context); }
1,283,370
3c4a0099cc9ade0c88b906bb5ffd9591
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-79/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule::updateCacheModule
function
/** * Assuming this module is in the cache. Update the (cached) module with * the fresh module from the factory. Usually updates internal references * and properties. * @param {Module} module fresh module * @returns {void} */ updateCacheModule(module) { super.updateCacheModule(module); const m = /** @t...
1,283,371
e7496aacb622ddad118af107082c6171
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-117/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule::deserialize
function
/** * @param {ObjectDeserializerContext} context context * @returns {AsyncWasmModule} the deserialized object */ static deserialize(context) { const obj = new AsyncWasmModule({ // will be deserialized by Module layer: /** @type {EXPECTED_ANY} */ (null), type: "", // will be filled by updateCacheMod...
1,283,372
6d18b8808fc7c14d9021c9f2a3bb05ca
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-66/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWasmModule::identifier
function
/** * @returns {string} a unique identifier of the module */ identifier() { let str = super.identifier(); if (this.phase) { str = `${str}|${this.phase}`; } return str; }
1,283,373
a063abb0b0ee8a745beea94c0ca61852
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=157-179/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWebAssemblyModulesPlugin::getCompilationHooks
function
/** * @param {Compilation} compilation the compilation * @returns {CompilationHooks} the attached hooks */ static getCompilationHooks(compilation) { if (!(compilation instanceof Compilation)) { throw new TypeError( "The 'compilation' argument must be an instance of Compilation" ); } let hooks = c...
1,283,374
1ecbfce126e3614ae0a5c24660a660ef
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=181-187/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWebAssemblyModulesPlugin::constructor
function
/** * @param {AsyncWebAssemblyModulesPluginOptions} options options */ constructor(options) { /** @type {AsyncWebAssemblyModulesPluginOptions} */ this.options = options; }
1,283,375
377d13b273eb0ba3bfb6647f8b577aaf
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=189-286/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWebAssemblyModulesPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap( PLUGIN_NAME, (compilation, { normalModuleFactory }) => { const hooks = AsyncWebAssemblyModulesPlugin.getCompilationHooks(compilation); compilatio...
1,283,376
0b6aa070951fec5c9ff6d053215f86d1
swh:1:cnt:8bbcc9734daa36fb870df886a02aa644935b6a8d;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=288-311/
73bd4637ace572a6b6aa7fbd9cbe3d86f81b2867
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js
AsyncWebAssemblyModulesPlugin::renderModule
function
/** * @param {Module} module the rendered module * @param {WebAssemblyRenderContext} renderContext options object * @param {CompilationHooks} hooks hooks * @returns {Source} the newly generated source from rendering */ renderModule(module, renderContext, hooks) { const { codeGenerationResults, chunk } = re...
1,283,377
04ea20664a874a6aed8a49b0051ceb6d
swh:1:cnt:b25ed1959912944a4a911d0c0f80ec7af25f33bb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-102/
0a6b3da63351684148149593f1156b411c0c17d8
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js
WebAssemblyParser
type
class WebAssemblyParser extends Parser { /** * @param {string | Buffer | PreparsedAst} source the source to parse * @param {ParserState} state the parser state * @returns {ParserState} the parser state */ parse(source, state) { if (!Buffer.isBuffer(source)) { throw new Error("WebAssemblyParser input must...
1,283,378
64f57d7aabc3a9288dddcaaa96d9fc2b
swh:1:cnt:b25ed1959912944a4a911d0c0f80ec7af25f33bb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-101/
0a6b3da63351684148149593f1156b411c0c17d8
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js
WebAssemblyParser::parse
function
/** * @param {string | Buffer | PreparsedAst} source the source to parse * @param {ParserState} state the parser state * @returns {ParserState} the parser state */ parse(source, state) { if (!Buffer.isBuffer(source)) { throw new Error("WebAssemblyParser input must be a Buffer"); } const buildMeta = /...
1,283,379
0566a61a1e56b64c2d6d43b1acd1536b
swh:1:cnt:b25ed1959912944a4a911d0c0f80ec7af25f33bb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-84/
0a6b3da63351684148149593f1156b411c0c17d8
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js
WebAssemblyParser::parse::ModuleExport
function
ModuleExport({ node }) { exports.push(node.name); }
1,283,380
7c8d60e326a6ed541c2b1c15081a76cd
swh:1:cnt:b25ed1959912944a4a911d0c0f80ec7af25f33bb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-95/
0a6b3da63351684148149593f1156b411c0c17d8
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js
WebAssemblyParser::parse::ModuleImport
function
ModuleImport({ node }) { const dep = new WebAssemblyImportDependency( node.module, node.name, node.descr, false ); state.module.addDependency(dep); }
1,283,381
df3f6fe29d2ee4b98aac51c559f4cc3b
swh:1:cnt:557b19973f77b80529eb9c2ea858d543b9e6cd6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-129/
8b58864e4fb5477c92dcf25cbc193cdedee5394d
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js
UniversalCompileAsyncWasmPlugin
type
class UniversalCompileAsyncWasmPlugin { /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => { const globalWasmLoading = compilation.outputOptions.wasmLoading; /** * @param ...
1,283,382
f091beea5d5f91abc56269c5c2d2abe9
swh:1:cnt:557b19973f77b80529eb9c2ea858d543b9e6cd6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-128/
8b58864e4fb5477c92dcf25cbc193cdedee5394d
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js
UniversalCompileAsyncWasmPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.thisCompilation.tap(PLUGIN_NAME, (compilation) => { const globalWasmLoading = compilation.outputOptions.wasmLoading; /** * @param {Chunk} chunk chunk * @returns {boole...
1,283,383
8daa40f2b92cf8df36c67f36a740ea9f
swh:1:cnt:ba0de7c5b99d239e2bd2f5cdf2c07664188ce718;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-19/
246e3d075c760cc9c427e6a4c5e2df1b819e7de3
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js
UnsupportedWebAssemblyFeatureError::constructor
function
/** * @param {string} message Error message */ constructor(message) { super(message); /** @type {string} */ this.name = "UnsupportedWebAssemblyFeatureError"; this.hideStack = true; }
1,283,384
41a644daa74505bbd45310663a95c23c
swh:1:cnt:bed839866a779db5bd55849a66ee7ba8d1e511b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=222-420/
e7f64a8110993f7d151a08066ddfe3807e39a5ca
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
WasmChunkLoadingRuntimeModule
type
/** * @typedef {object} WasmChunkLoadingRuntimeModuleOptions * @property {(path: string) => string} generateLoadBinaryCode * @property {boolean=} supportsStreaming * @property {boolean=} mangleImports * @property {ReadOnlyRuntimeRequirements} runtimeRequirements */ class WasmChunkLoadingRuntimeModule extends Run...
1,283,385
97b7f1ed129bc936b804571a64588245
swh:1:cnt:bed839866a779db5bd55849a66ee7ba8d1e511b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=231-245/
e7f64a8110993f7d151a08066ddfe3807e39a5ca
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
WasmChunkLoadingRuntimeModule::constructor
function
/** * @param {WasmChunkLoadingRuntimeModuleOptions} options options */ constructor({ generateLoadBinaryCode, supportsStreaming, mangleImports, runtimeRequirements }) { super("wasm chunk loading", RuntimeModule.STAGE_ATTACH); this.generateLoadBinaryCode = generateLoadBinaryCode; this.supportsStreamin...
1,283,386
c58ad150a66deed195a560886f2130a2
swh:1:cnt:bed839866a779db5bd55849a66ee7ba8d1e511b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=296-304/
e7f64a8110993f7d151a08066ddfe3807e39a5ca
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
WasmChunkLoadingRuntimeModule::generate::hashWithLength
function
hashWithLength(length) { return `" + ${JSON.stringify( chunkGraph.getChunkModuleRenderedHashMap( chunk, (m) => m.type.startsWith("webassembly"), length ) )}[chunkId][wasmModuleId] + "`; }
1,283,387
c5502eadfa08d459c15fc5cca5bbf363
swh:1:cnt:bed839866a779db5bd55849a66ee7ba8d1e511b9;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=247-419/
e7f64a8110993f7d151a08066ddfe3807e39a5ca
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
WasmChunkLoadingRuntimeModule::generate
function
/** * @returns {string | null} runtime code */ generate() { const fn = RuntimeGlobals.ensureChunkHandlers; const withHmr = this._runtimeRequirements.has( RuntimeGlobals.hmrDownloadUpdateHandlers ); const compilation = /** @type {Compilation} */ (this.compilation); const { moduleGraph, outputOptions } ...
1,283,388
b21fe18c7c95c7c1a941281e3cfec7ea
swh:1:cnt:4980ec47e431ea2a60914cca2c36b29cf5b86661;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-89/
5e7c53943d44f8308cb9f6f9816e2dc18aa3fe96
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js
WasmFinalizeExportsPlugin
type
class WasmFinalizeExportsPlugin { /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => { compilation.hooks.finishModules.tap(PLUGIN_NAME, (modules) => { for (const module of module...
1,283,389
ee7b4f427a9c28d88f94ed0309821d3c
swh:1:cnt:4980ec47e431ea2a60914cca2c36b29cf5b86661;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=19-88/
5e7c53943d44f8308cb9f6f9816e2dc18aa3fe96
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js
WasmFinalizeExportsPlugin::apply
function
/** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => { compilation.hooks.finishModules.tap(PLUGIN_NAME, (modules) => { for (const module of modules) { // 1. if a WebAssembly mo...
1,283,390
e26952e599a7d4bbd451af7d43eccfa9
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=200-233/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
Global
function
// in order to preserve non-imported global's order we need to re-inject // those as well /** * @param {NodePath<Global>} path path */ Global(path) { const { node } = path; const [init] = node.init; if (init.id === "get_global") { node.globalType.mutability = "var"; const initialGlobalIdx...
1,283,391
1e7671a762cfec4b9924b7fe2555803f
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=414-420/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator::constructor
function
/** * @param {WebAssemblyGeneratorOptions} options options */ constructor(options) { super(); this.options = options; }
1,283,392
82866bc55e1093b06fd94895f8e1a996
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=422-428/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator::getTypes
function
/** * @param {NormalModule} module fresh module * @returns {SourceTypes} available types (do not mutate) */ getTypes(module) { return WEBASSEMBLY_TYPES; }
1,283,393
c6e7414aff97f6b69dc76792accbcf11
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=430-441/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator::getSize
function
/** * @param {NormalModule} module the module * @param {SourceType=} type source type * @returns {number} estimate size of the module */ getSize(module, type) { const originalSource = module.originalSource(); if (!originalSource) { return 0; } return originalSource.size(); }
1,283,394
4f8cd41a20440abc320b90145f05fd95
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=443-522/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator::generate
function
/** * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generate(module, { moduleGraph, runtime }) { const bin = /** @type {Buffer} */ (/** @type {Source} */ (module.ori...
1,283,395
bb109d04db098c9153c6879727fdfb59
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=524-532/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator::generateError
function
/** * @param {Error} error the error * @param {NormalModule} module module for which the code should be generated * @param {GenerateContext} generateContext context for generate * @returns {Source | null} generated code */ generateError(error, module, generateContext) { return new RawSource(error.message);...
1,283,396
748746876d172bd8d11345cf6392f974
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-63/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
Start
function
Start(path) { path.remove(); }
1,283,397
03ee8a809bdcc15ae1477f8f21524786
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=181-198/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
ModuleImport
function
ModuleImport(path) { if (t.isGlobalType(path.node.descr)) { const globalType = /** @type {GlobalType} */ (path.node.descr); globalType.mutability = "var"; const init = [ createDefaultInitForGlobal(globalType), t.instruction("end") ]; newGlobals.push(t.global(globalType, ini...
1,283,398
a66702ed537b45da5043bcc52a8afb8e
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-271/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
ModuleExport
function
/** * @param {NodePath<ModuleExport>} path path */ ModuleExport(path) { const isExternal = externalExports.has(path.node.name); if (isExternal) { path.remove(); return; } const usedName = moduleGraph .getExportsInfo(module) .getUsedName(path.node.name, runtime); if (!u...
1,283,399
43000f649ce3bec59a6c5ed55eb09e9b
swh:1:cnt:ea5f43851a0e8f1d65b9ee0d454e3dfd9932b6e5;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=408-533/
f1dc2d280ec60fe5b4a434d5a48f1c143e6dbc48
wlbdashboard
wmcs
node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js
WebAssemblyGenerator
type
/** * @typedef {object} WebAssemblyGeneratorOptions * @property {boolean=} mangleImports mangle imports */ class WebAssemblyGenerator extends Generator { /** * @param {WebAssemblyGeneratorOptions} options options */ constructor(options) { super(); this.options = options; } /** * @param {NormalModule}...