Lines Matching refs:parity
1364 public function insertStructuredAppendHeader($size, $index, $parity) argument
1374 $buf = array($size, $index, $parity);
1388 $parity = 0;
1393 $parity ^= $item->data[$i];
1398 return $parity;
2398 public function encode_rs_char($data, &$parity) argument
2412 $parity = array_fill(0, $NROOTS, 0);
2416 $feedback = $INDEX_OF[$data[$i] ^ $parity[0]];
2425 $parity[$j] ^= $ALPHA_TO[$this->modnn($feedback + $GENPOLY[$NROOTS-$j])];
2430 array_shift($parity);
2432 array_push($parity, $ALPHA_TO[$this->modnn($feedback + $GENPOLY[0])]);
2434 array_push($parity, 0);