XOR_CODE.C(3)
โจ xor_code.c(3) โ liberasurecode โจ
okay so bestie, this is the xor_code.c(3) page from liberasurecode ๐
and itโs giving auto-generated Doxygen energy fr fr. Letโs get into it.
๐ NAME ๐
/build/source/src/builtin/xor_codes/xor_code.cโ literally the file this page is about, no cap.
๐ธ SYNOPSIS ๐ธ
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include 'xor_code.h'
๐ ๏ธ 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 []โ the static const int array on this page, bestie.
๐ฅ Function Documentation ๐ฅ
๐ง __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().
๐ Variable Documentation ๐
๐ const int g_bit_lookup[] [static]
Initial value:
= {0x1, 0x2, 0x4, 0x8,
0x10, 0x20, 0x40, 0x80,
0x100, 0x200, 0x400, 0x800,
0x1000, 0x2000, 0x4000, 0x8000,
0x10000, 0x20000, 0x40000, 0x80000,
0x100000, 0x200000, 0x400000, 0x800000,
0x1000000, 0x2000000, 0x4000000, 0x8000000,
0x10000000, 0x20000000, 0x40000000, 0x80000000}
Definition at line 34 of file xor_code.c.
Referenced by __attribute__().
๐ Author ๐
Generated automatically by Doxygen for liberasurecode from the source code.
okay thatโs the whole page, bestie ๐ซถ this was Version 1.8.0, dated Tue Jan 1 1980, and the footer reads 00:0/build/source...es/xor_code.c(3) โ auto-generated for liberasurecode, and we are so done, periodt ๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: liberasurecode 1.8.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms