Skip to content

Commit

Permalink
Port convolve.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Oct 25, 2020
1 parent 3cb56ee commit dfa55b7
Show file tree
Hide file tree
Showing 3 changed files with 640 additions and 3 deletions.
Loading

2 comments on commit dfa55b7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New misspellings found, please review:

  • ele
  • powf
  • slotmap
  • Zeroable
To accept these changes, run the following commands
perl -e '
my @expect_files=qw('".github/actions/spell-check/whitelist/0859c3bf2abc4d7651115c782f331a3c80710361.txt
.github/actions/spell-check/whitelist/1e65a9a670e8cc12661ef255598f4f50bcfec736.txt
.github/actions/spell-check/whitelist/45800a4d7eb5794e95f0c7e33318173eca9399ae.txt
.github/actions/spell-check/whitelist/54b3b066a6b4654f7e7a02e49e56a1b3c1c76c25.txt
.github/actions/spell-check/whitelist/5ae660e58f0dca219d9dd5801aeffa0e4ad6e8fa.txt
.github/actions/spell-check/whitelist/618f622b0f99f2500bd3dc383f7a2cef48b72e76.txt
.github/actions/spell-check/whitelist/6a296fb5e9634a56210e3203f82a4aa8d5687b4b.txt
.github/actions/spell-check/whitelist/b6bfaacf90bc278201634e4a1408d65de5a94c06.txt
.github/actions/spell-check/whitelist/c5b95641888e2ab165141518065246c44002e236.txt
.github/actions/spell-check/whitelist/e4840f3eb751a28d6a885096045c6f437a5e7000.txt
.github/actions/spell-check/whitelist/f27d11d29d5514de97a874a0323133887bb7caba.txt
.github/actions/spell-check/whitelist/whitelist.txt"');
@ARGV=@expect_files;
my @stale=qw('"ansii
 au
 benchmarkee
 binwrite
 bytepp
 bytesize
 castps
 cleanpath
 cmarker
 coderay
 coord
 coverity
 decompressor
 DGif
 dirs
 divisorx
 downcase
 DRB
 drmike
 elsif
 EOI
 eprofile
 eventmachine
 executables
 extname
 falsey
 federico
 ferror
 fileptr
 flowhq
 fsevent
 gdk
 gemspec
 GETJOCTET
 gmail
 gtk
 GUINT
 hexdigest
 HPROFILE
 ifp
 Ilib
 inotify
 insertf
 interposharpen
 iprofile
 JOCTET
 JPOOL
 jruby
 JWRN
 keepalive
 lcs
 leth
 LGPL
 MESSAGEBOX
 Minitest
 mmc
 mtime
 Nailgun
 nathanael
 nathanaeljones
 ncpu
 nokogiri
 objtracker
 obuf
 optparse
 outpng
 outputsize
 pngtopng
 portile
 PRId
 PRIu
 ramdisk
 rcov
 redhat
 REGEXPS
 rspec
 RTEST
 Rubocop
 rubyforge
 rvm
 SDK
 shortname
 Shoulda
 simd
 Sqr
 TESTUNIT
 tmpfs
 toolkits
 voidp
 WIDTHx
 winmgmts
 zedzone
 zlibsettings
 zucchi
 "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^($re)(?:$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spell-check/whitelist/dfa55b76a78f73416aad6f69a30deec1e54d3857.txt";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"ele powf slotmap Zeroable "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
git add .github/actions/spell-check/whitelist || echo '... you want to ensure .github/actions/spell-check/whitelist/dfa55b76a78f73416aad6f69a30deec1e54d3857.txt is added to your repository...'
✏️ Contributor please read this
  • You can probably just add items into .github/actions/spell-check/whitelist/whitelist.txt.
  • If you need to use a specific token in one place and it shouldn't generally be used, you can
    add an item in .github/actions/spell-check/patterns.txt.

⚠️ Reviewers

At present, the action that triggered this message will not show its ❌ in this PR unless the branch is within this repository.
Thus, you should make sure that this comment has been addressed before merging this PR.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New misspellings found, please review:

  • ele
  • powf
  • slotmap
  • Zeroable
To accept these changes, run the following commands
perl -e '
my @expect_files=qw('".github/actions/spell-check/whitelist/0859c3bf2abc4d7651115c782f331a3c80710361.txt
.github/actions/spell-check/whitelist/1e65a9a670e8cc12661ef255598f4f50bcfec736.txt
.github/actions/spell-check/whitelist/45800a4d7eb5794e95f0c7e33318173eca9399ae.txt
.github/actions/spell-check/whitelist/54b3b066a6b4654f7e7a02e49e56a1b3c1c76c25.txt
.github/actions/spell-check/whitelist/5ae660e58f0dca219d9dd5801aeffa0e4ad6e8fa.txt
.github/actions/spell-check/whitelist/618f622b0f99f2500bd3dc383f7a2cef48b72e76.txt
.github/actions/spell-check/whitelist/6a296fb5e9634a56210e3203f82a4aa8d5687b4b.txt
.github/actions/spell-check/whitelist/b6bfaacf90bc278201634e4a1408d65de5a94c06.txt
.github/actions/spell-check/whitelist/c5b95641888e2ab165141518065246c44002e236.txt
.github/actions/spell-check/whitelist/e4840f3eb751a28d6a885096045c6f437a5e7000.txt
.github/actions/spell-check/whitelist/f27d11d29d5514de97a874a0323133887bb7caba.txt
.github/actions/spell-check/whitelist/whitelist.txt"');
@ARGV=@expect_files;
my @stale=qw('"ansii
 au
 benchmarkee
 binwrite
 bytepp
 bytesize
 castps
 cleanpath
 cmarker
 coderay
 coord
 coverity
 decompressor
 DGif
 dirs
 divisorx
 downcase
 DRB
 drmike
 elsif
 EOI
 eprofile
 eventmachine
 executables
 extname
 falsey
 federico
 ferror
 fileptr
 flowhq
 fsevent
 gdk
 gemspec
 GETJOCTET
 gmail
 gtk
 GUINT
 hexdigest
 HPROFILE
 ifp
 Ilib
 inotify
 insertf
 interposharpen
 iprofile
 JOCTET
 JPOOL
 jruby
 JWRN
 keepalive
 lcs
 leth
 LGPL
 MESSAGEBOX
 Minitest
 mmc
 mtime
 Nailgun
 nathanael
 nathanaeljones
 ncpu
 nokogiri
 objtracker
 obuf
 optparse
 outpng
 outputsize
 pngtopng
 portile
 PRId
 PRIu
 ramdisk
 rcov
 redhat
 REGEXPS
 rspec
 RTEST
 Rubocop
 rubyforge
 rvm
 SDK
 shortname
 Shoulda
 simd
 Sqr
 TESTUNIT
 tmpfs
 toolkits
 voidp
 WIDTHx
 winmgmts
 zedzone
 zlibsettings
 zucchi
 "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^($re)(?:$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spell-check/whitelist/dfa55b76a78f73416aad6f69a30deec1e54d3857.txt";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"ele powf slotmap Zeroable "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
git add .github/actions/spell-check/whitelist || echo '... you want to ensure .github/actions/spell-check/whitelist/dfa55b76a78f73416aad6f69a30deec1e54d3857.txt is added to your repository...'
✏️ Contributor please read this
  • You can probably just add items into .github/actions/spell-check/whitelist/whitelist.txt.
  • If you need to use a specific token in one place and it shouldn't generally be used, you can
    add an item in .github/actions/spell-check/patterns.txt.

⚠️ Reviewers

At present, the action that triggered this message will not show its ❌ in this PR unless the branch is within this repository.
Thus, you should make sure that this comment has been addressed before merging this PR.

Please sign in to comment.