Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 7 of 7) sorted by relevance

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php1088 [$parity[4][0] ^ $rotated[1][0], $parity[4][1] ^ $rotated[1][1]],
1089 [$parity[0][0] ^ $rotated[2][0], $parity[0][1] ^ $rotated[2][1]],
1090 [$parity[1][0] ^ $rotated[3][0], $parity[1][1] ^ $rotated[3][1]],
1091 [$parity[2][0] ^ $rotated[4][0], $parity[2][1] ^ $rotated[4][1]],
1092 [$parity[3][0] ^ $rotated[0][0], $parity[3][1] ^ $rotated[0][1]]
1267 $parity = [];
1272 $parity[4] ^ static::rotateLeft64($parity[1], 1),
1273 $parity[0] ^ static::rotateLeft64($parity[2], 1),
1274 $parity[1] ^ static::rotateLeft64($parity[3], 1),
1275 $parity[2] ^ static::rotateLeft64($parity[4], 1),
[all …]
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
H A DQRcode.php1667 * @param $parity (int)
1670 protected function insertStructuredAppendHeader($items, $size, $index, $parity) { argument
1677 $buf = array($size, $index, $parity);
1686 * @return int parity
1689 $parity = 0;
1693 $parity ^= $item['data'][$i];
1697 return $parity;
2659 * @return array Array of RS values:<ul><li>mm = Bits per symbol;</li><li>nn = Symbols per block;</li><li>alpha_to = log lookup table array;</li><li>index_of = Antilog lookup table array;</li><li>genpoly = Generator polynomial array;</li><li>nroots = Number of generator;</li><li>roots = number of parity symbols;</li><li>fcr = First consecutive root, index form;</li><li>prim = Primitive element, index form;</li><li>iprim = prim-th root of 1, index form;</li><li>pad = Padding bytes in shortened block;</li><li>gfpoly</ul>.
2700 * @return array Array of RS values:<ul><li>mm = Bits per symbol;</li><li>nn = Symbols per block;</li><li>alpha_to = log lookup table array;</li><li>index_of = Antilog lookup table array;</li><li>genpoly = Generator polynomial array;</li><li>nroots = Number of generator;</li><li>roots = number of parity symbols;</li><li>fcr = First consecutive root, index form;</li><li>prim = Primitive element, index form;</li><li>iprim = prim-th root of 1, index form;</li><li>pad = Padding bytes in shortened block;</li><li>gfpoly</ul>.
2780 * Encode a Reed-Solomon codec and returns the parity arra
2786 encode_rs_char($rs, $data, $parity) global() argument
[all...]
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dcollections.js684 var parity = _.groupBy([1, 2, 3, 4, 5, 6], function(num){ return num % 2; });
685 assert.ok('0' in parity && '1' in parity, 'created a group for each value');
686 assert.deepEqual(parity[0], [2, 4, 6], 'put each even number in the right group');
721 var parity = _.indexBy([1, 2, 3, 4, 5], function(num){ return num % 2 === 0; });
722 assert.equal(parity['true'], 4);
723 assert.equal(parity['false'], 5);
739 var parity = _.countBy([1, 2, 3, 4, 5], function(num){ return num % 2 === 0; });
740 assert.equal(parity['true'], 2);
741 assert.equal(parity['false'], 3);
/plugin/qrcode2/
H A Dphpqrcode.php1364 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]];
2430 array_shift($parity);
2432 array_push($parity, $ALPHA_TO[$this->modnn($feedback + $GENPOLY[0])]);
[all …]
/plugin/adfs/phpsaml/extlib/xmlseclibs/
H A Dxmlseclibs.php222 $parity = 1;
224 $parity ^= ($byte >> $j) & 1;
226 $byte |= $parity;
/plugin/pdfjs/pdfjs/web/
H A Dviewer.js11217 var parity = this._spreadMode - 1;
11225 } else if (_i % 2 === parity) {
H A Dviewer.js.map1parity","spread","firstPageView","intent","annotations","dontFlip","AnnotationLayer","MAX_CANVAS_P…