MCPcopy
hub / github.com/opentrace/opentrace / f

Function f

ui/public/lbug_wasm_worker.js:1091–1102  ·  view source on GitHub ↗
(s, x, y, z)

Source from the content-addressed store, hash-verified

1089 'use strict';
1090 Object.defineProperty(exports, '__esModule', { value: true });
1091 function f(s, x, y, z) {
1092 switch (s) {
1093 case 0:
1094 return (x & y) ^ (~x & z);
1095 case 1:
1096 return x ^ y ^ z;
1097 case 2:
1098 return (x & y) ^ (x & z) ^ (y & z);
1099 case 3:
1100 return x ^ y ^ z;
1101 }
1102 }
1103 function ROTL(x, n) {
1104 return (x << n) | (x >>> (32 - n));
1105 }

Callers 6

sha1Function · 0.85
createExportWrapperFunction · 0.85
makeWrapper_ppFunction · 0.85
makeWrapper_pFunction · 0.85
makeWrapper_pppFunction · 0.85
makeWrapper_p_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected