Searched refs:cycleLen (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/smhasher/src/
H A DKeysetTest.h250 bool CyclicKeyTest ( pfHash hash, int cycleLen, int cycleReps, const int keycount, bool drawDiagram ) argument
252 printf("Keyset 'Cyclic' - %d cycles of %d bytes - %d keys\n",cycleReps,cycleLen,keycount);
259 int keyLen = cycleLen * cycleReps;
261 uint8_t * cycle = new uint8_t[cycleLen + 16];
268 r.rand_p(cycle,cycleLen);
274 key[j] = cycle[j % cycleLen];

Completed in 48 milliseconds