/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { 119 int n_sub_blocks, sub_block_size; 121 if (n_sub_blocks <= 1) { 123 n_sub_blocks = 1; 134 *n_sub_blocks_ret = n_sub_blocks; 243 if (n_sub_blocks == 1) { 252 if (T > n_sub_blocks) 253 T = n_sub_blocks; 346 if (n_sub_blocks == 1) { 351 if (T > n_sub_blocks) [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/serialize/ |
H A D | sub_block.cc | 75 sub_block_header_size(int n_sub_blocks) { in sub_block_header_size() argument 119 int n_sub_blocks, sub_block_size; in choose_sub_block_size() local 121 if (n_sub_blocks <= 1) { in choose_sub_block_size() 123 n_sub_blocks = 1; in choose_sub_block_size() 134 *n_sub_blocks_ret = n_sub_blocks; in choose_sub_block_size() 243 if (n_sub_blocks == 1) { in compress_all_sub_blocks() 252 if (T > n_sub_blocks) in compress_all_sub_blocks() 253 T = n_sub_blocks; in compress_all_sub_blocks() 346 if (n_sub_blocks == 1) { in decompress_all_sub_blocks() 351 if (T > n_sub_blocks) in decompress_all_sub_blocks() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
H A D | subblock-test-index.cc | 54 const int n_sub_blocks = max_sub_blocks; in test_sub_block_index() local 55 struct sub_block sub_block[n_sub_blocks]; in test_sub_block_index() 58 for (int i = 0 ; i < n_sub_blocks; i++) { in test_sub_block_index() 70 for (int i = 0; i < n_sub_blocks; i++) { in test_sub_block_index() 81 r = get_sub_block_index(n_sub_blocks, sub_block, offset); in test_sub_block_index() 84 assert(0 <= r && r < n_sub_blocks); in test_sub_block_index() 88 r = get_sub_block_index(n_sub_blocks, sub_block, max_offset); in test_sub_block_index()
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); 78 struct sub_block sub_blocks[n_sub_blocks]; 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/tests/ |
H A D | subblock-test-checksum.cc | 72 int sub_block_size, n_sub_blocks; in test_sub_block_checksum() local 73 r = choose_sub_block_size(total_size, my_max_sub_blocks, &sub_block_size, &n_sub_blocks); in test_sub_block_checksum() 76 printf("%s:%d %d %d\n", __FUNCTION__, __LINE__, sub_block_size, n_sub_blocks); in test_sub_block_checksum() 78 struct sub_block sub_blocks[n_sub_blocks]; in test_sub_block_checksum() 79 set_all_sub_block_sizes(total_size, sub_block_size, n_sub_blocks, sub_blocks); in test_sub_block_checksum() 81 size_t cbuf_size_bound = get_sum_compressed_size_bound(n_sub_blocks, sub_blocks, method); in test_sub_block_checksum() 85 …size_t cbuf_size = compress_all_sub_blocks(n_sub_blocks, sub_blocks, (char*)buf, (char*)cbuf, n_co… in test_sub_block_checksum() 91 for (int xidx = 0; xidx < n_sub_blocks; xidx++) { in test_sub_block_checksum() 95 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() 101 …r = decompress_all_sub_blocks(n_sub_blocks, sub_blocks, (unsigned char*)cbuf, (unsigned char*)ubuf… in test_sub_block_checksum() [all …]
|