Skip to content

Commit 5ca6ce5

Browse files
chore: add all file
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ff63e90 commit 5ca6ce5

File tree

6 files changed

+119
-2
lines changed

6 files changed

+119
-2
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
'use strict';
20+
21+
// MODULES //
22+
23+
var base64ToUint8Array = require( '@stdlib/string/base/base64-to-uint8array' );
24+
25+
26+
// MAIN //
27+
28+
var wasm = base64ToUint8Array( 'AGFzbQEAAAAADwhkeWxpbmsuMAEEAAAAAAEVA2AAAGAEf3x/fwF8YAV/fH9/fwF8Ag8BA2VudgZtZW1vcnkCAAADBAMAAQIHVQMRX193YXNtX2NhbGxfY3RvcnMAABlzdGRsaWJfc3RyaWRlZF9kYXB4c3Vtb3JzAAEhc3RkbGliX3N0cmlkZWRfZGFweHN1bW9yc19uZGFycmF5AAIKhwEDAwABCxwAIAAgASACIANBASAAayADbEEAIANBAEwbEAILZAIBfAF/IABBAEwEQEQAAAAAAAAAAA8LAkAgAwRAA0AgACAGRg0CIAZBAWohBiAFIAEgAiAEQQN0aisDAKCgIQUgAyAEaiEEDAALAAsgASACIARBA3RqKwMAoCAAuKIhBQsgBQs=' );
29+
30+
31+
// EXPORTS //
32+
33+
module.exports = wasm;

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumors/mainfest.json renamed to lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumors/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@
3434
}
3535
]
3636
}
37-

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumors/scripts/build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
/**
24
* @license Apache-2.0
35
*
@@ -24,6 +26,7 @@ var resolve = require( 'path' ).resolve;
2426
var readFile = require( '@stdlib/fs/read-file' ).sync;
2527
var writeFile = require( '@stdlib/fs/write-file' ).sync;
2628
var replace = require( '@stdlib/string/replace' );
29+
var currentYear = require( '@stdlib/time/current-year' );
2730

2831

2932
// VARIABLES //
@@ -37,6 +40,7 @@ var opts = {
3740
};
3841

3942
var PLACEHOLDER = '{{WASM_BASE64}}';
43+
var YEAR = '{{YEAR}}';
4044

4145

4246
// MAIN //
@@ -53,6 +57,7 @@ function main() {
5357
wasm = readFile( wpath );
5458
tmpl = readFile( tpath, opts );
5559

60+
tmpl = replace( tmpl, YEAR, currentYear().toString() );
5661
tmpl = replace( tmpl, PLACEHOLDER, wasm.toString( 'base64' ) );
5762

5863
writeFile( opath, tmpl, opts );

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumors/scripts/template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2025 The Stdlib Authors.
4+
* Copyright (c) {{YEAR}} The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
Binary file not shown.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
(module
2+
(type (;0;) (func))
3+
(type (;1;) (func (param i32 f64 i32 i32) (result f64)))
4+
(type (;2;) (func (param i32 f64 i32 i32 i32) (result f64)))
5+
(import "env" "memory" (memory (;0;) 0))
6+
(func (;0;) (type 0)
7+
nop)
8+
(func (;1;) (type 1) (param i32 f64 i32 i32) (result f64)
9+
local.get 0
10+
local.get 1
11+
local.get 2
12+
local.get 3
13+
i32.const 1
14+
local.get 0
15+
i32.sub
16+
local.get 3
17+
i32.mul
18+
i32.const 0
19+
local.get 3
20+
i32.const 0
21+
i32.le_s
22+
select
23+
call 2)
24+
(func (;2;) (type 2) (param i32 f64 i32 i32 i32) (result f64)
25+
(local f64 i32)
26+
local.get 0
27+
i32.const 0
28+
i32.le_s
29+
if ;; label = @1
30+
f64.const 0x0p+0 (;=0;)
31+
return
32+
end
33+
block ;; label = @1
34+
local.get 3
35+
if ;; label = @2
36+
loop ;; label = @3
37+
local.get 0
38+
local.get 6
39+
i32.eq
40+
br_if 2 (;@1;)
41+
local.get 6
42+
i32.const 1
43+
i32.add
44+
local.set 6
45+
local.get 5
46+
local.get 1
47+
local.get 2
48+
local.get 4
49+
i32.const 3
50+
i32.shl
51+
i32.add
52+
f64.load
53+
f64.add
54+
f64.add
55+
local.set 5
56+
local.get 3
57+
local.get 4
58+
i32.add
59+
local.set 4
60+
br 0 (;@3;)
61+
end
62+
unreachable
63+
end
64+
local.get 1
65+
local.get 2
66+
local.get 4
67+
i32.const 3
68+
i32.shl
69+
i32.add
70+
f64.load
71+
f64.add
72+
local.get 0
73+
f64.convert_i32_u
74+
f64.mul
75+
local.set 5
76+
end
77+
local.get 5)
78+
(export "__wasm_call_ctors" (func 0))
79+
(export "stdlib_strided_dapxsumors" (func 1))
80+
(export "stdlib_strided_dapxsumors_ndarray" (func 2)))

0 commit comments

Comments
 (0)