Searched refs:errorLocator (Results 1 – 2 of 2) sorted by relevance
148 private int[] findErrorLocations(ModulusPoly errorLocator) throws ChecksumException { in findErrorLocations() argument150 int numErrors = errorLocator.getDegree(); in findErrorLocations()154 if (errorLocator.evaluateAt(i) == 0) { in findErrorLocations()166 ModulusPoly errorLocator, in findErrorMagnitudes() argument168 int errorLocatorDegree = errorLocator.getDegree(); in findErrorMagnitudes()175 field.multiply(i, errorLocator.getCoefficient(i)); in findErrorMagnitudes()
159 private int[] findErrorLocations(GenericGFPoly errorLocator) throws ReedSolomonException { in findErrorLocations() argument161 int numErrors = errorLocator.getDegree(); in findErrorLocations()163 return new int[] { errorLocator.getCoefficient(1) }; in findErrorLocations()168 if (errorLocator.evaluateAt(i) == 0) { in findErrorLocations()