arudradey's picture
download
raw
647 Bytes
/**
* @license
* Copyright 2014 The Emscripten Authors
* SPDX-License-Identifier: MIT
*/
var MAGIC = 0;
Math.random = () => {
MAGIC = Math.pow(MAGIC + 1.8912, 3) % 1;
return MAGIC;
};
var TIME = 10000;
function deterministicNow() {
return TIME++;
}
Date.now = deterministicNow;
// Note: this approach does not work on certain versions of Node.js
// Specifically it seems like its not possible to override performance.now on
// node v16 through v18.
if (globalThis.performance) performance.now = deterministicNow;
// for consistency between different builds than between runs of the same build
Module['thisProgram'] = 'thisProgram';

Xet Storage Details

Size:
647 Bytes
·
Xet hash:
aed4a2d03d9ac4f2df66d958f7ba59f3d15115225901ed58180f8b6daec74f30

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.