We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 202e1d8 commit 15e587cCopy full SHA for 15e587c
ramcrc32bd.h
@@ -29,6 +29,13 @@ extern "C"
29
struct ramcrc32bd_config {
30
// Size of a codeword in bytes.
31
//
32
+ // Smaller codewords have fewer collisions and we can correct more
33
+ // bit errors:
34
+ //
35
+ // - code_size<=536870907 => 1 bit error correctable
36
+ // - code_size<=371 => 2 bit errors correctable
37
+ // - code_size<=21 => 3 bit errors correctable
38
39
// A crc32 is 4 bytes, so read_size and prog_size = code_size - 4.
40
lfs_size_t code_size;
41
0 commit comments