|
liberasurecode 1.8.0
Erasure Code API library
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "xor_code.h"Go to the source code of this file.
Functions | |
| __attribute__ ((visibility("internal"))) | |
| void | xor_code_encode (xor_code_t *code_desc, char **data, char **parity, int blocksize) |
| int | xor_reconstruct_one (xor_code_t *code_desc, char **data, char **parity, int *missing_idxs, int index_to_reconstruct, int blocksize) |
Variables | |
| static const int | g_bit_lookup [] |
| __attribute__ | ( | (visibility("internal")) | ) |
Definition at line 43 of file xor_code.c.
References g_bit_lookup.
| void xor_code_encode | ( | xor_code_t * | code_desc, |
| char ** | data, | ||
| char ** | parity, | ||
| int | blocksize | ||
| ) |
Definition at line 189 of file xor_code.c.
Referenced by init_xor_hd_code().
| int xor_reconstruct_one | ( | xor_code_t * | code_desc, |
| char ** | data, | ||
| char ** | parity, | ||
| int * | missing_idxs, | ||
| int | index_to_reconstruct, | ||
| int | blocksize | ||
| ) |
Definition at line 257 of file xor_code.c.
Referenced by flat_xor_hd_reconstruct().
|
static |
Definition at line 34 of file xor_code.c.
Referenced by __attribute__().