1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00
pdf.js/src
Calixte Denizet c0e165bf97 Simplify the way to compute the remainder modulo 3 in PDF20Hash function
I noticed the 256 % 3 (which is equal to 1) so I slighty simplify the code.
The sum of the 16 Uint8 doesn't exceed 2^12, hence we can just take the
sum modulo 3.
2022-10-07 14:43:31 +02:00
..
core Simplify the way to compute the remainder modulo 3 in PDF20Hash function 2022-10-07 14:43:31 +02:00
display [api-minor] Make isOffscreenCanvasSupported configurable via the API (issue 14952) 2022-10-07 00:10:46 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api [JS] Add the function AFExactMatch 2022-09-29 14:23:56 -10:00
shared Change how src/shared/compatibility.js is imported 2022-10-01 13:29:54 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header.js Update the year in the license_header files 2022-01-27 19:24:31 +01:00
license_header_libre.js Use correct case for JavaScript 2022-04-21 23:56:28 +08:00
pdf.image_decoders.js Fix the Jbig2Image export for the gulp image_decoders build (PR 9729 follow-up, issue 13367) 2021-05-12 19:41:29 +02:00
pdf.js [api-minor] Stop exposing the LoopbackPort class in the API 2022-09-23 13:44:35 +02:00
pdf.sandbox.external.js Access the setTimeout-functionRefs correctly in SandboxSupportBase.destroy 2022-09-20 14:10:44 +02:00
pdf.sandbox.js [JS] Use beforeinput event to trigger a keystroke event in the sandbox 2022-01-23 19:53:01 +01:00
pdf.scripting.js Tweak the pdf.scripting.js bundling, to improve overall consistency 2020-10-25 16:36:56 +01:00
pdf.worker.entry.js Update the year in the license_header files 2022-01-27 19:24:31 +01:00
pdf.worker.js Convert the src/pdf.js and src/pdf.worker.js files to use standard import/export statements 2020-05-20 13:18:23 +02:00
worker_loader.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00