Home
last modified time | relevance | path

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

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