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

Method mask4

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

Source from the content-addressed store, hash-verified

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; }
2567 public function mask7($x, $y) { return ((($x*$y)%3)+(($x+$y)&1))&1; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected