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

Method mask0

text-to-qr/lib/phpqrcode/phpqrcode.php:2560–2560  ·  view source on GitHub ↗

----------------------------------------------------------------------

($x, $y)

Source from the content-addressed store, hash-verified

2558
2559 //----------------------------------------------------------------------
2560 public function mask0($x, $y) { return ($x+$y)&1; }
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; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected