ClickHouse/dbms/src/Common
Alexander Kuzmenkov f3bde19b74 Do not use iterators in find() and emplace() methods of hash tables.
Instead, these methods return a pointer to the required data as they are
stored inside the hash table. The caller uses overloaded functions to
get the key and "mapped" values from this pointer. Such an interface
avoids the need for constructing iterator-like wrapper objects, which is
especially important for compound hash tables such as the future
StringHashMap.
2019-09-24 17:44:35 +03:00
..
Config Make a better build scheme (#6500) 2019-08-28 23:49:37 +03:00
HashTable Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
StringUtils Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
tests Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
ZooKeeper It works! 2019-09-20 20:09:22 +03:00
ActionBlocker.h Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-14 16:04:00 +03:00
ActionLock.cpp Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2 2018-05-21 16:49:54 +03:00
ActionLock.h [WIP] Introduced query_thread_log. [#CLICKHOUSE-2910] 2018-05-31 18:54:08 +03:00
AlignedBuffer.cpp Full support for alignment of aggregate states #2808 2018-09-01 07:39:46 +03:00
AlignedBuffer.h Removed unused code related to MemoryTracker 2019-04-06 01:35:56 +03:00
Allocator.h Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Arena.h Make the quadratic Arena::allocContinue less bad. 2019-09-18 15:04:56 +03:00
ArenaAllocator.h Make the quadratic Arena::allocContinue less bad. 2019-09-18 15:04:56 +03:00
ArenaWithFreeLists.h Build fixes (#6016) 2019-08-04 03:19:03 +03:00
ArrayCache.h dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
assert_cast.h Addition to prev. revision 2019-08-21 05:46:54 +03:00
AutoArray.h Avoid temporary nullptr references [#CLICKHOUSE-2] 2018-09-02 06:00:04 +03:00
BitHelpers.h Fixed UB in maskLowBits 2019-06-19 18:36:34 +03:00
checkStackSize.cpp Merge pull request #7028 from abyss7/issue-6459 2019-09-24 02:20:17 +03:00
checkStackSize.h Added stack protection; added a test 2019-08-10 20:51:47 +03:00
ClickHouseRevision.cpp More correct documentation + miscellaneous name change #3644 2018-11-23 00:27:52 +03:00
ClickHouseRevision.h More correct documentation + miscellaneous name change #3644 2018-11-23 00:27:52 +03:00
CMakeLists.txt Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749) 2018-01-15 22:07:47 +03:00
ColumnsHashing.h Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
ColumnsHashingImpl.h Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
CombinedCardinalityEstimator.h Removed manual memory tracking when appropriate 2019-07-18 23:10:31 +03:00
CompactArray.h Add functions used in arcadia 2019-03-07 19:27:03 +03:00
ConcurrentBoundedQueue.h Preparation for extra warnings [#CLICKHOUSE-2] 2018-08-10 07:02:56 +03:00
config_version.h.in CLICKHOUSE-4387 Add (official build) to version of yandex builds 2019-04-03 17:06:59 +03:00
config.h.in Remove mimalloc 2019-08-28 22:01:52 +03:00
CounterInFile.h fixes after review 2019-08-07 15:55:27 +03:00
COW.h Fixed typo in comment. 2019-04-20 23:25:19 +03:00
CpuId.h Addition to prev. revision 2019-07-08 19:53:49 +03:00
createHardLink.cpp fixes after review 2019-08-07 15:55:27 +03:00
createHardLink.h use hard links to copy columns that didn't change [#CLICKHOUSE-13] 2018-08-30 16:56:43 +03:00
CurrentMetrics.cpp Added a metric for the number of files to send in Distributed tables 2019-08-22 04:30:49 +03:00
CurrentMetrics.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
CurrentThread.cpp Speed up MemoryTracker by function inlining 2019-08-25 01:06:13 +03:00
CurrentThread.h Speed up MemoryTracker by function inlining 2019-08-25 01:06:13 +03:00
DiskSpaceMonitor.cpp Better log messages about disks 2019-09-24 03:45:40 +03:00
DiskSpaceMonitor.h Fix path to data on disk 2019-09-11 20:17:10 +03:00
DNSResolver.cpp Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
DNSResolver.h Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
Dwarf.cpp Disable ELF on Mac OS #6429 2019-08-21 03:48:34 +03:00
Dwarf.h Disable ELF on Mac OS #6429 2019-08-21 03:48:34 +03:00
Elf.cpp Disable ELF on Mac OS #6429 2019-08-21 03:48:34 +03:00
Elf.h Disable ELF on Mac OS #6429 2019-08-21 03:48:34 +03:00
ErrorCodes.cpp merge 2019-09-18 13:13:40 +00:00
escapeForFileName.cpp Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749) 2018-01-15 22:07:47 +03:00
escapeForFileName.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
EventCounter.h Updated PipelineExecutor. 2019-02-15 19:18:25 +03:00
Exception.cpp refactoring 2019-08-14 18:20:52 +03:00
Exception.h fixes after review 2019-08-07 15:55:27 +03:00
FieldVisitors.cpp fix DataTypeAggregateFunction deserialization 2019-09-02 20:09:40 +08:00
FieldVisitors.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
FileChecker.cpp Start writing tests 2019-07-03 19:00:24 +03:00
FileChecker.h Generalize check query 2019-07-03 16:17:19 +03:00
FileUpdatesTracker.h Miscellaneous [#CLICKHOUSE-2]. 2017-12-18 07:17:56 +03:00
formatIPv6.cpp One more fix for PVS-Studio 2019-07-08 03:11:39 +03:00
formatIPv6.h IPv4 and IPv6 Domain implementation. 2019-02-04 12:37:46 +03:00
formatReadable.cpp Fixed error [#CLICKHOUSE-3191]. 2017-08-01 00:39:24 +03:00
formatReadable.h Fixed translation errors; miscellaneous changes [#CLICKHOUSE-3]. 2017-05-10 00:00:19 -04:00
getExecutablePath.cpp Slightly better information messages 2019-08-11 23:37:53 +03:00
getExecutablePath.h Slightly better information messages 2019-08-11 23:37:53 +03:00
getFQDNOrHostName.cpp Update getFQDNOrHostName.cpp 2018-01-24 17:14:21 +03:00
getFQDNOrHostName.h Add copying check and retries. [#CLICKHOUSE-3346] 2018-01-11 21:55:45 +03:00
getMultipleKeysFromConfig.cpp Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749) 2018-01-15 22:07:47 +03:00
getMultipleKeysFromConfig.h Config: Allow multiple dictionaries_config 2017-08-10 06:17:19 +03:00
getNumberOfPhysicalCPUCores.cpp DEVTOOLS-5170 Delete Y_IGNORE markers (#5533) 2019-06-05 14:52:39 +03:00
getNumberOfPhysicalCPUCores.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
hasLinuxCapability.cpp Fixed bad and wrong code #3553 2018-11-14 04:59:32 +03:00
hasLinuxCapability.h Fixed bad and wrong code #3553 2018-11-14 04:59:32 +03:00
hex.cpp Attempt to improve performance [#CLICKHOUSE-3]. 2017-07-23 09:53:28 +03:00
hex.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
HTMLForm.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
HyperLogLogBiasEstimator.h Miscellaneous [#CLICKHOUSE-2]. 2017-12-25 07:01:46 +03:00
HyperLogLogCounter.h Added some warnings from clang's -Weverything 2019-01-05 06:33:22 +03:00
HyperLogLogWithSmallSetOptimization.h Removed manual memory tracking when appropriate 2019-07-18 23:10:31 +03:00
IFactoryWithAliases.h Clang build is too annoying 2019-04-04 09:23:12 +03:00
Increment.h Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-10 04:10:50 -04:00
interpolate.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
InterruptListener.h Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /g' 2019-01-25 02:01:56 +03:00
intExp.h Addition to prev. revision #3926 2018-12-27 03:03:18 +03:00
IPv6ToBinary.cpp fix macos compile 2019-06-20 13:26:19 +03:00
IPv6ToBinary.h Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log 2019-06-15 17:20:32 +03:00
isLocalAddress.cpp Do not save resolved addresses in Connections. [#CLICKHOSUE-2] 2018-05-09 07:55:08 +03:00
isLocalAddress.h Allowed unresolvable addresses in cluster configuration #5714 2019-07-08 04:43:41 +03:00
localBackup.cpp Info about frozen parts in system.parts (#5471) 2019-05-31 07:03:46 +03:00
localBackup.h Info about frozen parts in system.parts (#5471) 2019-05-31 07:03:46 +03:00
LRUCache.h Miscellaneous [#CLICKHOUSE-2] 2019-01-02 09:44:36 +03:00
Macros.cpp fix implicit macros 2018-10-01 12:01:50 +03:00
Macros.h Update Macros.h 2018-10-01 21:45:39 +03:00
memcmpSmall.h Fixed error with non-SIMD implementation of memcmpSmall 2019-07-25 03:28:27 +03:00
memcpySmall.h Better string comparison (development) 2019-03-03 23:08:39 +03:00
MemorySanitizer.h Some MemorySanitizer fixes. 2019-09-13 14:49:29 +03:00
MemoryTracker.cpp allow alloc 4Mb more after out-of-limit exception 2019-07-18 01:48:31 +03:00
MemoryTracker.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
MultiVersion.h Attempt to implemnt global thread pool #4018 2019-01-14 13:59:58 +03:00
NamePrompter.h Typos for many factories 2019-04-03 14:13:22 +03:00
NaNUtils.h one another build fix 2018-08-15 18:29:57 +03:00
NetException.h Don't allow exceptions without code (#3645) 2018-11-23 00:19:58 +03:00
new_delete.cpp Fix osx build 2019-09-21 21:30:01 +03:00
ObjectPool.h Miscellaneous [#CLICKHOUSE-2] 2019-01-02 09:44:36 +03:00
OpenSSLHelpers.cpp Fix non-ssl build. 2019-09-12 04:20:27 +08:00
OpenSSLHelpers.h Fix non-ssl build. 2019-09-12 04:20:27 +08:00
OptimizedRegularExpression.cpp fix crash in OptimizedRegularExpression 2019-08-23 21:40:42 +03:00
OptimizedRegularExpression.h DEVTOOLS-5170 Delete Y_IGNORE markers (#5533) 2019-06-05 14:52:39 +03:00
parseAddress.cpp Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
parseAddress.h Merging [#CLICKHOUSE-3114] 2017-12-28 07:28:05 +03:00
parseGlobs.cpp Improvement 2019-09-04 22:55:56 +03:00
parseGlobs.h wip 2019-08-19 21:12:50 +03:00
parseRemoteDescription.cpp Fix linking in all modes (unbundled, split, ...) (#4037) 2019-01-11 19:52:46 +03:00
parseRemoteDescription.h Fix linking in all modes (unbundled, split, ...) (#4037) 2019-01-11 19:52:46 +03:00
PODArray.cpp left pad 2018-12-24 23:51:06 +08:00
PODArray.h Update PODArray.h 2019-08-08 19:07:58 +03:00
PoolBase.h Miscellaneous [#CLICKHOUSE-2] 2019-01-02 09:44:36 +03:00
PoolWithFailoverBase.h Fix osx build 2019-09-21 21:30:01 +03:00
ProfileEvents.cpp Merge branch 'master' into query_masking 2019-09-03 22:58:15 +03:00
ProfileEvents.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ProfilingScopedRWLock.h Changed Poco::RWLock to std::shared_lock [#APRILDEV-91]. 2017-07-28 20:34:02 +03:00
QueryProfiler.cpp Update QueryProfiler.cpp 2019-09-22 04:53:19 +03:00
QueryProfiler.h Make a better build scheme (#6500) 2019-08-28 23:49:37 +03:00
RadixSort.h Miscellaneous 2019-05-03 01:51:39 +03:00
randomSeed.cpp CLICKHOUSE-3762 Build fixes (#2488) 2018-06-19 21:09:09 +03:00
randomSeed.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
RWLock.cpp Build fixed 2019-09-11 01:21:08 +03:00
RWLock.h Strong exception safety guarantee: 2019-09-10 15:33:45 +03:00
SensitiveDataMasker.cpp Make SensitiveDataMasker a singleton. (#6810) 2019-09-06 20:48:27 +03:00
SensitiveDataMasker.h Changed repository URL 2019-09-23 19:18:19 +03:00
setThreadName.cpp Removed duplicate includes 2019-02-10 20:12:22 +03:00
setThreadName.h Better AsynchronousBlockInputStream in sync mode. [#CLICKHOUSE-2910] 2018-06-01 14:58:17 +03:00
SettingsChanges.h Refactoring of Settings based on new template class SettingsCollection. 2019-04-26 19:11:05 +03:00
SharedBlockRowRef.h limit with ties for processors 2019-08-27 20:48:42 +03:00
SharedLibrary.cpp Added a comment 2019-07-28 17:55:02 +03:00
SharedLibrary.h Always build ODBC bridge as a separate binary #3360 2018-12-14 22:28:37 +03:00
ShellCommand.cpp adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ShellCommand.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
SimpleActionBlocker.h [WIP] Introduced query_thread_log. [#CLICKHOUSE-2910] 2018-05-31 18:54:08 +03:00
SimpleIncrement.h Removed Increment and CounterInFile [#CLICKHOUSE-2]. 2017-05-10 02:50:37 -04:00
SipHash.h Removed duplicate includes 2019-02-10 20:12:22 +03:00
SmallObjectPool.h Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
SpaceSaving.h Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
StackTrace.cpp Fix osx build 2019-09-21 21:30:01 +03:00
StackTrace.h Some fixes for OS X build. 2019-09-13 17:56:26 +03:00
StatusFile.cpp fixes after review 2019-08-07 15:55:27 +03:00
StatusFile.h Squashed #2471 2018-06-05 23:09:51 +03:00
Stopwatch.cpp fixes 2018-08-23 15:20:54 +03:00
Stopwatch.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
StringSearcher.h Implemented hasTokenCaseInsensitive function 2019-08-26 11:00:48 +03:00
StudentTTest.cpp Changes to Benchmark after merge 2019-08-28 03:15:08 +03:00
StudentTTest.h Addition to prev. revision 2019-08-28 03:42:45 +03:00
SymbolIndex.cpp Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
SymbolIndex.h Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
TaskStatsInfoGetter.cpp Useful changes 2019-09-15 13:35:12 +03:00
TaskStatsInfoGetter.h wip 2018-08-22 16:01:50 +03:00
TerminalSize.cpp Merge branch 'perfomance_test_help_size' of github.com:dimarub2000/ClickHouse into perfomance_test_help_size 2019-08-26 19:46:28 +03:00
TerminalSize.h Try to fix 2019-08-26 15:47:19 +03:00
thread_local_rng.cpp Added thread_local_rng 2019-07-28 18:30:38 +03:00
thread_local_rng.h Added thread_local_rng 2019-07-28 18:30:38 +03:00
ThreadPool.cpp Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
ThreadPool.h Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
ThreadProfileEvents.h Enable taskstat accounting for versions >= 3 2019-02-28 21:52:53 +00:00
ThreadStatus.cpp Reverted bad modification 2019-07-26 01:38:59 +03:00
ThreadStatus.h Add "os_thread_ids" column to system tables 2019-09-01 00:47:15 +03:00
Throttler.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
TraceCollector.cpp Fix osx build 2019-09-21 21:30:01 +03:00
TraceCollector.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
typeid_cast.h More reverts 2019-03-15 20:09:14 +03:00
TypeList.h added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998] 2018-01-18 18:50:35 +03:00
TypePromotion.h Namespace comments are unneeded according to the code style. 2019-06-13 13:37:13 +03:00
UInt128.h Merged with master. 2019-08-12 13:19:13 +03:00
UnicodeBar.h Avoid temporary nullptr references [#CLICKHOUSE-2] 2018-09-02 06:00:04 +03:00
UTF8Helpers.cpp Correct wcwidth computation for pretty outputs. 2018-10-02 10:06:18 +08:00
UTF8Helpers.h Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
VariableContext.h Fixed memory tracking. [#CLICKHOUSE-2910] 2018-06-09 18:29:08 +03:00
Visitor.h Fix split shared build; fix build without system odbc libs (#2191) 2018-04-09 06:52:39 -07:00
Volnitsky.h Implemented hasTokenCaseInsensitive function 2019-08-26 11:00:48 +03:00
XDBCBridgeHelper.h Updated test #4246 2019-02-10 19:55:12 +03:00