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

Function wbits16

packages/replay-worker/examples/worker.js:165–171  ·  view source on GitHub ↗
(d, p, v)

Source from the content-addressed store, hash-verified

163};
164// starting at p, write the minimum number of bits (>8) that can hold v to d
165var wbits16 = function (d, p, v) {
166 v <<= p & 7;
167 var o = (p / 8) | 0;
168 d[o] |= v;
169 d[o + 1] |= v >> 8;
170 d[o + 2] |= v >> 16;
171};
172// creates code lengths from a frequency table
173var hTree = function (d, mb) {
174 // Need extra info to make a tree

Callers 1

wblkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected