MCPcopy
hub / github.com/dmarman/sha256algorithm / onClockInit

Function onClockInit

src/App.js:254–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252 }
253
254 function onClockInit() {
255 setClock(0);
256 let result = shaStepped('s', firstLoop(0), secondLoop(0), chunksLoop(clock));
257
258 setWView(result.w);
259 setResult(result.hash);
260 setLetters(result.letters);
261 setLettersBefore(result.lettersBefore);
262 setHs(result.hs);
263 setHsBefore(result.hsBefore);
264
265 ReactGA.event('onClockInit');
266 }
267
268 function lastClock() {
269 if(chunksCount === 1) return 113;

Callers

nothing calls this directly

Calls 4

shaSteppedFunction · 0.85
firstLoopFunction · 0.85
secondLoopFunction · 0.85
chunksLoopFunction · 0.85

Tested by

no test coverage detected