From d8c74763f9441f035106040dddfec73d8e64d122 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 4 Nov 2021 14:00:19 +0800 Subject: [PATCH] more --- source/dnode/vnode/tsdb/inc/tsdbIdx.h | 27 +++++++++++++++++++++++++++ source/dnode/vnode/tsdb/inc/tsdbSMA.h | 27 +++++++++++++++++++++++++++ source/dnode/vnode/tsdb/src/tsdbIdx.c | 14 ++++++++++++++ source/dnode/vnode/tsdb/src/tsdbSMA.c | 14 ++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 source/dnode/vnode/tsdb/inc/tsdbIdx.h create mode 100644 source/dnode/vnode/tsdb/inc/tsdbSMA.h create mode 100644 source/dnode/vnode/tsdb/src/tsdbIdx.c create mode 100644 source/dnode/vnode/tsdb/src/tsdbSMA.c diff --git a/source/dnode/vnode/tsdb/inc/tsdbIdx.h b/source/dnode/vnode/tsdb/inc/tsdbIdx.h new file mode 100644 index 0000000000..73b2c5e6c5 --- /dev/null +++ b/source/dnode/vnode/tsdb/inc/tsdbIdx.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef _TD_TSDB_IDX_H_ +#define _TD_TSDB_IDX_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_TSDB_IDX_H_*/ \ No newline at end of file diff --git a/source/dnode/vnode/tsdb/inc/tsdbSMA.h b/source/dnode/vnode/tsdb/inc/tsdbSMA.h new file mode 100644 index 0000000000..800a276bc8 --- /dev/null +++ b/source/dnode/vnode/tsdb/inc/tsdbSMA.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef _TD_TSDB_SMA_H_ +#define _TD_TSDB_SMA_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_TSDB_SMA_H_*/ \ No newline at end of file diff --git a/source/dnode/vnode/tsdb/src/tsdbIdx.c b/source/dnode/vnode/tsdb/src/tsdbIdx.c new file mode 100644 index 0000000000..6dea4a4e57 --- /dev/null +++ b/source/dnode/vnode/tsdb/src/tsdbIdx.c @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ \ No newline at end of file diff --git a/source/dnode/vnode/tsdb/src/tsdbSMA.c b/source/dnode/vnode/tsdb/src/tsdbSMA.c new file mode 100644 index 0000000000..6dea4a4e57 --- /dev/null +++ b/source/dnode/vnode/tsdb/src/tsdbSMA.c @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ \ No newline at end of file