1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

replace header guards with #pragma once

This commit is contained in:
Leonid Fedorov
2021-12-14 20:06:05 +03:00
parent ab449ebcc0
commit 01f3ceb437
638 changed files with 638 additions and 1914 deletions

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL16BLOCK
#define HAVE_COL16BLOCK
#pragma once
unsigned char ___bin_col16block_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -705,4 +704,3 @@ unsigned char ___bin_col16block_cdf[] = {
unsigned int ___bin_col16block_cdf_len = 8192;
constexpr int __col16block_cdf_umin = 2;
constexpr int __col16block_cdf_umax = 511;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL1BLOCK
#define HAVE_COL1BLOCK
#pragma once
unsigned char __col1block_cdf[] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,
0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
@ -705,4 +704,3 @@ unsigned char __col1block_cdf[] = {
unsigned int __col1block_cdf_len = 8192;
constexpr int __col1block_cdf_umin = -126;
constexpr int __col1block_cdf_umax = 127;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL2BLOCK
#define HAVE_COL2BLOCK
#pragma once
unsigned char __col2block_cdf[] = {
0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, 0x04, 0x00, 0x05, 0x00,
0x06, 0x00, 0x07, 0x00, 0x08, 0x00, 0x09, 0x00, 0x0a, 0x00, 0x0b, 0x00,
@ -705,4 +704,3 @@ unsigned char __col2block_cdf[] = {
unsigned int __col2block_cdf_len = 8192;
constexpr int __col2block_cdf_umin = 0;
constexpr int __col2block_cdf_umax = 4095;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL4BLOCK
#define HAVE_COL4BLOCK
#pragma once
unsigned char __col4block_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
@ -705,4 +704,3 @@ unsigned char __col4block_cdf[] = {
unsigned int __col4block_cdf_len = 8192;
constexpr int __col4block_cdf_umin = 0;
constexpr int __col4block_cdf_umax = 2047;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL8BLOCK
#define HAVE_COL8BLOCK
#pragma once
unsigned char ___bin_col8block_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -705,4 +704,3 @@ unsigned char ___bin_col8block_cdf[] = {
unsigned int ___bin_col8block_cdf_len = 8192;
constexpr int __col8block_cdf_umin = 0;
constexpr int __col8block_cdf_umax = 1023;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL_DOUBLE_BLOCK
#define HAVE_COL_DOUBLE_BLOCK
#pragma once
unsigned char ___bin_col_double_block_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x40,
@ -703,5 +702,4 @@ unsigned char ___bin_col_double_block_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x80, 0x40
};
unsigned int ___bin_col_double_block_cdf_len = 8192;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL_FLOAT_BLOCK
#define HAVE_COL_FLOAT_BLOCK
#pragma once
unsigned char ___bin_col_float_block_cdf[] = {
0x00, 0x00, 0xc0, 0x3f, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x20, 0x40,
0x00, 0x00, 0x40, 0x40, 0x00, 0x00, 0x60, 0x40, 0x00, 0x00, 0x80, 0x40,
@ -703,4 +702,3 @@ unsigned char ___bin_col_float_block_cdf[] = {
0x00, 0x10, 0x80, 0x44, 0x00, 0x20, 0x80, 0x44
};
unsigned int ___bin_col_float_block_cdf_len = 8192;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL_NEG_DOUBLE
#define HAVE_COL_NEG_DOUBLE
#pragma once
unsigned char ___bin_col_neg_double_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0xc0, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x24, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0xc0,
@ -703,5 +702,4 @@ unsigned char ___bin_col_neg_double_cdf[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x7f, 0x40
};
unsigned int ___bin_col_neg_double_cdf_len = 8192;
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef HAVE_COL_NEG_FLOAT
#define HAVE_COL_NEG_FLOAT
#pragma once
unsigned char ___bin_col_neg_float_cdf[] = {
0x00, 0x00, 0x28, 0xc1, 0x00, 0x00, 0x20, 0xc1, 0x00, 0x00, 0x18, 0xc1,
0x00, 0x00, 0x10, 0xc1, 0x00, 0x00, 0x08, 0xc1, 0x00, 0x00, 0x00, 0xc1,
@ -703,4 +702,3 @@ unsigned char ___bin_col_neg_float_cdf[] = {
0x00, 0x20, 0x7d, 0x44, 0x00, 0x40, 0x7d, 0x44
};
unsigned int ___bin_col_neg_float_cdf_len = 8192;
#endif