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

Method mask6

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

Source from the content-addressed store, hash-verified

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; }
2568
2569 //----------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected