ClickHouse/dbms/tests/queries/0_stateless/00936_crc_functions.reference
Azat Khuzhin 2d2e738085 Add CRC32IEEE()/CRC64() support
zlib's implementation uses CRC-32-IEEE 802.3 polynomial (0xedb88320) but
with starting value 0xffffffff, so introduce another crc32
implementation - CRC32IEEE that has starting value - 0

Also add CRC64 with ECMA polynomial.

v2: s/crc*_data./crc*_data./ to avoid conflicts with other crc32.h in contrib
v3: join with existing CRC32()
2019-10-25 15:52:41 +03:00

27 lines
364 B
Plaintext

2663297705
2663297705 3632233996
0
55151997
3142898280
3358319860
3369829874
0
0
2663297705
4027020077
4069886758
0 0
55151997 2663297705
3142898280 4027020077
3358319860 0
3369829874 4069886758
0 0
qwerty string 55151997 2663297705
qqq aaa 3142898280 4027020077
zxcqwer 3358319860 0
aasq xxz 3369829874 4069886758
CRC32IEEE()
7332BC33
CRC64()
72D5B9EA0B70CE1E