MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / hsh

Function hsh

packages/replay-worker/examples/worker.js:409–411  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

407 var bs1_1 = Math.ceil(plvl / 3),
408 bs2_1 = 2 * bs1_1;
409 var hsh = function (i) {
410 return (dat[i] ^ (dat[i + 1] << bs1_1) ^ (dat[i + 2] << bs2_1)) & msk_1;
411 };
412 // 24576 is an arbitrary number of maximum symbols per block
413 // 424 buffer for last block
414 var syms = new i32(25000);

Callers 1

dfltFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected