Home | History | Annotate | Download | only in test

Lines Matching refs:chunk_size

756         def hash_in_chunks(chunk_size, event):
759 hasher.update(data[index:index+chunk_size])
760 index += chunk_size
765 chunk_size = len(data) // (10**threadnum)
766 self.assertGreater(chunk_size, 0)
767 self.assertEqual(chunk_size % len(smallest_data), 0)
771 args=(chunk_size, event)).start()