MCPcopy Create free account
hub / github.com/TruthHun/BookStack / bi_reverse

Function bi_reverse

static/word2md/mammoth.browser.js:22571–22579  ·  view source on GitHub ↗
(code, len)

Source from the content-addressed store, hash-verified

22569 * IN assertion: 1 <= len <= 15
22570 */
22571function bi_reverse(code, len) {
22572 var res = 0;
22573 do {
22574 res |= code & 1;
22575 code >>>= 1;
22576 res <<= 1;
22577 } while (--len > 0);
22578 return res >>> 1;
22579}
22580
22581
22582/* ===========================================================================

Callers 2

gen_codesFunction · 0.70
tr_static_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected