MCPcopy Create free account
hub / github.com/plotly/dash / getBitLength

Function getBitLength

dash/deps/react-dom@18.3.1.js:12195–12197  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

12193 }
12194
12195 function getBitLength(number) {
12196 return 32 - clz32(number);
12197 }
12198
12199 function getLeadingBit(id) {
12200 return 1 << getBitLength(id) - 1;

Callers 2

pushTreeIdFunction · 0.70
getLeadingBitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…