/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/ |
test.py | 281 crcfun = mkCrcFun(*crcfun_params) 282 self.assertEqual(crcfun(b'',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,)) 284 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 285 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 286 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 335 crcfun = mkCrcFun(*crcfun_params) 338 self.assertEqual(crcfun(msg), crc_poly_fun(msg)) 439 crcfun = mkPredefinedCrcFun(crcfun_name [all...] |
crcmod.py | 103 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 104 self._crc = crcfun 278 def crcfun(data, crc=initCrc): 431 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 434 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 437 return crcfun, tableList
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/ |
test.py | 292 crcfun = mkCrcFun(*crcfun_params) 293 self.assertEqual(crcfun('',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,)) 295 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 296 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 297 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 346 crcfun = mkCrcFun(*crcfun_params) 349 self.assertEqual(crcfun(msg), crc_poly_fun(msg)) 450 crcfun = mkPredefinedCrcFun(crcfun_name [all...] |
crcmod.py | 102 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 103 self._crc = crcfun 277 def crcfun(data, crc=initCrc): 446 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 449 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 452 return crcfun, tableList
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/ |
test.py | 292 crcfun = mkCrcFun(*crcfun_params) 293 self.assertEqual(crcfun('',0), 0, "Wrong answer for CRC parameters %s, input ''" % (crcfun_params,)) 295 self.assertEqual(crcfun(msg), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 296 self.assertEqual(crcfun(msg[4:], crcfun(msg[:4])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 297 self.assertEqual(crcfun(msg[-1:], crcfun(msg[:-1])), v[i], "Wrong answer for CRC parameters %s, input '%s'" % (crcfun_params,msg)) 346 crcfun = mkCrcFun(*crcfun_params) 349 self.assertEqual(crcfun(msg), crc_poly_fun(msg)) 450 crcfun = mkPredefinedCrcFun(crcfun_name [all...] |
crcmod.py | 102 (crcfun, table) = _mkCrcFun(poly, sizeBits, initCrc, rev, xorOut) 103 self._crc = crcfun 277 def crcfun(data, crc=initCrc): 446 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 449 def crcfun(data, crc=initCrc, table=_table, fun=_fun): function in function:_mkCrcFun 452 return crcfun, tableList
|