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

Function onClockFast

src/App.js:137–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 }
136
137 function onClockFast() {
138 if(clock + 10 > lastClock()) return;
139 setClock(clock + 10);
140
141 let result = shaStepped(input, firstLoop(clock + 9), secondLoop(clock + 9), chunksLoop(clock + 9));
142
143 setWView(result.w);
144 setResult(result.hash);
145 setLetters(result.letters);
146 setLettersBefore(result.lettersBefore);
147 setHs(result.hs);
148 setHsBefore(result.hsBefore);
149
150 ReactGA.event('onClockFast');
151 }
152
153 function onClockBackFast() {
154 if(clock < 10) return;

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected