mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Remove useless files
This commit is contained in:
parent
3fb5b247ed
commit
e02de2355e
@ -54,9 +54,6 @@ if (GLIBC_COMPATIBILITY)
|
||||
|
||||
message (STATUS "Some symbols from glibc will be replaced for compatibility")
|
||||
|
||||
if (ENABLE_TESTS)
|
||||
add_subdirectory (tests)
|
||||
endif ()
|
||||
elseif (YANDEX_OFFICIAL_BUILD)
|
||||
message (WARNING "Option GLIBC_COMPATIBILITY must be turned on for production builds.")
|
||||
endif ()
|
||||
|
@ -1,2 +0,0 @@
|
||||
add_executable(memcpy_test memcpy_test.cpp)
|
||||
target_link_libraries(memcpy_test common memcpy)
|
@ -1,26 +0,0 @@
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
#include <memcpy.h>
|
||||
|
||||
__attribute__((__noinline__)) void memcpy_noinline(void * __restrict dst, const void * __restrict src, size_t size)
|
||||
{
|
||||
memcpy(dst, src, size);
|
||||
}
|
||||
|
||||
|
||||
int main(int, char **)
|
||||
{
|
||||
constexpr size_t buf_size = 100;
|
||||
char buf[buf_size]{};
|
||||
memcpy_noinline(buf, "abc", 3);
|
||||
|
||||
size_t bytes_to_copy = 3;
|
||||
while (bytes_to_copy * 2 < buf_size)
|
||||
{
|
||||
memcpy_noinline(&buf[bytes_to_copy], buf, bytes_to_copy);
|
||||
bytes_to_copy *= 2;
|
||||
}
|
||||
|
||||
std::cerr << buf << "\n";
|
||||
return 0;
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#include "FastMemcpy.h"
|
||||
|
||||
extern "C" void * memcpy(void * __restrict destination, const void * __restrict source, size_t size)
|
||||
{
|
||||
return memcpy_fast(destination, source, size);
|
||||
}
|
Loading…
Reference in New Issue
Block a user