Antonio Andelic
fee1565780
Revert "Check stack size in Parser"
2024-02-21 11:33:08 +01:00
Alexey Milovidov
6fd563df52
Miscellaneous
2024-02-19 02:58:51 +01:00
Alexey Milovidov
184e6f840e
Remove useless header files
2023-11-06 03:49:55 +01:00
Anton Popov
624782bd8f
Merge remote-tracking branch 'upstream/master' into HEAD
2023-09-18 23:13:20 +00:00
ltrk2
b6d4b5598b
Fix SipHash128 reference for big-endian platforms
2023-08-30 08:15:09 -07:00
Anton Popov
0865c0794e
Merge remote-tracking branch 'upstream/master' into HEAD
2023-08-17 14:08:59 +00:00
Anton Popov
76b279ddb4
Merge remote-tracking branch 'upstream/master' into HEAD
2023-08-07 13:56:17 +00:00
ltrk2
e869adf645
Improve function naming
2023-07-31 06:48:50 -07:00
ltrk2
1208e59b8e
Inline hash geetter mthods for potential performance gains
2023-07-19 10:01:58 -07:00
ltrk2
ba4072f049
Adapt changes around SipHash
2023-07-19 10:01:58 -07:00
ltrk2
6b96a3943d
Update further uses of SipHash
2023-07-19 10:01:58 -07:00
ltrk2
51e2c58a53
Implement endianness-independent SipHash and MergeTree checksum serialization
2023-07-19 10:01:55 -07:00
Zhiguo Zhou
b0fb96c8b6
Inline SipHash::get128(char *)
...
The SipHash-128 values of the strings are calculated and stored in
a set when the UniqExact aggregate function is applied to a Column-
String, as the following snippet shows:
StringRef value = column.getDataAt(row_num);
UInt128 key;
SipHash hash;
hash.update(value.data, value.size);
hash.get128(key);
The implementation of SipHash requires an internal 8-byte buffer,
current_word (or current_bytes), for holding the input data in the
cross function calls of SipHash::update and SipHash::get128. But,
in the above situation, where the update and get128 only take place
once, the copy of input data to the buffer is unnecessary.
With get128 inlined, the compiler could optimize the code as a whole
and reduce the unexpected memory operations, and as a result, the
query performance is improved.
2023-07-11 23:17:55 +08:00
Anton Popov
eb0e14b870
allow to replace long file names to hashes
2023-06-06 00:44:20 +00:00
Alexey Milovidov
530b764953
Fix IBM
2023-04-21 12:38:45 +02:00
HarryLeeIBM
a32d7a00bc
Fix SipHash integer hashing and byte order issue in GenerateRandom for s390x
2023-03-14 11:54:17 -04:00
Salvatore Mesoraca
001b714d3e
Common: SipHash: add original 128-bit output implementation
2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
2e72e27206
common: siphash: add support for custom keys
2023-01-27 13:00:53 +01:00
Robert Schulze
3c1a721da4
Merge branch 'master' into hlee-s390x-wide-int-order
2022-12-04 18:47:00 +01:00
HarryLeeIBM
0133444433
Fix byte order issue of wide integer for s390x
2022-11-14 10:47:32 -08:00
Vasily Nemkov
05cde705b0
Addressed issues mentioned in PR
...
Stronger hashing for LDAP parameters
Fixed SipHash double finalize()
Simplified checks on search_limit
2022-10-20 16:38:41 +04:00
Vasily Nemkov
1ed7ad57d9
fix LDAP in case of many roles on user
...
- Raised default value of search_limit to 256
- Added option to change that to arbitrary value
- using SipHash for computing hash of LDAP server parameters
- other minor changes
2022-10-20 16:38:38 +04:00
HarryLeeIBM
f3e8738145
Fixed issues in code review
2022-09-17 19:48:08 -07:00
HarryLeeIBM
d62ba01e93
Fix SipHash Endian issue for s390x
2022-09-15 06:25:23 -07:00
Alexey Milovidov
fa62c7e982
Fix half of trash
2022-09-10 04:08:16 +02:00
HarryLeeIBM
cc73b53116
Fix Endian issue in SipHash for s390x
2022-07-29 13:21:50 -07:00
Antonio Andelic
2ec61a8d7f
Initial implementation of digest
2022-05-16 13:36:31 +00:00
Alexey Milovidov
4eac661588
Merge branch 'master' into master
2022-05-07 13:21:59 +03:00
Maksim Kita
282dd98779
Fix build
2022-03-14 18:17:36 +00:00
Maksim Kita
e7772ed434
Fix clang-tidy warnings in Common folder
2022-03-14 18:17:35 +00:00
Danila Kutenin
3ce71f211a
First portion of force inlines
2022-02-27 10:43:17 +00:00
nicelulu
7d74f26ce9
128bit hash-functions accepting arbitrary list of arguments
...
add sipHash128 return UInt128.
better test.
better combineHashes
better test
Fix build
2021-10-07 19:25:39 +08:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Alexey Milovidov
093108bf81
Normalize BigInt implementation
2021-01-27 03:54:57 +03:00
Alexey Milovidov
5f13fdddc0
Remove useless code from BigInt
2021-01-26 21:22:40 +03:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00