mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Update copyright year.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright © 2011-2018 Natalia Portillo
|
||||
// Copyright © 2011-2019 Natalia Portillo
|
||||
// Copyright (C) 1996 Phil Karn
|
||||
// Copyright (C) 1995 Robert Morelos-Zaragoza
|
||||
// Copyright (C) 1995 Hari Thirumoorthy
|
||||
@@ -36,7 +36,7 @@
|
||||
/*
|
||||
* Reed-Solomon coding and decoding
|
||||
* Phil Karn (karn at ka9q.ampr.org) September 1996
|
||||
*
|
||||
*
|
||||
* This file is derived from the program "new_rs_erasures.c" by Robert
|
||||
* Morelos-Zaragoza (robert at spectra.eng.hawaii.edu) and Hari Thirumoorthy
|
||||
* (harit at spectra.eng.hawaii.edu), Aug 1995
|
||||
@@ -219,7 +219,7 @@ namespace DiscImageChef.Checksums
|
||||
a(0) + a(1) @ + a(2) @^2 + ... + a(m-1) @^(m-1)
|
||||
we consider the integer "i" whose binary representation with a(0) being LSB
|
||||
and a(m-1) MSB is (a(0),a(1),...,a(m-1)) and locate the entry
|
||||
"index_of[i]". Now, @^index_of[i] is that element whose polynomial
|
||||
"index_of[i]". Now, @^index_of[i] is that element whose polynomial
|
||||
representation is (a(0),a(1),a(2),...,a(m-1)).
|
||||
NOTE:
|
||||
The element alpha_to[2^m-1] = 0 always signifying that the
|
||||
@@ -227,7 +227,7 @@ namespace DiscImageChef.Checksums
|
||||
Similarily, the element index_of[0] = A0 always signifying
|
||||
that the power of alpha which has the polynomial representation
|
||||
(0,0,...,0) is "infinity".
|
||||
|
||||
|
||||
*/
|
||||
void generate_gf()
|
||||
{
|
||||
@@ -360,7 +360,7 @@ namespace DiscImageChef.Checksums
|
||||
*
|
||||
* Return number of symbols corrected, or -1 if codeword is illegal
|
||||
* or uncorrectable.
|
||||
*
|
||||
*
|
||||
* First "no_eras" erasures are declared by the calling program. Then, the
|
||||
* maximum # of errors correctable is t_after_eras = floor((NN-KK-no_eras)/2).
|
||||
* If the number of channel errors is not greater than "t_after_eras" the
|
||||
|
||||
Reference in New Issue
Block a user