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,284,600 | 2549d780757f380edb62ffff5fc7fbfd | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=163-172/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
if (this._replacements.length === 0) {
return this._source.sourceAndMap(options);
}
return getSourceAndMap(this, options);
} |
1,284,601 | 4179cc033f7295db45c826adcb8db172 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=174-176/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::original | function | original() {
return this._source;
} |
1,284,602 | 6ba97494399180f9b4ae8de7badb2775 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=539-553/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
this._sortReplacements();
hash.update("ReplaceSource");
this._source.updateHash(hash);
hash.update(this._name || "");
for (const repl of this._replacements) {
hash.update(
`${repl.start}${repl.end}${repl.content}${repl.nam... |
1,284,603 | e707670c932ed52eb0d3ed4d043b729e | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=203-537/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
th... |
1,284,604 | 4957595f4e2ce3bb068a1d7a3da4e382 | swh:1:cnt:ffd4e156934a420d0fda99706635ac0a4d5c75b3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=178-201/ | 264413cc92930276958f2c5c6f27b632bbacd8bd | wlbdashboard | wmcs | node_modules/webpack-sources/lib/ReplaceSource.js | ReplaceSource::_sortReplacements | function | _sortReplacements() {
if (this._isSorted) return;
if (hasStableSort) {
this._replacements.sort((a, b) => {
const diff1 = a.start - b.start;
if (diff1 !== 0) return diff1;
const diff2 = a.end - b.end;
if (diff2 !== 0) return diff2;
return 0;
});
} else {
for (const [i, repl] of this._r... |
1,284,605 | 269469824cb7f5a088b83dfe831f66ec | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-69/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource | type | /** @typedef {import("./Source").HashLike} HashLike */
/** @typedef {import("./Source").MapOptions} MapOptions */
/** @typedef {import("./Source").RawSourceMap} RawSourceMap */
/** @typedef {import("./Source").SourceValue} SourceValue */
class SizeOnlySource extends Source {
/**
* @param {number} size size
*/
co... |
1,284,606 | 79cfa59f519ae7e702eaa1326c41340e | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-26/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::constructor | function | /**
* @param {number} size size
*/
constructor(size) {
super();
/**
* @private
* @type {number}
*/
this._size = size;
} |
1,284,607 | f2d7b3f4b5ab95253e3b67543a743c26 | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-36/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::size | function | size() {
return this._size;
} |
1,284,608 | 56f6ffae3ddd8ab9f555457a991bcd11 | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-32/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::_error | function | _error() {
return new Error(
"Content and Map of this Source is not available (only size() is supported)",
);
} |
1,284,609 | 68109765c1a702a1f8c6886c6ed5ca7b | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-50/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::buffer | function | /**
* @returns {Buffer} buffer
*/
buffer() {
throw this._error();
} |
1,284,610 | dbee7cb7e1144580e600861584919560 | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-43/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::source | function | /**
* @returns {SourceValue} source
*/
source() {
throw this._error();
} |
1,284,611 | 1054dc0268214f92e6ec1df55f42fb2d | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-59/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
// eslint-disable-next-line no-unused-vars
map(options) {
throw this._error();
} |
1,284,612 | c2b03a80397736facc307979e4833f1f | swh:1:cnt:dc74cb06cb7b71ee5f9126915b06ec786a677f53;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-68/ | d5d70a9af1c47fe3b39e52a861d31e4b21d4df2c | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SizeOnlySource.js | SizeOnlySource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
// eslint-disable-next-line no-unused-vars
updateHash(hash) {
throw this._error();
} |
1,284,613 | 7613a9e37c1b05020e41f08d118f1d3a | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-87/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source | type | /**
* @typedef {object} MapOptions
* @property {boolean=} columns need columns?
* @property {boolean=} module is module
*/
/**
* @typedef {object} RawSourceMap
* @property {number} version version
* @property {string[]} sources sources
* @property {string[]} names names
* @property {string=} sourceRoot source... |
1,284,614 | a9d97c9ac3b2dbc09c92c04ce3c6868a | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-47/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::source | function | /**
* @returns {SourceValue} source
*/
source() {
throw new Error("Abstract");
} |
1,284,615 | 63666cee84aaa4af8e0bb6fb115bea2c | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-57/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::size | function | size() {
return this.buffer().length;
} |
1,284,616 | be0b720ce9fb84f7df82bbcde7c821bd | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-66/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
// eslint-disable-next-line no-unused-vars
map(options) {
return null;
} |
1,284,617 | cbb58c2f3ee815a4d6204de581fa42fe | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-77/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
return {
source: this.source(),
map: this.map(options),
};
} |
1,284,618 | a01c47cd7ffdad925d470d58ec8ca557 | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=49-53/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::buffer | function | buffer() {
const source = this.source();
if (Buffer.isBuffer(source)) return source;
return Buffer.from(source, "utf8");
} |
1,284,619 | 3fae50499c6847bd58efcdd9e12f730f | swh:1:cnt:39859e2ba6c31ffa2544435193b0e9aefef60dcb;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-86/ | 078c5d43fa184097a29447dd5497d714cf8c167f | wlbdashboard | wmcs | node_modules/webpack-sources/lib/Source.js | Source::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
// eslint-disable-next-line no-unused-vars
updateHash(hash) {
throw new Error("Abstract");
} |
1,284,620 | 68df2be5905f34c59c92a0f8502ab9c2 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-365/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource | type | /** @typedef {import("./Source").HashLike} HashLike */
/** @typedef {import("./Source").MapOptions} MapOptions */
/** @typedef {import("./Source").RawSourceMap} RawSourceMap */
/** @typedef {import("./Source").SourceAndMap} SourceAndMap */
/** @typedef {import("./Source").SourceValue} SourceValue */
/** @typedef {impor... |
1,284,621 | 61a359e7515603001d410339d5050c6c | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-116/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::constructor | function | /**
* @param {string | Buffer} value value
* @param {string} name name
* @param {string | Buffer | RawSourceMap=} sourceMap source map
* @param {SourceValue=} originalSource original source
* @param {(null | string | Buffer | RawSourceMap)=} innerSourceMap inner source map
* @param {boolean=} removeOriginal... |
1,284,622 | f8895381b80cd71502dd1447ef778cd7 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=146-160/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::source | function | /**
* @returns {SourceValue} source
*/
source() {
if (this._valueAsString === undefined) {
const value =
/** @type {Buffer} */
(this._valueAsBuffer).toString("utf8");
if (isDualStringBufferCachingEnabled()) {
this._valueAsString = value;
}
return value;
}
return this._valueAsString;
... |
1,284,623 | 49f6cbdbd4f0fd7f19cb4b169d19d606 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=132-144/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::buffer | function | buffer() {
if (this._valueAsBuffer === undefined) {
const value = Buffer.from(
/** @type {string} */ (this._valueAsString),
"utf8",
);
if (isDualStringBufferCachingEnabled()) {
this._valueAsBuffer = value;
}
return value;
}
return this._valueAsBuffer;
} |
1,284,624 | 0ba850db5db5a8b37dbeb423e46643af | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=162-179/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_originalSourceBuffer | function | /**
* @private
* @returns {undefined | Buffer} buffer
*/
_originalSourceBuffer() {
if (this._originalSourceAsBuffer === undefined && this._hasOriginalSource) {
const value = Buffer.from(
/** @type {string} */
(this._originalSourceAsString),
"utf8",
);
if (isDualStringBufferCachingEnabled()... |
1,284,625 | 91ed00c7c378eba35dc415b8ab9e0cd5 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=118-130/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::getArgsAsBuffers | function | /**
* @returns {[Buffer, string, Buffer, Buffer | undefined, Buffer | undefined, boolean | undefined]} args
*/
getArgsAsBuffers() {
return [
this.buffer(),
this._name,
this._sourceMapBuffer(),
this._originalSourceBuffer(),
this._innerSourceMapBuffer(),
this._removeOriginalSource,
];
} |
1,284,626 | 96e8dacaaf0edda6f464244e5bcf30bd | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=181-192/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_originalSourceString | function | _originalSourceString() {
if (this._originalSourceAsString === undefined && this._hasOriginalSource) {
const value =
/** @type {Buffer} */
(this._originalSourceAsBuffer).toString("utf8");
if (isDualStringBufferCachingEnabled()) {
this._originalSourceAsString = value;
}
return value;
}
retu... |
1,284,627 | ab13f8b1b8489f31e7d09b1cafd9cf2c | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=194-203/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_innerSourceMapObject | function | _innerSourceMapObject() {
if (this._innerSourceMapAsObject === undefined && this._hasInnerSourceMap) {
const value = JSON.parse(this._innerSourceMapString());
if (isDualStringBufferCachingEnabled()) {
this._innerSourceMapAsObject = value;
}
return value;
}
return this._innerSourceMapAsObject;
} |
1,284,628 | b7876d3f1530ea2f6dd75725c3c6681d | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=205-214/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_innerSourceMapBuffer | function | _innerSourceMapBuffer() {
if (this._innerSourceMapAsBuffer === undefined && this._hasInnerSourceMap) {
const value = Buffer.from(this._innerSourceMapString(), "utf8");
if (isDualStringBufferCachingEnabled()) {
this._innerSourceMapAsBuffer = value;
}
return value;
}
return this._innerSourceMapAsBuf... |
1,284,629 | 0079534a800f6636354fd4f1f5946cfd | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=216-236/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_innerSourceMapString | function | /**
* @private
* @returns {string} result
*/
_innerSourceMapString() {
if (this._innerSourceMapAsString === undefined && this._hasInnerSourceMap) {
if (this._innerSourceMapAsBuffer !== undefined) {
const value = this._innerSourceMapAsBuffer.toString("utf8");
if (isDualStringBufferCachingEnabled()) {... |
1,284,630 | 039722fed2dea0fe9ab6ac56d2710a2f | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=238-247/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_sourceMapObject | function | _sourceMapObject() {
if (this._sourceMapAsObject === undefined) {
const value = JSON.parse(this._sourceMapString());
if (isDualStringBufferCachingEnabled()) {
this._sourceMapAsObject = value;
}
return value;
}
return this._sourceMapAsObject;
} |
1,284,631 | 348d6fbd3917a8af3a0ff09a596cfaef | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=278-287/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::map | function | /**
* @param {MapOptions=} options map options
* @returns {RawSourceMap | null} map
*/
map(options) {
if (!this._hasInnerSourceMap) {
return this._sourceMapObject();
}
return getMap(this, options);
} |
1,284,632 | 078f4e3cd9e3a52e394ea5966a780af4 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=289-301/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::sourceAndMap | function | /**
* @param {MapOptions=} options map options
* @returns {SourceAndMap} source and map
*/
sourceAndMap(options) {
if (!this._hasInnerSourceMap) {
return {
source: this.source(),
map: this._sourceMapObject(),
};
}
return getSourceAndMap(this, options);
} |
1,284,633 | d6eec89eb65c20d77fc43f3cb0513a8b | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=340-364/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::updateHash | function | /**
* @param {HashLike} hash hash
* @returns {void}
*/
updateHash(hash) {
hash.update("SourceMapSource");
hash.update(this.buffer());
hash.update(this._sourceMapBuffer());
if (this._hasOriginalSource) {
hash.update(
/** @type {Buffer} */
(this._originalSourceBuffer()),
);
}
if (this._... |
1,284,634 | f1308f6fd5d36f0878fc7d08a7feb6bd | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=303-338/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::streamChunks | function | /**
* @param {Options} options options
* @param {OnChunk} onChunk called for each chunk of code
* @param {OnSource} onSource called for each source
* @param {OnName} onName called for each name
* @returns {GeneratedSourceInfo} generated source info
*/
streamChunks(options, onChunk, onSource, onName) {
if... |
1,284,635 | 833740bf4b4581d0c4dd23686d9bc9b2 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=260-276/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_sourceMapString | function | _sourceMapString() {
if (this._sourceMapAsString === undefined) {
if (this._sourceMapAsBuffer !== undefined) {
const value = this._sourceMapAsBuffer.toString("utf8");
if (isDualStringBufferCachingEnabled()) {
this._sourceMapAsString = value;
}
return value;
}
const value = JSON.stringify... |
1,284,636 | 7ed4420dcafb01c14177c49699ceef89 | swh:1:cnt:bd58d89f696ecaa5c20ad35e74fbc4ae79c54072;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=249-258/ | 946b52cb4fe41e720ab47fead0ca75aada15e872 | wlbdashboard | wmcs | node_modules/webpack-sources/lib/SourceMapSource.js | SourceMapSource::_sourceMapBuffer | function | _sourceMapBuffer() {
if (this._sourceMapAsBuffer === undefined) {
const value = Buffer.from(this._sourceMapString(), "utf8");
if (isDualStringBufferCachingEnabled()) {
this._sourceMapAsBuffer = value;
}
return value;
}
return this._sourceMapAsBuffer;
} |
1,284,637 | 42280c920b6400498d3ebfb124100ae5 | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-18/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | isDualStringBufferCachingEnabled | function | /**
* @returns {boolean} Whether the optimization to cache copies of both the
* string and buffer version of source content is enabled. This is enabled by
* default to improve performance but can consume more memory since values are
* stored twice.
*/
function isDualStringBufferCachingEnabled() {
return dualStrin... |
1,284,638 | fc3eca29d21c1eccbe6c6cd517a8e0b8 | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-50/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | isStringInterningEnabled | function | /**
* @returns {boolean} value
*/
function isStringInterningEnabled() {
return enableStringInterningRefCount > 0;
} |
1,284,639 | 2bcc0b349102e98c2c30bdb0e659f07f | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-29/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | enableDualStringBufferCaching | function | /**
* Enables an optimization to save both string and buffer in memory to avoid
* repeat conversions between the two formats when they are requested. This
* is enabled by default. This option can improve performance but can consume
* additional memory since values are stored twice.
* @returns {void}
*/
function e... |
1,284,640 | 90404d7fb85275a0723c3b92a432b086 | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=31-39/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | disableDualStringBufferCaching | function | /**
* Disables the optimization to save both string and buffer in memory. This
* may increase performance but should reduce memory usage in the Webpack
* compiler.
* @returns {void}
*/
function disableDualStringBufferCaching() {
dualStringBufferCaching = false;
} |
1,284,641 | 117096001762fba09e10dba31a926f5b | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-68/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | enterStringInterningRange | function | /**
* Starts a memory optimization to avoid repeat copies of the same string in
* memory by caching a single reference to the string. This can reduce memory
* usage if the same string is repeated many times in the compiler, such as
* when Webpack layers are used with the same files.
*
* {@link exitStringInterning... |
1,284,642 | cff2f483c7db0b785baec8e080a0384d | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-82/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | exitStringInterningRange | function | /**
* Stops the current string interning range. Once all string interning ranges
* have been exited, this method will free all the memory used by the interned
* strings. This method should be called once for each time that
* {@link enterStringInterningRange} was called.
* @returns {void}
*/
function exitStringInt... |
1,284,643 | 613822b7a2e06129ad76370be770327f | swh:1:cnt:0945112b7dc8912f6eba20d64b2ac760f293f421;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-108/ | 993ce7f7464ff1522477540077294962eea6708b | wlbdashboard | wmcs | node_modules/webpack-sources/lib/helpers/stringBufferUtils.js | internString | function | /**
* Saves the string in a map to ensure that only one copy of the string exists
* in memory at a given time. This is controlled by {@link enableStringInterning}
* and {@link disableStringInterning}. Callers are expect to manage the memory
* of the interned strings by calling {@link disableStringInterning} after t... |
1,284,644 | 01b740607d28d80d19a9b096c5ec3bdc | swh:1:cnt:1fe3e160112aa9b896df4b30a0184d76a69dfaef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-119/ | e76b82916045fd77cee7bef679292dd2eadec92f | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js | DBCSCodec | function | // Class DBCSCodec reads and initializes mapping tables.
function DBCSCodec(codecOptions, iconv) {
this.encodingName = codecOptions.encodingName;
if (!codecOptions)
throw new Error("DBCS codec is called without the data.")
if (!codecOptions.table)
throw new Error("Encoding '" + this.encoding... |
1,284,645 | ce343ecf0f44ba4fb9a0fab9c6e6b9b8 | swh:1:cnt:1fe3e160112aa9b896df4b30a0184d76a69dfaef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=540-554/ | e76b82916045fd77cee7bef679292dd2eadec92f | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js | findIdx | function | // Binary search for GB18030. Returns largest i such that table[i] <= val.
function findIdx(table, val) {
if (table[0] > val)
return -1;
var l = 0, r = table.length;
while (l < r-1) { // always table[l] <= val < table[r]
var mid = l + Math.floor((r-l+1)/2);
if (table[mid] <= val)
... |
1,284,646 | 37fcbb0d4e2e69cb59acb9fd8c8e1380 | swh:1:cnt:1fe3e160112aa9b896df4b30a0184d76a69dfaef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=438-450/ | e76b82916045fd77cee7bef679292dd2eadec92f | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js | DBCSDecoder | function | // == Decoder ==================================================================
function DBCSDecoder(options, codec) {
// Decoder state
this.nodeIdx = 0;
this.prevBuf = Buffer.alloc(0);
// Static data
this.decodeTables = codec.decodeTables;
this.decodeTableSeq = codec.decodeTableSeq;
this... |
1,284,647 | ff6b987499199820df2482851a2ff402 | swh:1:cnt:1fe3e160112aa9b896df4b30a0184d76a69dfaef;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=269-281/ | e76b82916045fd77cee7bef679292dd2eadec92f | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js | DBCSEncoder | function | // == Encoder ==================================================================
function DBCSEncoder(options, codec) {
// Encoder state
this.leadSurrogate = -1;
this.seqObj = undefined;
// Static data
this.encodeTable = codec.encodeTable;
this.encodeTableSeq = codec.encodeTableSeq;
th... |
1,284,648 | 522b3d62ff7335b6998fcc033e10b234 | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-41/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalCodec | function | //------------------------------------------------------------------------------
function InternalCodec(codecOptions, iconv) {
this.enc = codecOptions.encodingName;
this.bomAware = codecOptions.bomAware;
if (this.enc === "base64")
this.encoder = InternalEncoderBase64;
else if (this.enc === "ce... |
1,284,649 | 3a3dbbf6de5a22c7c9264a6003a88693 | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=62-67/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalEncoder | function | //------------------------------------------------------------------------------
// Encoder is mostly trivial
function InternalEncoder(options, codec) {
this.enc = codec.enc;
} |
1,284,650 | f2261d7ddc37c409cfd8c788869267ae | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-57/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalDecoder | function | function InternalDecoder(options, codec) {
StringDecoder.call(this, codec.enc);
} |
1,284,651 | 609b42f350448bef3969a01d1ee1fafe | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=98-102/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalEncoderCesu8 | function | //------------------------------------------------------------------------------
// CESU-8 encoder is also special.
function InternalEncoderCesu8(options, codec) {
} |
1,284,652 | b1117bddf844303033530e7b85a22195 | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=77-82/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalEncoderBase64 | function | //------------------------------------------------------------------------------
// Except base64 encoder, which must keep its state.
function InternalEncoderBase64(options, codec) {
this.prevStr = '';
} |
1,284,653 | e3bebcaeaa2c78c8396a62f01677a24c | swh:1:cnt:05ce38b276eee23753837bea9df92a96e5d02c1a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=128-136/ | 7b00bf335649f8065eb4e3d8084d72f4510ef0b1 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js | InternalDecoderCesu8 | function | //------------------------------------------------------------------------------
// CESU-8 decoder is not implemented in Node v4.0+
function InternalDecoderCesu8(options, codec) {
this.acc = 0;
this.contBytes = 0;
this.accBytes = 0;
this.defaultCharUnicode = codec.defaultCharUnicode;
} |
1,284,654 | 9202a72508db1dec05ada2f9f6c62008 | swh:1:cnt:abac5ffaac97da29fa5c5d8aedf5b47763fc7c58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-32/ | c44885ae884cdc7cd5d1b5ee0cd64ffcdac542bb | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js | SBCSCodec | function | function SBCSCodec(codecOptions, iconv) {
if (!codecOptions)
throw new Error("SBCS codec is called without the data.")
// Prepare char buffer for decoding.
if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256))
throw new Error("Encoding '"+c... |
1,284,655 | 16419f7c114184632aea112a4af39d82 | swh:1:cnt:abac5ffaac97da29fa5c5d8aedf5b47763fc7c58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-56/ | c44885ae884cdc7cd5d1b5ee0cd64ffcdac542bb | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js | SBCSDecoder | function | function SBCSDecoder(options, codec) {
this.decodeBuf = codec.decodeBuf;
} |
1,284,656 | a9fb772617bf6ad82d94c92b73e4071d | swh:1:cnt:abac5ffaac97da29fa5c5d8aedf5b47763fc7c58;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-40/ | c44885ae884cdc7cd5d1b5ee0cd64ffcdac542bb | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js | SBCSEncoder | function | function SBCSEncoder(options, codec) {
this.encodeBuf = codec.encodeBuf;
} |
1,284,657 | 8514b8889827c80457bce71c4eabc95e | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=9-10/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16BECodec | function | function Utf16BECodec() {
} |
1,284,658 | f7a76a18f63ccc314f7c1d398078dd04 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-38/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16BEDecoder | function | // -- Decoding
function Utf16BEDecoder() {
this.overflowByte = -1;
} |
1,284,659 | fdf911cfe5007a2809a894dbfceec7b7 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=84-91/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16Encoder | function | // -- Encoding (pass-through)
function Utf16Encoder(options, codec) {
options = options || {};
if (options.addBOM === undefined)
options.addBOM = true;
this.encoder = codec.iconv.getEncoder('utf-16le', options);
} |
1,284,660 | e0c7076aaf3089c9d3b23a500e00b703 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=17-20/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16BEEncoder | function | // -- Encoding
function Utf16BEEncoder() {
} |
1,284,661 | b9578c97b607b77108d5ed46632bbca6 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-78/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16Codec | function | function Utf16Codec(codecOptions, iconv) {
this.iconv = iconv;
} |
1,284,662 | 7a189a1b3a12c22ba58d4576001a82f9 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-111/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | Utf16Decoder | function | // -- Decoding
function Utf16Decoder(options, codec) {
this.decoder = null;
this.initialBytes = [];
this.initialBytesLen = 0;
this.options = options || {};
this.iconv = codec.iconv;
} |
1,284,663 | bd3f1c6dc5032e6b3dd86e24d3b03628 | swh:1:cnt:54765aeee2f11ec423c0b719cd424bed876d6402;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=146-175/ | 84d25a0c2693c9c9f9ab355eb496a3a445058f35 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js | detectEncoding | function | function detectEncoding(buf, defaultEncoding) {
var enc = defaultEncoding || 'utf-16le';
if (buf.length >= 2) {
// Check BOM.
if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM
enc = 'utf-16be';
else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM
enc = ... |
1,284,664 | 151976d8620349e05862499761b259f8 | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=8-11/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7Codec | function | // Alias UNICODE-1-1-UTF-7
function Utf7Codec(codecOptions, iconv) {
this.iconv = iconv;
} |
1,284,665 | e6c376b71b7c7c8ec90a929a34b767e2 | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=142-149/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7IMAPEncoder | function | // -- Encoding
function Utf7IMAPEncoder(options, codec) {
this.iconv = codec.iconv;
this.inBase64 = false;
this.base64Accum = Buffer.alloc(6);
this.base64AccumIdx = 0;
} |
1,284,666 | c70a83ed387f387babd867316c9219aa | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-46/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7Decoder | function | // -- Decoding
function Utf7Decoder(options, codec) {
this.iconv = codec.iconv;
this.inBase64 = false;
this.base64Accum = '';
} |
1,284,667 | 2b2b72fcba5a83c98b9790bb3a9ca97c | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=133-135/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7IMAPCodec | function | function Utf7IMAPCodec(codecOptions, iconv) {
this.iconv = iconv;
} |
1,284,668 | 6314a9bef716b15a8291597cc32e7aa7 | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-24/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7Encoder | function | function Utf7Encoder(options, codec) {
this.iconv = codec.iconv;
} |
1,284,669 | 438b649ddba43d6fb5cea9f566b4563c | swh:1:cnt:b7631c23a801b0275c1f12a9d1a8fe00d8f51f0c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=216-222/ | ade782fc16b57f05e197696ab95a68893ca2598d | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js | Utf7IMAPDecoder | function | // -- Decoding
function Utf7IMAPDecoder(options, codec) {
this.iconv = codec.iconv;
this.inBase64 = false;
this.base64Accum = '';
} |
1,284,670 | 8beaa9a7f315988769f94af9a3b73540 | swh:1:cnt:1050872385c7f96b4f54d50ebc873b1031e2528c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-9/ | cd5479fc969b5cd434f79f7049ba926badfd66ce | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js | PrependBOMWrapper | function | function PrependBOMWrapper(encoder, options) {
this.encoder = encoder;
this.addBOM = true;
} |
1,284,671 | 2b15325498456c2df0a68a58193ed080 | swh:1:cnt:1050872385c7f96b4f54d50ebc873b1031e2528c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-32/ | cd5479fc969b5cd434f79f7049ba926badfd66ce | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js | StripBOMWrapper | function | function StripBOMWrapper(decoder, options) {
this.decoder = decoder;
this.pass = false;
this.options = options || {};
} |
1,284,672 | 85537d203029a2e9b7507e01109d8d7c | swh:1:cnt:0547eb346b24f470e041bdf67e15f5861e6c8d14;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=20-24/ | 69c42049cdb6cc98f5fcb6a4e5eda843af15bf78 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/lib/index.d.ts | Options | type | interface Options {
stripBOM?: boolean;
addBOM?: boolean;
defaultEncoding?: string;
} |
1,284,673 | 76266256549de23bb34632846baa5203 | swh:1:cnt:4409552958edca1b2eb6b30742759ddf1bb5f3c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=29-35/ | 8143eab8041a02d78a244b442ca4e77ec483b213 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/lib/streams.js | IconvLiteEncoderStream | function | // == Encoder stream =======================================================
function IconvLiteEncoderStream(conv, options) {
this.conv = conv;
options = options || {};
options.decodeStrings = false; // We accept only strings, so we don't need to decode them.
Transform.call(this, options);
} |
1,284,674 | d9deaf481e6e208d40b89ec9d6f7ec2f | swh:1:cnt:4409552958edca1b2eb6b30742759ddf1bb5f3c8;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-82/ | 8143eab8041a02d78a244b442ca4e77ec483b213 | wlbdashboard | wmcs | node_modules/whatwg-encoding/node_modules/iconv-lite/lib/streams.js | IconvLiteDecoderStream | function | // == Decoder stream =======================================================
function IconvLiteDecoderStream(conv, options) {
this.conv = conv;
options = options || {};
options.encoding = this.encoding = 'utf8'; // We output strings.
Transform.call(this, options);
} |
1,284,675 | 23e824d635b3e0c70919bbd37d738e67 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-59/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | normalizeName | function | function normalizeName(name) {
if (typeof name !== 'string') {
name = String(name)
}
if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {
throw new TypeError('Invalid character in header field name: "' + name + '"')
}
return name.toLowerCase()
} |
1,284,676 | 2e73a9d8d56d5042e8174fbf398076f9 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-105/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | Headers | function | function Headers(headers) {
this.map = {}
if (headers instanceof Headers) {
headers.forEach(function(value, name) {
this.append(name, value)
}, this)
} else if (Array.isArray(headers)) {
headers.forEach(function(header) {
if (header.length != 2) {
throw new TypeError('Headers cons... |
1,284,677 | 41b25f84458330092719a4d406d0cf07 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-173/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | consumed | function | function consumed(body) {
if (body._noBody) return
if (body.bodyUsed) {
return Promise.reject(new TypeError('Already read'))
}
body.bodyUsed = true
} |
1,284,678 | 54996e2ecbf5ea3afee8c577e4db4948 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=193-200/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | readBlobAsText | function | function readBlobAsText(blob) {
var reader = new FileReader()
var promise = fileReaderReady(reader)
var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type)
var encoding = match ? match[1] : 'utf-8'
reader.readAsText(blob, encoding)
return promise
} |
1,284,679 | 9be18666353adb536a4843bf499d6808 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=345-348/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | normalizeMethod | function | function normalizeMethod(method) {
var upcased = method.toUpperCase()
return methods.indexOf(upcased) > -1 ? upcased : method
} |
1,284,680 | 8fe24f07037ecf979bd968cdb7de9526 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=433-459/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | parseHeaders | function | function parseHeaders(rawHeaders) {
var headers = new Headers()
// Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
// https://tools.ietf.org/html/rfc7230#section-3.2
var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ')
// Avoiding split via regex to ... |
1,284,681 | 72475e37b15508f1dd521e7376599ea6 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=577-583/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | fetch::fixUrl | function | function fixUrl(url) {
try {
return url === '' && g.location.href ? g.location.href : url
} catch (e) {
return url
}
} |
1,284,682 | 74d1127469f5d86b8649b37fffc5571d | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-66/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | normalizeValue | function | function normalizeValue(value) {
if (typeof value !== 'string') {
value = String(value)
}
return value
} |
1,284,683 | 5a682924685d146b58a4c20501756d81 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=202-210/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | readArrayBufferAsText | function | function readArrayBufferAsText(buf) {
var view = new Uint8Array(buf)
var chars = new Array(view.length)
for (var i = 0; i < view.length; i++) {
chars[i] = String.fromCharCode(view[i])
}
return chars.join('')
} |
1,284,684 | 1d5b98989ea74a23614f7b3e37a24973 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=212-220/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | bufferClone | function | function bufferClone(buf) {
if (buf.slice) {
return buf.slice(0)
} else {
var view = new Uint8Array(buf.byteLength)
view.set(new Uint8Array(buf))
return view.buffer
}
} |
1,284,685 | 05a3c901ab39872c83fd309a2f0aa3f0 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=350-411/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | Request | function | function Request(input, options) {
if (!(this instanceof Request)) {
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
}
options = options || {}
var body = options.body
if (input instanceof Request) {
if (input.bodyUsed) {
throw n... |
1,284,686 | 1aad1a26aa1211ad1bb322e36ed626de | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=536-538/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | fetch::abortXhr | function | function abortXhr() {
xhr.abort()
} |
1,284,687 | 3463d0acf6f9608293713e04dc7de9ab | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-84/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | iteratorFor | function | // Build a destructive iterator for the value list
function iteratorFor(items) {
var iterator = {
next: function() {
var value = items.shift()
return {done: value === undefined, value: value}
}
}
if (support.iterable) {
iterator[Symbol.iterator] = function() {
return iterator
}
... |
1,284,688 | 84b909355ab2a3b68dea19cec34c8fa4 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=186-191/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | readBlobAsArrayBuffer | function | function readBlobAsArrayBuffer(blob) {
var reader = new FileReader()
var promise = fileReaderReady(reader)
reader.readAsArrayBuffer(blob)
return promise
} |
1,284,689 | b6d2c3c76c6506390d3b2628ba073b7a | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=463-481/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | Response | function | function Response(bodyInit, options) {
if (!(this instanceof Response)) {
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
}
if (!options) {
options = {}
}
this.type = 'default'
this.status = options.status === undefined ? 200 : optio... |
1,284,690 | 297dc8580fea254066a24f51c08920bb | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-29/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | isDataView | function | function isDataView(obj) {
return obj && DataView.prototype.isPrototypeOf(obj)
} |
1,284,691 | 33e6e4899f58a02e84b4c3253e45cd9f | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=175-184/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | fileReaderReady | function | function fileReaderReady(reader) {
return new Promise(function(resolve, reject) {
reader.onload = function() {
resolve(reader.result)
}
reader.onerror = function() {
reject(reader.error)
}
})
} |
1,284,692 | bd1ce8ec7dd87d605603cf9ae6691a0a | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=526-633/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | fetch | function | function fetch(input, init) {
return new Promise(function(resolve, reject) {
var request = new Request(input, init)
if (request.signal && request.signal.aborted) {
return reject(new DOMException('Aborted', 'AbortError'))
}
var xhr = new XMLHttpRequest()
function abortXhr() {
xhr.abo... |
1,284,693 | 48cccd974914b66b6ce30eb1412e7cdb | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=222-340/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | Body | function | function Body() {
this.bodyUsed = false
this._initBody = function(body) {
/*
fetch-mock wraps the Response object in an ES6 Proxy to
provide useful test harness features such as flush. However, on
ES5 browsers without fetch or Proxy support pollyfills must be used;
the proxy-pollyfill i... |
1,284,694 | 31090355f924c3a4ab44e4d9a0c06a11 | swh:1:cnt:f39a983a0e8a6d9b6bdd82bd8832b3e45d88e033;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=417-431/ | f3fcf890f035bdd3f68d5ed379e94e70283dc08e | wlbdashboard | wmcs | node_modules/whatwg-fetch/fetch.js | decode | function | function decode(body) {
var form = new FormData()
body
.trim()
.split('&')
.forEach(function(bytes) {
if (bytes) {
var split = bytes.split('=')
var name = split.shift().replace(/\+/g, ' ')
var value = split.join('=').replace(/\+/g, ' ')
form.append(decodeURIComponen... |
1,284,695 | 8575ade4c0604b91dfa3fc93ccd3d065 | swh:1:cnt:7a0d852f2bad0f0322f4c40656b926066dacdfe3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=192-197/ | 57d563209c829431dd3cfe00defd2985ec148b31 | wlbdashboard | wmcs | node_modules/whatwg-fetch/dist/fetch.umd.js | readBlobAsArrayBuffer | function | function readBlobAsArrayBuffer(blob) {
var reader = new FileReader();
var promise = fileReaderReady(reader);
reader.readAsArrayBuffer(blob);
return promise
} |
1,284,696 | dccc4ec33a2779b632b03349ac4d511b | swh:1:cnt:7a0d852f2bad0f0322f4c40656b926066dacdfe3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=356-417/ | 57d563209c829431dd3cfe00defd2985ec148b31 | wlbdashboard | wmcs | node_modules/whatwg-fetch/dist/fetch.umd.js | Request | function | function Request(input, options) {
if (!(this instanceof Request)) {
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
}
options = options || {};
var body = options.body;
if (input instanceof Request) {
if (input.bodyUsed)... |
1,284,697 | a109292bfed0d88e46dc1b9bc7074a66 | swh:1:cnt:7a0d852f2bad0f0322f4c40656b926066dacdfe3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=92-111/ | 57d563209c829431dd3cfe00defd2985ec148b31 | wlbdashboard | wmcs | node_modules/whatwg-fetch/dist/fetch.umd.js | Headers | function | function Headers(headers) {
this.map = {};
if (headers instanceof Headers) {
headers.forEach(function(value, name) {
this.append(name, value);
}, this);
} else if (Array.isArray(headers)) {
headers.forEach(function(header) {
if (header.length != 2) {
throw new Ty... |
1,284,698 | 14ea379a3b4f1aa63e5094ca795a8885 | swh:1:cnt:7a0d852f2bad0f0322f4c40656b926066dacdfe3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=181-190/ | 57d563209c829431dd3cfe00defd2985ec148b31 | wlbdashboard | wmcs | node_modules/whatwg-fetch/dist/fetch.umd.js | fileReaderReady | function | function fileReaderReady(reader) {
return new Promise(function(resolve, reject) {
reader.onload = function() {
resolve(reader.result);
};
reader.onerror = function() {
reject(reader.error);
};
})
} |
1,284,699 | 52359907a2d70afe9879ab1d9782991d | swh:1:cnt:7a0d852f2bad0f0322f4c40656b926066dacdfe3;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=208-216/ | 57d563209c829431dd3cfe00defd2985ec148b31 | wlbdashboard | wmcs | node_modules/whatwg-fetch/dist/fetch.umd.js | readArrayBufferAsText | function | function readArrayBufferAsText(buf) {
var view = new Uint8Array(buf);
var chars = new Array(view.length);
for (var i = 0; i < view.length; i++) {
chars[i] = String.fromCharCode(view[i]);
}
return chars.join('')
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.