Lines Matching refs:adler32
37 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1))
38 self.assertTrue(zlib.adler32("abc", 0xffffffff))
41 self.assertEqual(zlib.adler32("", 0), 0)
42 self.assertEqual(zlib.adler32("", 1), 1)
43 self.assertEqual(zlib.adler32("", 432), 432)
53 self.assertEqual32(zlib.adler32("penguin", 0), 0x0bcf02f6)
54 self.assertEqual32(zlib.adler32("penguin", 1), 0x0bd602f7)
57 self.assertEqual(zlib.adler32("penguin"),zlib.adler32("penguin",1))
65 self.assertEqual(zlib.adler32(foo+foo), -721416943)
66 self.assertEqual(zlib.adler32('spam'), 72286642)
91 self.assertEqual(zlib.adler32(data) & 0xFFFFFFFF, 2256789997)