Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
webpack /
lib /
optimize /
[ HOME SHELL ]
Name
Size
Permission
Action
AggressiveMergingPlugin.js
2.02
KB
-rw-r--r--
AggressiveSplittingPlugin.js
9.14
KB
-rw-r--r--
ChunkModuleIdRangePlugin.js
1.55
KB
-rw-r--r--
ConcatenatedModule.js
36.82
KB
-rw-r--r--
EnsureChunkConditionsPlugin.js
2.01
KB
-rw-r--r--
FlagIncludedChunksPlugin.js
3.14
KB
-rw-r--r--
LimitChunkCountPlugin.js
7.42
KB
-rw-r--r--
MergeDuplicateChunksPlugin.js
2.43
KB
-rw-r--r--
MinChunkSizePlugin.js
2.53
KB
-rw-r--r--
MinMaxSizeWarning.js
819
B
-rw-r--r--
ModuleConcatenationPlugin.js
14.49
KB
-rw-r--r--
NaturalChunkOrderPlugin.js
1.1
KB
-rw-r--r--
OccurrenceChunkOrderPlugin.js
2.01
KB
-rw-r--r--
OccurrenceModuleOrderPlugin.js
3.27
KB
-rw-r--r--
OccurrenceOrderPlugin.js
3.9
KB
-rw-r--r--
RemoveEmptyChunksPlugin.js
990
B
-rw-r--r--
RemoveParentModulesPlugin.js
3.61
KB
-rw-r--r--
RuntimeChunkPlugin.js
1.04
KB
-rw-r--r--
SideEffectsFlagPlugin.js
5.14
KB
-rw-r--r--
SplitChunksPlugin.js
28.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FlagIncludedChunksPlugin.js
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; class FlagIncludedChunksPlugin { apply(compiler) { compiler.hooks.compilation.tap("FlagIncludedChunksPlugin", compilation => { compilation.hooks.optimizeChunkIds.tap( "FlagIncludedChunksPlugin", chunks => { // prepare two bit integers for each module // 2^31 is the max number represented as SMI in v8 // we want the bits distributed this way: // the bit 2^31 is pretty rar and only one module should get it // so it has a probability of 1 / modulesCount // the first bit (2^0) is the easiest and every module could get it // if it doesn't get a better bit // from bit 2^n to 2^(n+1) there is a probability of p // so 1 / modulesCount == p^31 // <=> p = sqrt31(1 / modulesCount) // so we use a modulo of 1 / sqrt31(1 / modulesCount) const moduleBits = new WeakMap(); const modulesCount = compilation.modules.length; // precalculate the modulo values for each bit const modulo = 1 / Math.pow(1 / modulesCount, 1 / 31); const modulos = Array.from( { length: 31 }, (x, i) => Math.pow(modulo, i) | 0 ); // iterate all modules to generate bit values let i = 0; for (const module of compilation.modules) { let bit = 30; while (i % modulos[bit] !== 0) { bit--; } moduleBits.set(module, 1 << bit); i++; } // interate all chunks to generate bitmaps const chunkModulesHash = new WeakMap(); for (const chunk of chunks) { let hash = 0; for (const module of chunk.modulesIterable) { hash |= moduleBits.get(module); } chunkModulesHash.set(chunk, hash); } for (const chunkA of chunks) { const chunkAHash = chunkModulesHash.get(chunkA); const chunkAModulesCount = chunkA.getNumberOfModules(); if (chunkAModulesCount === 0) continue; let bestModule = undefined; for (const module of chunkA.modulesIterable) { if ( bestModule === undefined || bestModule.getNumberOfChunks() > module.getNumberOfChunks() ) bestModule = module; } loopB: for (const chunkB of bestModule.chunksIterable) { // as we iterate the same iterables twice // skip if we find ourselves if (chunkA === chunkB) continue; const chunkBModulesCount = chunkB.getNumberOfModules(); // ids for empty chunks are not included if (chunkBModulesCount === 0) continue; // instead of swapping A and B just bail // as we loop twice the current A will be B and B then A if (chunkAModulesCount > chunkBModulesCount) continue; // is chunkA in chunkB? // we do a cheap check for the hash value const chunkBHash = chunkModulesHash.get(chunkB); if ((chunkBHash & chunkAHash) !== chunkAHash) continue; // compare all modules for (const m of chunkA.modulesIterable) { if (!chunkB.containsModule(m)) continue loopB; } chunkB.ids.push(chunkA.id); } } } ); }); } } module.exports = FlagIncludedChunksPlugin;
Close