-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 20049e5
Showing
41 changed files
with
4,815 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
#/ | ||
# @license Apache-2.0 | ||
# | ||
# Copyright (c) 2017 The Stdlib Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#/ | ||
|
||
# EditorConfig configuration file (see <http://editorconfig.org/>). | ||
|
||
# Indicate that this file is a root-level configuration file: | ||
root = true | ||
|
||
# Set properties for all files: | ||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# Set properties for JavaScript files: | ||
[*.{js,js.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for JavaScript ES module files: | ||
[*.{mjs,mjs.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for JavaScript CommonJS files: | ||
[*.{cjs,cjs.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for JSON files: | ||
[*.{json,json.txt}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `cli_opts.json` files: | ||
[cli_opts.json] | ||
indent_style = tab | ||
|
||
# Set properties for TypeScript files: | ||
[*.ts] | ||
indent_style = tab | ||
|
||
# Set properties for Python files: | ||
[*.{py,py.txt}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Set properties for Julia files: | ||
[*.{jl,jl.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for R files: | ||
[*.{R,R.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for C files: | ||
[*.{c,c.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for C header files: | ||
[*.{h,h.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for C++ files: | ||
[*.{cpp,cpp.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for C++ header files: | ||
[*.{hpp,hpp.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for Fortran files: | ||
[*.{f,f.txt}] | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = false | ||
|
||
# Set properties for shell files: | ||
[*.{sh,sh.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for AWK files: | ||
[*.{awk,awk.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for HTML files: | ||
[*.{html,html.txt}] | ||
indent_style = tab | ||
tab_width = 2 | ||
|
||
# Set properties for XML files: | ||
[*.{xml,xml.txt}] | ||
indent_style = tab | ||
tab_width = 2 | ||
|
||
# Set properties for CSS files: | ||
[*.{css,css.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for Makefiles: | ||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.{mk,mk.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for Markdown files: | ||
[*.{md,md.txt}] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = false | ||
|
||
# Set properties for `usage.txt` files: | ||
[usage.txt] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `repl.txt` files: | ||
[repl.txt] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Set properties for `package.json` files: | ||
[package.{json,json.txt}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `datapackage.json` files: | ||
[datapackage.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `manifest.json` files: | ||
[manifest.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `tslint.json` files: | ||
[tslint.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for `tsconfig.json` files: | ||
[tsconfig.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for LaTeX files: | ||
[*.{tex,tex.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for LaTeX Bibliography files: | ||
[*.{bib,bib.txt}] | ||
indent_style = tab | ||
|
||
# Set properties for YAML files: | ||
[*.{yml,yml.txt}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for GYP files: | ||
[binding.gyp] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.gypi] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Set properties for citation files: | ||
[*.{cff,cff.txt}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#/ | ||
# @license Apache-2.0 | ||
# | ||
# Copyright (c) 2017 The Stdlib Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#/ | ||
|
||
# Configuration file which assigns attributes to pathnames. | ||
# | ||
# [1]: https://git-scm.com/docs/gitattributes | ||
|
||
# Automatically normalize the line endings of any committed text files: | ||
* text=auto | ||
|
||
# Override line endings for certain files on checkout: | ||
*.crlf.csv text eol=crlf | ||
|
||
# Denote that certain files are binary and should not be modified: | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.ico binary | ||
*.gz binary | ||
*.zip binary | ||
*.7z binary | ||
*.mp3 binary | ||
*.mp4 binary | ||
*.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 | ||
|
||
# Override what is considered "documentation" by GitHub's linguist: | ||
examples/** linguist-documentation=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- ----------^ Click "Preview"! --> | ||
|
||
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/strides) of the main repository where we’ll review and provide feedback. | ||
|
||
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib. | ||
|
||
We look forward to receiving your contribution! :smiley: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#/ | ||
# @license Apache-2.0 | ||
# | ||
# Copyright (c) 2021 The Stdlib Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#/ | ||
|
||
# Workflow name: | ||
name: benchmark | ||
|
||
# Workflow triggers: | ||
on: | ||
# Allow the workflow to be manually run: | ||
workflow_dispatch: | ||
|
||
# Workflow jobs: | ||
jobs: | ||
|
||
# Define a job to run benchmarks: | ||
benchmark: | ||
|
||
# Define a display name: | ||
name: 'Run benchmarks' | ||
|
||
# Define the type of virtual host machine: | ||
runs-on: 'ubuntu-latest' | ||
|
||
# Define the sequence of job steps... | ||
steps: | ||
|
||
# Checkout the repository: | ||
- name: 'Checkout repository' | ||
# Pin action to full length commit SHA corresponding to v4.1.0 | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | ||
|
||
# Install Node.js: | ||
- name: 'Install Node.js' | ||
# Pin action to full length commit SHA corresponding to v3.8.1 | ||
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d | ||
with: | ||
node-version: 16 | ||
timeout-minutes: 5 | ||
|
||
# Install dependencies: | ||
- name: 'Install production and development dependencies' | ||
run: | | ||
npm install || npm install || npm install | ||
timeout-minutes: 15 | ||
|
||
# Run benchmarks: | ||
- name: 'Run benchmarks' | ||
run: | | ||
npm run benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#/ | ||
# @license Apache-2.0 | ||
# | ||
# Copyright (c) 2021 The Stdlib Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#/ | ||
|
||
# Workflow name: | ||
name: cancel | ||
|
||
# Workflow triggers: | ||
on: | ||
# Allow the workflow to be manually run: | ||
workflow_dispatch: | ||
|
||
# Workflow jobs: | ||
jobs: | ||
|
||
# Define a job to cancel existing workflow runs: | ||
cancel: | ||
|
||
# Define a display name: | ||
name: 'Cancel workflow runs' | ||
|
||
# Define the type of virtual host machine: | ||
runs-on: 'ubuntu-latest' | ||
|
||
# Time limit: | ||
timeout-minutes: 3 | ||
|
||
# Define the sequence of job steps... | ||
steps: | ||
|
||
# Cancel existing workflow runs: | ||
- name: 'Cancel existing workflow runs' | ||
# Pin action to full length commit SHA corresponding to v0.11.0 | ||
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 | ||
with: | ||
workflow_id: >- | ||
benchmark.yml, | ||
examples.yml, | ||
test.yml, | ||
test_coverage.yml, | ||
test_install.yml, | ||
publish.yml | ||
access_token: ${{ github.token }} |
Oops, something went wrong.