MCPcopy Create free account
hub / github.com/cxapython/catvm / b

Function b

xiaohongshu/test.js:852–867  ·  view source on GitHub ↗
(e, t, n, r)

Source from the content-addressed store, hash-verified

850 return -1
851 }
852 function b(e, t, n, r) {
853 n = Number(n) || 0;
854 var i = e.length - n;
855 r ? (r = Number(r)) > i && (r = i) : r = i;
856 var o = t.length;
857 if (o % 2 != 0)
858 throw new TypeError("Invalid hex string");
859 r > o / 2 && (r = o / 2);
860 for (var a = 0; a < r; ++a) {
861 var s = parseInt(t.substr(2 * a, 2), 16);
862 if (isNaN(s))
863 return a;
864 e[n + a] = s
865 }
866 return a
867 }
868 function w(e, t, n, r) {
869 return z($(t, e.length - n), e, n, r)
870 }

Callers 1

test.jsFile · 0.70

Calls 4

nFunction · 0.70
hFunction · 0.70
wFunction · 0.70
pFunction · 0.70

Tested by

no test coverage detected