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

Function getLeadingBit

dash/deps/react-dom@18.3.1.js:12199–12201  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

12197 }
12198
12199 function getLeadingBit(id) {
12200 return 1 << getBitLength(id) - 1;
12201 }
12202
12203 function popTreeContext(workInProgress) {
12204 // Restore the previous values.

Callers 1

getTreeIdFunction · 0.70

Calls 1

getBitLengthFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…