Maksim Kita
e7772ed434
Fix clang-tidy warnings in Common folder
2022-03-14 18:17:35 +00:00
Nikita Mikhaylov
d749295222
Fix hardcoded page size ( #35129 )
2022-03-09 12:35:23 +01:00
Alexey Milovidov
3e059a095b
Corrections
2021-12-23 01:25:35 +03:00
Rajkumar
852889f995
Addressing review comment
2021-12-22 08:54:33 -08:00
Boris Kuschel
68de95afc9
Native Format Parsing - Integer Overflow Resizing Arrays
...
Signed-off-by: Boris Kuschel <Boris.Kuschel@ibm.com>
2021-12-21 18:10:51 -05:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
fuzhe1989
f00158c10b
Use memmove in PODArray::insert to handle memory overlapping.
2021-05-19 16:06:54 +08:00
Alexey Milovidov
962a7113f6
Remove code that I do not like (crazy templates)
2021-05-04 20:26:09 +03:00
Maksim Kita
0faab7ae35
Fixed PODArray insertFromItself
2021-03-27 00:49:16 +03:00
Maksim Kita
2cac8d13cc
Updated tests and documentation
2021-03-26 18:42:32 +03:00
Maksim Kita
ce20eae2a3
Added specialized CacheDictionaryStorage
2021-03-14 14:33:21 +03:00
Maksim Kita
468ab258bf
Remove protect
2021-03-13 14:55:56 +03:00
Maksim Kita
12e411f8b9
PODArray swap fix
2021-03-12 21:38:52 +03:00
Maksim Kita
289712f19d
Merge pull request #21532 from kitaisreal/pod-array-left-pad-not-multiple-of-element-crash-fix
...
Pod array left pad not multiple of element crash fix
2021-03-09 14:14:52 +03:00
Maksim Kita
8dd52f087e
Fixed PODArray
2021-03-09 14:14:31 +03:00
Alexey Milovidov
1b3043a583
Fix error (found by @kitaisreal)
2021-03-09 02:15:33 +03:00
Alexey Milovidov
d3aeb30cc0
Remove unused method
2021-03-09 02:10:26 +03:00
Alexey Milovidov
9e23d16739
Cleanup PODArray
2021-03-09 02:03:46 +03:00
Maksim Kita
9ed791fd30
Updated style check
2021-03-09 01:33:16 +03:00
Maksim Kita
642c45d769
PODArray left pad not multiple of element crash fix
2021-03-09 01:32:31 +03:00
Maksim Kita
f9527738c9
Added comments
2021-02-12 12:12:04 +03:00
Maksim Kita
b276eac197
Common types template instantiations
2021-02-12 00:54:50 +03:00
Alexey Milovidov
ab83245b57
Addition to #18526
2021-01-03 18:07:18 +03:00
alexey-milovidov
aff724ea7d
PODArray: Avoid call to memcpy with (nullptr, 0) arguments ( #18526 )
...
* Avoid call to memcpy with nullptr, 0 arguments
* Add assert to PODArray
* Fix build
* Fix build
* Minor fixes for min/sim hash
* Fix build
* Fix build
* Fix build
* Fix error
* Fix "not actually an error"
* Fix build
* Fix build
* Fix build
2021-01-02 17:07:54 +03:00
Alexey Milovidov
8a8e4f8a41
Attempt to speed-up clang build
2020-09-18 21:58:57 +03:00
Alexander Kuzmenkov
d42dbfce98
Do not overallocate when creating PODArray with given size
...
Another part of #12278
2020-08-10 23:36:52 +03:00
alexey-milovidov
8e3f8aa0ab
Merge pull request #13491 from ClickHouse/aku/podarray
...
Avoid overallocation in PODArray assignment
2020-08-09 01:41:47 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Alexander Kuzmenkov
c06210a89a
Avoid overallocation in PODArray assignment
...
Part of #12438
2020-08-07 18:18:32 +03:00
Alexander Kuzmenkov
e7e71b8615
Use the memcpy predicate from 6f8a274ba0
2020-08-06 16:34:23 +03:00
Alexander Kuzmenkov
ead62bc9d7
Remove everything except static_assert for same type
2020-08-05 17:12:41 +03:00
Alexander Kuzmenkov
0d4b8bc226
fixup
2020-08-03 20:22:59 +03:00
Alexander Kuzmenkov
59ed586b69
fixup
2020-08-03 20:15:08 +03:00
Alexander Kuzmenkov
5214621830
[draft] only fix int16->int32 insert in PODArray
2020-07-30 18:20:47 +03:00
Alexey Milovidov
0c237de00d
Fix build
2020-07-15 00:32:14 +03:00
Alexey Milovidov
befbae585b
Revert the only change that should affect performance in gcc
2020-07-12 21:31:17 +03:00
Alexey Milovidov
70aae6eb44
Fix error
2020-07-09 04:21:25 +03:00
Alexey Milovidov
c4e925434a
Fix build
2020-07-08 06:29:54 +03:00
Alexey Milovidov
a6dbe421ac
Fix build
2020-07-08 05:31:29 +03:00
Alexey Milovidov
491bd44955
Improve performance of clang build
2020-07-08 04:41:09 +03:00
Alexey Milovidov
3471e526ff
Improvements in PODArray
2020-07-08 04:26:44 +03:00
Alexey Milovidov
671c544b7d
Improvements in PODArray
2020-07-08 04:24:38 +03:00
Alexey Milovidov
c34f3254f2
Improvements in PODArray
2020-07-08 04:21:39 +03:00
alexey-milovidov
c256682068
Update PODArray.h
2020-06-20 10:45:51 +03:00
alexey-milovidov
2e604726e0
Update PODArray.h
2020-06-20 08:39:52 +03:00
maxim-babenko
c3dbf7d6bf
Fix PODArrayBase::push_back_raw_many
...
1) capacity check must be ready for overflow during memcpy
2) reserve must be called with the new size, not just delta
2020-06-17 19:38:23 +03:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Alexander Kuzmenkov
9d25ae22b5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 09:07:01 +03:00
Alexey Milovidov
55a02c391d
Style
2020-05-26 01:06:02 +03:00