Help for this page

Select Code to Download


  1. or download this
    {
        last if $len == 0;  $a+= $k[0];
    ...
        last if $len == 9;  $c+= $k[9]  <<16;
        last if $len == 10; $c+= $k[10] <<24;
    }
    
  2. or download this
    my @targ_shift = (
        [ \$a,  0 ],
    ...
        my ($targ, $shift) = @{$targ_shift[$idx]};
        $$targ += $k[$idx] << $shift;
    }
    
  3. or download this
    {
        my @targ_shift = (
            \$a,  0,
    ...
            $$targ += $k[$_] << $shift;
        }
    }