MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / clen

Function clen

packages/replay-worker/examples/worker.js:292–296  ·  view source on GitHub ↗
(cf, cl)

Source from the content-addressed store, hash-verified

290};
291// calculate the length of output from tree, code lengths
292var clen = function (cf, cl) {
293 var l = 0;
294 for (var i = 0; i < cl.length; ++i) l += cf[i] * cl[i];
295 return l;
296};
297// writes a fixed block
298// returns the new bit pos
299var wfblk = function (out, pos, dat) {

Callers 1

wblkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected