Tous les codes sources "Mindfuck"page 5
Markup
7 June, 2014 à 11:35
#218
send(to, from, count)
register short *to, *from;
register count;
{
register n = (count + 7) / 8;
switch(count % 8) {
case 0: do { *to = *from++;
case 7: *to = *from++;
case 6: *to = *from++;
case 5: *to = *from++;
case 4: *to = *from++;
case 3: *to = *from++;
case 2: *to = *from++;
case 1: *to = *from++;
} while(--n > 0);
}
}
PHP
3 June, 2014 à 09:22
#213
function isCC($num)
{
$length = strlen($num);
$fuck = 0;
for($i = $length-1; $i>=0; $i--)
{
$digit = substr($num, $i, 1);
if ((($length - $i) % 2) == 0)
{
$digit = $digit * 2;
if ($digit > 9)
$digit = $digit - 9;
}
$fuck += $digit;
}
return (($fuck % 10) == 0);
}
C#
28 May, 2014 à 01:46
#133
string valueTmp = (string)((object[])((object[])((object[])((object[])(attrValues[i]))[j]))[k])[0];