XOR_CODE.C(3)

๐Ÿ“ฆ
version 1.8.0 ยท 2 versions
, in nixpkgs unstable

โœจ 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