MCPcopy Create free account
hub / github.com/codemistic/Web-Development / mask3

Method mask3

text-to-qr/lib/phpqrcode/phpqrcode.php:2563–2563  ·  view source on GitHub ↗
($x, $y)

Source from the content-addressed store, hash-verified

2561 public function mask1($x, $y) { return ($y&1); }
2562 public function mask2($x, $y) { return ($x%3); }
2563 public function mask3($x, $y) { return ($x+$y)%3; }
2564 public function mask4($x, $y) { return (((int)($y/2))+((int)($x/3)))&1; }
2565 public function mask5($x, $y) { return (($x*$y)&1)+($x*$y)%3; }
2566 public function mask6($x, $y) { return ((($x*$y)&1)+($x*$y)%3)&1; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected