Skip to content

Commit fabe861

Browse files
committed
Auto-generated commit
1 parent 490cff4 commit fabe861

File tree

199 files changed

+3660
-2121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+3660
-2121
lines changed

.github/workflows/productionize.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "[email protected]"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "[email protected]"
198198
git config --local user.name "stdlib-bot"
@@ -366,8 +366,8 @@ jobs:
366366
# Pin action to full length commit SHA
367367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
368368

369-
# Configure git:
370-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
371371
run: |
372372
git config --local user.email "[email protected]"
373373
git config --local user.name "stdlib-bot"
@@ -539,8 +539,8 @@ jobs:
539539
# Pin action to full length commit SHA
540540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
541541

542-
# Configure git:
543-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
544544
run: |
545545
git config --local user.email "[email protected]"
546546
git config --local user.name "stdlib-bot"
@@ -735,8 +735,8 @@ jobs:
735735
echo "bump=true" >> $GITHUB_OUTPUT
736736
fi
737737
738-
# Configure git:
739-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
740740
if: steps.check-if-bump.outputs.bump
741741
run: |
742742
git config --local user.email "[email protected]"

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "[email protected]"
7979
git config --local user.name "stdlib-bot"
@@ -164,7 +164,7 @@ jobs:
164164
# Publish package to npm:
165165
- name: 'Publish package to npm'
166166
# Pin action to full length commit SHA
167-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
167+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
168168
with:
169169
token: ${{ secrets.NPM_TOKEN }}
170170
access: public

.npmrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

+2,838-1,033
Large diffs are not rendered by default.

CONTRIBUTORS

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <[email protected]>
5151
Naresh Jagadeesan <[email protected]>
5252
NightKnight <[email protected]>
5353
Nithin Katta <[email protected]>
54+
Nourhan Hasan <[email protected]>
5455
Ognjen Jevremović <[email protected]>
5556
Oneday12323 <[email protected]>
5657
Philipp Burckhardt <[email protected]>

base/ccopy/benchmark/c/benchmark.length.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version( void ) {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version( void ) {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -57,7 +57,7 @@ void print_summary( int total, int passing ) {
5757
* @param iterations number of iterations
5858
* @param elapsed elapsed time in seconds
5959
*/
60-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6161
double rate = (double)iterations / elapsed;
6262
printf( " ---\n" );
6363
printf( " iterations: %d\n", iterations );
@@ -71,18 +71,18 @@ void print_results( int iterations, double elapsed ) {
7171
*
7272
* @return clock time
7373
*/
74-
double tic( void ) {
74+
static double tic( void ) {
7575
struct timeval now;
7676
gettimeofday( &now, NULL );
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

8080
/**
81-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8282
*
8383
* @return random number
8484
*/
85-
float rand_float( void ) {
85+
static float rand_float( void ) {
8686
int r = rand();
8787
return (float)r / ( (float)RAND_MAX + 1.0f );
8888
}
@@ -94,7 +94,7 @@ float rand_float( void ) {
9494
* @param len array length
9595
* @return elapsed time in seconds
9696
*/
97-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
9898
double elapsed;
9999
float x[ len*2 ];
100100
float y[ len*2 ];

base/cscal/benchmark/c/benchmark.length.c

+7-10
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `cscal`.
21-
*/
2219
#include "stdlib/blas/base/cscal.h"
2320
#include "stdlib/complex/float32/ctor.h"
2421
#include <stdlib.h>
@@ -36,7 +33,7 @@
3633
/**
3734
* Prints the TAP version.
3835
*/
39-
void print_version( void ) {
36+
static void print_version( void ) {
4037
printf( "TAP version 13\n" );
4138
}
4239

@@ -46,7 +43,7 @@ void print_version( void ) {
4643
* @param total total number of tests
4744
* @param passing total number of passing tests
4845
*/
49-
void print_summary( int total, int passing ) {
46+
static void print_summary( int total, int passing ) {
5047
printf( "#\n" );
5148
printf( "1..%d\n", total ); // TAP plan
5249
printf( "# total %d\n", total );
@@ -61,7 +58,7 @@ void print_summary( int total, int passing ) {
6158
* @param iterations number of iterations
6259
* @param elapsed elapsed time in seconds
6360
*/
64-
void print_results( int iterations, double elapsed ) {
61+
static void print_results( int iterations, double elapsed ) {
6562
double rate = (double)iterations / elapsed;
6663
printf( " ---\n" );
6764
printf( " iterations: %d\n", iterations );
@@ -75,18 +72,18 @@ void print_results( int iterations, double elapsed ) {
7572
*
7673
* @return clock time
7774
*/
78-
double tic( void ) {
75+
static double tic( void ) {
7976
struct timeval now;
8077
gettimeofday( &now, NULL );
8178
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
8279
}
8380

8481
/**
85-
* Generates a random number on the interval [0,1].
82+
* Generates a random number on the interval [0,1).
8683
*
8784
* @return random number
8885
*/
89-
float rand_float( void ) {
86+
static float rand_float( void ) {
9087
int r = rand();
9188
return (float)r / ( (float)RAND_MAX + 1.0f );
9289
}
@@ -98,7 +95,7 @@ float rand_float( void ) {
9895
* @param len array length
9996
* @return elapsed time in seconds
10097
*/
101-
double benchmark( int iterations, int len ) {
98+
static double benchmark( int iterations, int len ) {
10299
stdlib_complex64_t ca;
103100
float cx[ len*2 ];
104101
double elapsed;

base/cscal/benchmark/fortran/benchmark.length.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
! limitations under the License.
1717
!<
1818

19-
!> Benchmark `cscal`.
19+
!> Benchmarks.
2020
!
2121
! ## Notes
2222
!

base/csrot/benchmark/c/benchmark.length.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version( void ) {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version( void ) {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -57,7 +57,7 @@ void print_summary( int total, int passing ) {
5757
* @param iterations number of iterations
5858
* @param elapsed elapsed time in seconds
5959
*/
60-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6161
double rate = (double)iterations / elapsed;
6262
printf( " ---\n" );
6363
printf( " iterations: %d\n", iterations );
@@ -71,18 +71,18 @@ void print_results( int iterations, double elapsed ) {
7171
*
7272
* @return clock time
7373
*/
74-
double tic( void ) {
74+
static double tic( void ) {
7575
struct timeval now;
7676
gettimeofday( &now, NULL );
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

8080
/**
81-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8282
*
8383
* @return random number
8484
*/
85-
float rand_float( void ) {
85+
static float rand_float( void ) {
8686
int r = rand();
8787
return (float)r / ( (float)RAND_MAX + 1.0f );
8888
}
@@ -94,7 +94,7 @@ float rand_float( void ) {
9494
* @param len array length
9595
* @return elapsed time in seconds
9696
*/
97-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
9898
double elapsed;
9999
float x[ len*2 ];
100100
float y[ len*2 ];

base/cswap/benchmark/c/benchmark.length.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version( void ) {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version( void ) {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -57,7 +57,7 @@ void print_summary( int total, int passing ) {
5757
* @param iterations number of iterations
5858
* @param elapsed elapsed time in seconds
5959
*/
60-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6161
double rate = (double)iterations / elapsed;
6262
printf( " ---\n" );
6363
printf( " iterations: %d\n", iterations );
@@ -71,18 +71,18 @@ void print_results( int iterations, double elapsed ) {
7171
*
7272
* @return clock time
7373
*/
74-
double tic( void ) {
74+
static double tic( void ) {
7575
struct timeval now;
7676
gettimeofday( &now, NULL );
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

8080
/**
81-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8282
*
8383
* @return random number
8484
*/
85-
float rand_float( void ) {
85+
static float rand_float( void ) {
8686
int r = rand();
8787
return (float)r / ( (float)RAND_MAX + 1.0f );
8888
}
@@ -94,7 +94,7 @@ float rand_float( void ) {
9494
* @param len array length
9595
* @return elapsed time in seconds
9696
*/
97-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
9898
double elapsed;
9999
float x[ len*2 ];
100100
float y[ len*2 ];

base/dasum/benchmark/c/benchmark.length.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version( void ) {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version( void ) {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -57,7 +57,7 @@ void print_summary( int total, int passing ) {
5757
* @param iterations number of iterations
5858
* @param elapsed elapsed time in seconds
5959
*/
60-
void print_results( int iterations, double elapsed ) {
60+
static void print_results( int iterations, double elapsed ) {
6161
double rate = (double)iterations / elapsed;
6262
printf( " ---\n" );
6363
printf( " iterations: %d\n", iterations );
@@ -71,18 +71,18 @@ void print_results( int iterations, double elapsed ) {
7171
*
7272
* @return clock time
7373
*/
74-
double tic( void ) {
74+
static double tic( void ) {
7575
struct timeval now;
7676
gettimeofday( &now, NULL );
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

8080
/**
81-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8282
*
8383
* @return random number
8484
*/
85-
double rand_double( void ) {
85+
static double rand_double( void ) {
8686
int r = rand();
8787
return (double)r / ( (double)RAND_MAX + 1.0 );
8888
}
@@ -94,7 +94,7 @@ double rand_double( void ) {
9494
* @param len array length
9595
* @return elapsed time in seconds
9696
*/
97-
double benchmark( int iterations, int len ) {
97+
static double benchmark( int iterations, int len ) {
9898
double elapsed;
9999
double x[ len ];
100100
double y;

0 commit comments

Comments
 (0)