diff --git a/.gitattributes b/.gitattributes index 10a16e6..1c88e69 100644 --- a/.gitattributes +++ b/.gitattributes @@ -40,10 +40,27 @@ *.mov binary # Override what is considered "vendored" by GitHub's linguist: -/deps/** linguist-vendored=false -/lib/node_modules/** linguist-vendored=false linguist-generated=false -test/fixtures/** linguist-vendored=false -tools/** linguist-vendored=false +/lib/node_modules/** -linguist-vendored -linguist-generated -# Override what is considered "documentation" by GitHub's linguist: -examples/** linguist-documentation=false +# Configure directories which should *not* be included in GitHub language statistics: +/deps/** linguist-vendored +/dist/** linguist-generated +/workshops/** linguist-vendored + +benchmark/** linguist-vendored +docs/* linguist-documentation +etc/** linguist-vendored +examples/** linguist-documentation +scripts/** linguist-vendored +test/** linguist-vendored +tools/** linguist-vendored + +# Configure files which should *not* be included in GitHub language statistics: +Makefile linguist-vendored +*.mk linguist-vendored +*.jl linguist-vendored +*.py linguist-vendored +*.R linguist-vendored + +# Configure files which should be included in GitHub language statistics: +docs/types/*.d.ts -linguist-documentation diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0570891..fcfcfa2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -19,6 +19,7 @@ Chinmay Joshi <86140365+JawHawk@users.noreply.github.com> Christopher Dambamuromo Dan Rose Daniel Killenberger +Daniel Yu <40680511+Daniel777y@users.noreply.github.com> Dominik Moritz Dorrin Sotoudeh EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com> diff --git a/benchmark/c/benchmark.length.c b/benchmark/c/benchmark.length.c index d93df58..c31a42d 100644 --- a/benchmark/c/benchmark.length.c +++ b/benchmark/c/benchmark.length.c @@ -16,9 +16,6 @@ * limitations under the License. */ -/** -* Benchmark `dnannsumors`. -*/ #include "stdlib/blas/ext/base/dnannsumors.h" #include #include @@ -35,7 +32,7 @@ /** * Prints the TAP version. */ -void print_version() { +void print_version( void ) { printf( "TAP version 13\n" ); } @@ -74,7 +71,7 @@ void print_results( int iterations, double elapsed ) { * * @return clock time */ -double tic() { +double tic( void ) { struct timeval now; gettimeofday( &now, NULL ); return (double)now.tv_sec + (double)now.tv_usec/1.0e6; @@ -85,7 +82,7 @@ double tic() { * * @return random number */ -double rand_double() { +double rand_double( void ) { int r = rand(); return (double)r / ( (double)RAND_MAX + 1.0 ); } @@ -113,6 +110,7 @@ double benchmark( int iterations, int len ) { } } v = 0.0; + n = 0; t = tic(); for ( i = 0; i < iterations; i++ ) { v = stdlib_strided_dnannsumors( len, x, 1, &n );