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

Method SetUp

publication/source_code/test/test_chimp128.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 alp_bench::UnpackedData* unpacked_data_arr;
32
33 void SetUp() override {
34 dbl_arr = new double[1024];
35 data_arr = new uint8_t[8096];
36 flags_arr = new uint8_t[1025];
37 leading_zero_arr = new uint8_t[1024];
38 dec_arr = new uint64_t[1024];
39 packed_data_arr = new uint16_t[1024];
40 flags = new alp_bench::ChimpConstants::Flags[1025];
41 leading_zero_unpacked = new uint8_t[1024];
42 unpacked_data_arr = new alp_bench::UnpackedData[1024];
43 }
44
45 ~chimp128_test() override {
46 delete[] dbl_arr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected