Lines Matching refs:kBlockSize
33 const int kBlockSize = 1 << 15; // 32768; in HashDjb2() local
47 while (count >= (uint64)(kBlockSize)) { in HashDjb2()
48 seed = HashDjb2_SSE(src, kBlockSize, seed); in HashDjb2()
49 src += kBlockSize; in HashDjb2()
50 count -= kBlockSize; in HashDjb2()
121 const int kBlockSize = 65536; in ComputeSumSquareError() local
122 int remainder = count & (kBlockSize - 1) & ~31; in ComputeSumSquareError()
147 for (i = 0; i < (count - (kBlockSize - 1)); i += kBlockSize) { in ComputeSumSquareError()
148 sse += SumSquareError(src_a + i, src_b + i, kBlockSize); in ComputeSumSquareError()
150 src_a += count & ~(kBlockSize - 1); in ComputeSumSquareError()
151 src_b += count & ~(kBlockSize - 1); in ComputeSumSquareError()