MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / PrevectorJob

Method PrevectorJob

src/bench/checkqueue.cpp:28–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 struct PrevectorJob {
27 prevector<PREVECTOR_SIZE, uint8_t> p;
28 PrevectorJob(){
29 }
30 explicit PrevectorJob(FastRandomContext& insecure_rand){
31 p.resize(insecure_rand.randrange(PREVECTOR_SIZE*2));
32 }

Callers

nothing calls this directly

Calls 2

randrangeMethod · 0.80
resizeMethod · 0.45

Tested by

no test coverage detected