Home
last modified time | relevance | path

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

/external/skia/bench/
DFontCacheBench.cpp118 for (int hashBits = 6; hashBits <= 12; hashBits += 1) { in onDraw() local
119 int hashMask = ((1 << hashBits) - 1); in onDraw()
131 …f("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collision… in onDraw()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java248 int hashBits = function.bits(); in checkNoFunnels() local
256 int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); in checkNoFunnels()
274 hashBits + " output bits; The unaffected bits are " + in checkNoFunnels()
291 int hashBits = function.bits(); in checkAvalanche() local
293 int[] same = new int[hashBits]; in checkAvalanche()
294 int[] diff = new int[hashBits]; in checkAvalanche()
303 for (int k = 0; k < hashBits; k++) { in checkAvalanche()
312 for (int j = 0; j < hashBits; j++) { in checkAvalanche()
378 int hashBits = function.bits(); in check2BitAvalanche() local
383 int[] same = new int[hashBits]; in check2BitAvalanche()
[all …]