Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
22fc4b90
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
22fc4b90
编写于
7月 08, 2021
作者:
T
tickduan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
function not found error
上级
3bc41ac8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1 addition
and
8 deletion
+1
-8
deps/SZ/sz/include/Huffman.h
deps/SZ/sz/include/Huffman.h
+0
-4
deps/SZ/sz/src/TightDataPointStorageF.c
deps/SZ/sz/src/TightDataPointStorageF.c
+1
-4
未找到文件。
deps/SZ/sz/include/Huffman.h
浏览文件 @
22fc4b90
...
@@ -51,7 +51,6 @@ void init_static(HuffmanTree *huffmanTree, int *s, size_t length);
...
@@ -51,7 +51,6 @@ void init_static(HuffmanTree *huffmanTree, int *s, size_t length);
void
encode
(
HuffmanTree
*
huffmanTree
,
int
*
s
,
size_t
length
,
unsigned
char
*
out
,
size_t
*
outSize
);
void
encode
(
HuffmanTree
*
huffmanTree
,
int
*
s
,
size_t
length
,
unsigned
char
*
out
,
size_t
*
outSize
);
void
decode
(
unsigned
char
*
s
,
size_t
targetLength
,
node
t
,
int
*
out
);
void
decode
(
unsigned
char
*
s
,
size_t
targetLength
,
node
t
,
int
*
out
);
void
decode_MSST19
(
unsigned
char
*
s
,
size_t
targetLength
,
node
t
,
int
*
out
,
int
maxBits
);
void
pad_tree_uchar
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
L
,
unsigned
char
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
pad_tree_uchar
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
L
,
unsigned
char
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
pad_tree_ushort
(
HuffmanTree
*
huffmanTree
,
unsigned
short
*
L
,
unsigned
short
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
pad_tree_ushort
(
HuffmanTree
*
huffmanTree
,
unsigned
short
*
L
,
unsigned
short
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
...
@@ -61,11 +60,8 @@ void unpad_tree_uchar(HuffmanTree* huffmanTree, unsigned char* L, unsigned char*
...
@@ -61,11 +60,8 @@ void unpad_tree_uchar(HuffmanTree* huffmanTree, unsigned char* L, unsigned char*
void
unpad_tree_ushort
(
HuffmanTree
*
huffmanTree
,
unsigned
short
*
L
,
unsigned
short
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
unpad_tree_ushort
(
HuffmanTree
*
huffmanTree
,
unsigned
short
*
L
,
unsigned
short
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
unpad_tree_uint
(
HuffmanTree
*
huffmanTree
,
unsigned
int
*
L
,
unsigned
int
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
void
unpad_tree_uint
(
HuffmanTree
*
huffmanTree
,
unsigned
int
*
L
,
unsigned
int
*
R
,
unsigned
int
*
C
,
unsigned
char
*
t
,
unsigned
int
i
,
node
root
);
node
reconstruct_HuffTree_from_bytes_anyStates
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
bytes
,
int
nodeCount
);
node
reconstruct_HuffTree_from_bytes_anyStates
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
bytes
,
int
nodeCount
);
void
encode_withTree
(
HuffmanTree
*
huffmanTree
,
int
*
s
,
size_t
length
,
unsigned
char
**
out
,
size_t
*
outSize
);
void
encode_withTree
(
HuffmanTree
*
huffmanTree
,
int
*
s
,
size_t
length
,
unsigned
char
**
out
,
size_t
*
outSize
);
int
encode_withTree_MSST19
(
HuffmanTree
*
huffmanTree
,
int
*
s
,
size_t
length
,
unsigned
char
**
out
,
size_t
*
outSize
);
void
decode_withTree
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
s
,
size_t
targetLength
,
int
*
out
);
void
decode_withTree
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
s
,
size_t
targetLength
,
int
*
out
);
void
decode_withTree_MSST19
(
HuffmanTree
*
huffmanTree
,
unsigned
char
*
s
,
size_t
targetLength
,
int
*
out
,
int
maxBits
);
void
SZ_ReleaseHuffman
(
HuffmanTree
*
huffmanTree
);
void
SZ_ReleaseHuffman
(
HuffmanTree
*
huffmanTree
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
deps/SZ/sz/src/TightDataPointStorageF.c
浏览文件 @
22fc4b90
...
@@ -178,10 +178,7 @@ void new_TightDataPointStorageF(TightDataPointStorageF **this,
...
@@ -178,10 +178,7 @@ void new_TightDataPointStorageF(TightDataPointStorageF **this,
// encode type with huffMan
// encode type with huffMan
int
stateNum
=
2
*
intervals
;
int
stateNum
=
2
*
intervals
;
HuffmanTree
*
huffmanTree
=
createHuffmanTree
(
stateNum
);
HuffmanTree
*
huffmanTree
=
createHuffmanTree
(
stateNum
);
if
(
confparams_cpr
->
errorBoundMode
==
PW_REL
&&
confparams_cpr
->
accelerate_pw_rel_compression
)
encode_withTree
(
huffmanTree
,
type
,
dataSeriesLength
,
&
(
*
this
)
->
typeArray
,
&
(
*
this
)
->
typeArray_size
);
(
*
this
)
->
max_bits
=
encode_withTree_MSST19
(
huffmanTree
,
type
,
dataSeriesLength
,
&
(
*
this
)
->
typeArray
,
&
(
*
this
)
->
typeArray_size
);
else
encode_withTree
(
huffmanTree
,
type
,
dataSeriesLength
,
&
(
*
this
)
->
typeArray
,
&
(
*
this
)
->
typeArray_size
);
SZ_ReleaseHuffman
(
huffmanTree
);
SZ_ReleaseHuffman
(
huffmanTree
);
(
*
this
)
->
exactMidBytes
=
exactMidBytes
;
(
*
this
)
->
exactMidBytes
=
exactMidBytes
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录