MCPcopy Create free account
hub / github.com/cwida/ALP / SetUp

Method SetUp

publication/source_code/bench_compression_ratio/alp.cpp:139–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 uint8_t bit_width {};
138
139 void SetUp() override {
140 intput_buf = new double[VECTOR_SIZE];
141 exc_arr = new double[VECTOR_SIZE];
142 rd_exc_arr = new uint16_t[VECTOR_SIZE];
143 pos_arr = new uint16_t[VECTOR_SIZE];
144 encoded_buf = new int64_t[VECTOR_SIZE];
145 decoded_buf = new double[VECTOR_SIZE];
146 exc_c_arr = new uint16_t[VECTOR_SIZE];
147 ffor_buf = new int64_t[VECTOR_SIZE];
148 unffor_arr = new int64_t[VECTOR_SIZE];
149 base_buf = new int64_t[VECTOR_SIZE];
150 sample_buf = new double[VECTOR_SIZE];
151 right_buf = new uint64_t[VECTOR_SIZE];
152 left_arr = new uint16_t[VECTOR_SIZE];
153 ffor_right_buf = new uint64_t[VECTOR_SIZE];
154 ffor_left_arr = new uint16_t[VECTOR_SIZE];
155 unffor_right_buf = new uint64_t[VECTOR_SIZE];
156 unffor_left_arr = new uint16_t[VECTOR_SIZE];
157 glue_buf = new double[VECTOR_SIZE];
158 }
159
160 ~alp_test() override {
161 delete[] intput_buf;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected